New
#10
Welcome to Ten Forums Brian.
What is with all the SIG lines in there and how would anyone know what to put in there
ty very much for your prompt reply.. I removed it and ran the script and it works fine. but ill re-add it now that i know. btw is it possible to make it so it bypasses uac somehow?
Hi Brink!
Recently I upgraded from Windows 10 to Windows 11 which gave me a problem with your script (working just fine with Windows 10 thanks). I don't know if it's Windows 11 related but I solved my problem by
re-registering the BitLocker WMI class (win32_encryptablevolume) with this command:
mofcomp.exe c: \ windows \ system32 \ wbem \ win32_encryptablevolume.mof
I just wanted to let you know if anyone else encounters the same error (Invalid_Namespace).
Many thanks Brink for this shortcut, I can't do without it :)
ZweiZucker
I wrote a simple batch file to "install" this. It requests UAC admin privilages, copies the VBS file to system32, and imports the REG file to the registry.
Code:@echo off cd /D "%~dp0" echo Requesting Admin.. Net session >nul 2>&1 || (PowerShell start -verb runas '%~0' &exit /b) echo Admin Enabled.. echo Copying lock-bde.vbs to c:\windows\system32.. copy lock-bde.vbs c:\windows\system32 echo Importing Add_lock-bde.reg to Windows Registry regedit.exe /S Add_lock-bde.reg echo All Done! echo. pause
Hello Shawn,
Windows 11 require a new way to add 'user/custom right-click menus to the explorer:
Extending the Context Menu and Share Dialog in Windows 11 - Windows Developer Blog
Right now, the user needs to go to the extra sub-menu "Show More Options" in order to lock the drive. Can you please update this so the command will be available at the top-level explorer right-click menu?