Forum     

Go Back   Digit Technology Discussion Forum > News > Technology News
Register FAQ Calendar Mark Forums Read

Technology News News from the world of technology that our members stumble across. NOTE: Sources to be mentioned at the beginning of each post.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-02-2007, 08:59 PM   #1 (permalink)
Alpha Geek
 
hailgautam's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 763
Default Lock Your Drives and Folders Using Registry Tweaks


Source: Tech Buzz

I think it should be there somewhere on the forum, I searched but could not find it. I am sorry if it is repeted and Please delete.


Lock Your Drives and Folders Using Registry Tweaks

There are plenty of software which locks drives and folder to protect your confidential data. Why waste money on such tools when you can do it with a simple registry tweak? Here’s how:
Caution: Before you attempt these tweaks, please make sure that you have a backup of your registry, just incase something goes wrong in the middle.
Locking Folders:
  • Consider you want to lock a folder named XXXX in your E:\, whose path is E:\XXXX.
  • Now open the Notepad and type the following
Quote:
ren xxxx xxxx.{21EC2020-3AEA-1069-A2DD-08002B30309D}
  • Where xxxx is your folder name. Save the text file as loc.bat in the same drive.
  • Open another new notepad text file and type the following
Quote:
ren xxxx.{21EC2020-3AEA-1069-A2DD-08002B30309D} xxxx
  • Save the text file as key.bat in the same drive.
Steps to lock the folder:
  • To lock the xxxx folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
  • To unlock the folder click the key.bat file. Thus the folder will be unlocked and the contents are accessible.
Locking Drives:

We don’t usually prefer to lock our drives, but sometimes it becomes nesscary. Say for instance you might have stored your office documents in D:\ and you don’t want your kids to access it, in such case this technique can be useful for you. Please don’t try this tweak with your root drive (usually C:\ is the root drive) since root drives are not intended to be locked because they are mandatory for the system and application programs.
  • Start & Run and type Regedit to open Registry editor
  • Browse HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
  • Create a new DWORD value NoViewOnDrive and set its value as
2^ (Alpha Number of Drive Letter-1) where Alpha number are simple counting of alphabets from A to Z as 1 - 26
For example: to lock C:\, Alpha number of C is 3 so 2^ (3-1) = 4 (decimal value)
  • To lock more drives, calculate the value of each drive and then set sum of those numbers as value
  • To unlock your drive just delete the key from the registry.
Hat Tip by anilmail17 and wizrulz.
__________________
Change is Nature, the part that we can influence; and it starts when we decide.

Where you going?
With Luck forward.
hailgautam is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-02-2007, 09:36 PM   #2 (permalink)
Wise Old Owl
 
Tech Geek's Avatar
 
Join Date: Sep 2006
Location: Cyber Hell
Posts: 1,602
Default Re: Lock Your Drives and Folders Using Registry Tweaks

Thanks
Some of them had been given by Vishal also
__________________
Behind every good computer... is a jumble of wires 'n stuff
Tech Geek is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Sarath
- by Charan
- by gforz

Advertisement




All times are GMT +5.5. The time now is 12:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2