dirty fix

This commit is contained in:
USER
2024-02-08 14:12:50 +00:00
parent 275c2a78d8
commit 1cbda4cd36
3 changed files with 5 additions and 0 deletions

View File

@ -6,3 +6,5 @@ Get-Content C:\Scripts\Secrets\unlock.txt | Where-Object {$_.length -gt 0} | Whe
$SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force
Unlock-BitLocker -MountPoint "E:" -Password $SecureString
#### in unlock.txt put below
###mystring=xxxxx

View File

@ -6,3 +6,5 @@ Get-Content C:\Scripts\Secrets\unlockusb.txt | Where-Object {$_.length -gt 0} |
$SecureString = ConvertTo-SecureString $mystring -AsPlainText -Force
Unlock-BitLocker -MountPoint "Z:" -Password $SecureString
#### in unlockucb.txt put below
### mystring=xxxxx

View File

@ -3,6 +3,7 @@ call C:\Scripts\wLocal\localENV.bat
@REM xxxxxxx
echo "%~n0: Start"
call C:\Scripts\wLocal\bin\l_UnlockUSB.bat
if exist Z:\LocalBackups\ (
echo "Backup disk found"
call C:\Scripts\wLocal\bin\l_UnlockUSB.bat