Sunday 21 July 2013

Bit Locker - Relock Option


Are you tired of Restarting your system ? ? ?
In windows 7 there is an option called "Bit Locker" to Encrypt your Confidential files.
But the worst thing is that Windows 7 doesnot provide you the relock option.
Once if u might hav open ur encrypted Drive, U hav no option to relock it.
To relock the encrypted drive u hav to restart ur system.
But this is not possible for u to restart every time.

Here is the trick to create a relock option :

> Open notepad
> Copy the code below, paste it in the notepad

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\relock-bde]
"AppliesTo"="(System.Volume.BitLockerProtection:=1 OR 

System.Volume.BitLockerProtection:=3 OR System.Volume.BitLockerProtection:=5)"
@="Relock drive..."
"HasLUAShield"=""
"MultiSelectModel"="Single"

[HKEY_CLASSES_ROOT\Drive\shell\relock-bde\command]
@=hex(2):77,00,73,00,63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,\
  00,6d,00,61,00,6e,00,61,00,67,00,65,00,2d,00,62,00,64,00,65,00,2d,00,6c,00,\
  6f,00,63,00,6b,00,2e,00,76,00,62,00,73,00,20,00,25,00,31,00,00,00 


> Save it as     relock_bde.reg

> Double click on the "relock_bde.reg" to add the information into the registry.

> Open another notepad, copy and paste the following code

Args = ""
Last = Wscript.Arguments.Count - 1
For i = 0 To Last
 Args = Args & " " & Wscript.Arguments.Item(i)
Next
Args = Replace(Args,":\",":")
CreateObject("Shell.Application").ShellExecute "manage-bde.exe", "-lock -forcedismount " & 

Args, "", "runas", 1


> Save it as       manage-bde-lock.vbs
> Then copy this "manage-bde-lock.vbs" file to     C:\windows\system32
> Tats it .... U r done !!!

Now when u right click on ur encrypted drive, u'll b able to see 1) Manage Bitlocker and 2) Relock Drive.
                                                                                               

1 comment:

  1. Nice article but it seems to be difficult for beginners

    ReplyDelete

Total Pageviews

Pages

Translate

Social Icons

Followers

Popular Posts

Featured Posts