|
| |||||||||
| Tags: drive, folder, inaccessible, lock, registry, user, windows xp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Lock your folder or drive using registry
I am using Windows XP and I want to know the steps to lock my drives or folders using registry. I know there are many software but I don't want to use that. Using registry I want to make my folder or drive inaccessible to other users. Is there any setting in registry to lock the folder? |
|
#2
| ||||
| ||||
| Re: Lock your folder or drive using registry
There are steps to lock your folder- 1 Consider a folder that you want to lock named XXXX in your D:\, whose path is D:\XXXX. 2 Open the Notepad and type the following- Code: ren xxxx xxxx.{21EC2020-3AEA-1069-A2DD-08002B30309D} 4 Open another new notepad text file and type the following Code: ren xxxx.{21EC2020-3AEA-1069-A2DD-08002B30309D} xxxx 6 Click the loc.bat to lock xxxx folder and it will transform into control panel icon which is inaccessible. 7 To unlock the folder click the key.bat file. Thus the folder will be unlocked and the contents are accessible. Last edited by Devasis : 24-11-2009 at 07:54 PM. |
|
#3
| ||||
| ||||
| Re: Lock your folder or drive using registry
To lock your drive follow this steps- 1 Click on Start > Run and type Regedit to open Registry editor 2 Naviagte HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer 3 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: If you want to lock D:\, Alpha number of D is 4 so 2^ (4-1) = 8 (decimal value) 4 To unlock your drive just delete the key from the registry. |
|
#4
| ||||
| ||||
| Re: Lock your folder or drive using registry
To make your drives inaccessible for user, use following steps- 1 Click on start> go to run and type regedit to open registry editor. 2 Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer 3 Assign this values to specified field- System Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Value Name: NoViewOnDrive Data Type: REG_DWORD (DWORD Value) Value Data: 32-bit bitmask Drives: All Drives=67108863 A=1 B=2 C=4 D=8 E=16 F=32 G=64 H=128 I=256 J=512 K=1024 |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Lock your folder or drive using registry" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Folder Lock Without Any Software | Rohit Kasle (RK) | Tips & Tweaks | 5 | 24-07-2011 04:26 AM |
| Registry Setting for Lock on Screen Saver | Colin | Windows x64 Edition | 4 | 19-08-2010 12:06 AM |
| Folder Lock Without Any Software | JoeFrat | Tips & Tweaks | 5 | 10-01-2010 10:22 PM |
| Folder lock problem | Rishab Raheja(RR) | Windows Software | 3 | 04-09-2009 03:52 PM |
| Take Ownership of a file, folder, registry key, or drive in Windows Vista | Snake08 | Guides & Tutorials | 0 | 17-03-2009 08:10 PM |