Add Lock Drive to Context Menu of BitLocker Drives in Windows 10  

Page 2 of 2 FirstFirst 12
  1. Brink's Avatar
    Posts : 59,531
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    Welcome to Ten Forums Brian.
      My Computers


  2. Posts : 2
    win 10
       #11

    Script question


    What is with all the SIG lines in there and how would anyone know what to put in there
      My Computer

  3. Brink's Avatar
    Posts : 59,531
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #12

    b0yw0nder said:
    What is with all the SIG lines in there and how would anyone know what to put in there
    Hello b0yw0nder,

    The SIG lines in the .vbs script is the embedded code from the site's digital signature.

    Add Lock Drive to Context Menu of BitLocker Drives in Windows 10-digital_signature.png
      My Computers


  4. Posts : 2
    win 10
       #13

    Script question


    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?
      My Computer

  5. Brink's Avatar
    Posts : 59,531
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #14

    b0yw0nder said:
    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?
    I'm not aware of a way to have this script bypass UAC.
      My Computers


  6. Posts : 1
    Windows 11
       #15

    Lock Drive to Context Menu of BitLocker Drives Invalid_Namespace error


    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
      My Computer

  7. Brink's Avatar
    Posts : 59,531
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #16

    zweizucker said:
    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
    Hello ZweiZucker, and welcome to Ten Forums.

    Thank you for sharing your solution.
      My Computers



  8. Posts : 1
    Windows 10 Pro
       #17

    Batch File Installer


    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
      My Computer


  9. Posts : 6
    Windows 11
       #18

    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?
      My Computer

  10. Brink's Avatar
    Posts : 59,531
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #19

    alienquake said:
    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?
    Hello mate,

    I'll be happy to look into it to see what I can come up with when able. A bit under the weather and foggy headed right now.
      My Computers


 
Page 2 of 2 FirstFirst 12

Tutorial Categories

Add Lock Drive to Context Menu of BitLocker Drives in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:35.
Find Us




Windows 10 Forums