Skip to content

Commit

Permalink
Version 2.2.1 (2022-06-03)
Browse files Browse the repository at this point in the history
- see change log
  • Loading branch information
DavidGeeraerts committed Jun 3, 2022
1 parent 6c7adc0 commit a984110
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@

---

## Version 2.2.1 (2022-06-03)
#### Fixed
- Bitlocker check

---


## Version 2.2.0 (2022-06-03)
#### Added
- Bitlocker check and unlocker
Expand All @@ -27,9 +34,6 @@
- Windows APPX package for local admin stoping sysprep


---


## Version 2.1.0 (2022-02-11)
#### Added
- APX package remove for default user
Expand Down
6 changes: 3 additions & 3 deletions module_system_SysPrep.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
@echo Off
SETLOCAL Enableextensions
SET $SCRIPT_NAME=module_system_SysPrep
SET $SCRIPT_VERSION=2.2.0
SET $SCRIPT_BUILD=20220603 1030
SET $SCRIPT_VERSION=2.2.1
SET $SCRIPT_BUILD=20220603 1500
Title %$SCRIPT_NAME% Version: %$SCRIPT_VERSION%
mode con:cols=70
mode con:lines=40
Expand Down Expand Up @@ -561,7 +561,7 @@ REM This would need to be a scheduled task to run as an administrator
FIND /I "Percentage Encrypted:" "%$VD%\Bitlocker.txt" > "%$VD%\Bitlocker_E.txt"
FIND /I "Protection Status:" "%$VD%\Bitlocker.txt" > "%$VD%\Bitlocker_Status.txt"
SET $BITLOCKER=0
FIND /I "Percentage Encrypted: 0.0%" "%$VD%\Bitlocker_E.txt" 2>nul || SET $BITLOCKER=1
FIND /I "Percentage Encrypted: 0.0" "%$VD%\Bitlocker_E.txt" 2>nul || SET $BITLOCKER=1
FIND /I "Protection On" "%$VD%\Bitlocker_Status.txt" && SET $BITLOCKER=1
FIND /I "Encryption in Progress" "%$VD%\Bitlocker.txt" 2>nul && SET $BITLOCKER=1
IF %$BITLOCKER% EQU 0 GoTo skipBLS
Expand Down

0 comments on commit a984110

Please sign in to comment.