Created
May 14, 2015 14:17
-
-
Save KingBain/77f081a09be2840a14ec to your computer and use it in GitHub Desktop.
Refactor my VB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
status = sysDrive.EnableKeyProtectors() | |
if status <> 0 then | |
logger.LogError(now & " " & sysDrive.DeviceID & " Unable to resume bitlocker. Error: " & hex(status)) | |
else | |
shell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\"&cicRegistryFolderName&"\"®istryFolder&"\WhenBitlockerPaused" | |
logger.Log(now & " Bitlocker has been resumed") | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment