Giter Site home page Giter Site logo

dleidert / bde-lock Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 224 KB

Create a drive context menu entry to lock an unlocked BitLocker encrypted drive

Home Page: https://dleidert.github.io/bde-lock/

License: The Unlicense

Visual Basic 7.61% NSIS 79.96% YAML 12.42%
windows windows-10 windows10 bitlocker bitlocker-drive-encryption windows8 windows-8 windows8-1 windows-8-1 bitlocker-lock bitlocker-drive-lock windows7 windows-7 registry installer nsis nsis-installer vbscript github-pages windows-registry

bde-lock's Introduction

English | Deutsch

Simple installer to create a drive context menu function to lock an unlocked bitlocker encrypted drive in Windows

current bde-lock version current bde-lock release date bde-lock project license GitHub top language for bde-lock build status on appveyor.com build status on travis-ci.org download count on github.com

About the project

The installer copies a script to the programs folder and creates the registry key (including sub-keys) in HKCR/Drive/shell/lock-bde. The latter basically adds the context menu entry if you right-click on an unlocked drive. For the lock function to work, the Windows program manage-bde.exe needs to be called with elevated rights and it needs to be given the drive letter. Because it is not possible to achieve both things by calling the program from the registry, the (short) script is necessary, which strips the trailing backslash from the drive path (e.g. D:\ becomes D:) and requests the elevated rights.

The installer is localized, supporting German and English at the moment. Adding new languages is very easy. Just download/copy the file en.nsh, rename it, open it in a text editor, translate the strings and send the file to me.

Download

Download the latest installer and execute it.

Installation

Go to your download folder and execute the latest installer. Because it creates the drive context menu via registry keys in HKCR, the installation requires elevated permissions, so it cannot be installed as a user.

Uninstallation

Go to the Windows Control Panel > Programs > Uninstall a program. There you will find it as Bitlocker Drive Locker - Explorer Context Menu Entry (or its localized string). Select Uninstall and all created registry keys and folders will be removed.

Source

The complete source is assembled from text files and is human readable. It basically consists of the main NSIS installer script file including the translations, some documentation and the wrapper script for manage-bde.exe.

The installer can be created by downloading and installing the latest Nullsoft Scriptable Install System (NSIS) and using it to compile bdelock.nsi.

Even without knowing the detailed NSIS or VBscript syntax, you should be able to understand the source files.

Credits

Special credits go to Shawn Brink, who published this howto including a vbscript.

More resources ... There are more resources to look at. The most popular ones are probably

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.