files on the office system or at Friends pc, then you must lock that
folder. I know many software's that most people use to lock their
Personal files. But this trick is the safest and locks files or folders
without use of any software's.
Suppose you want to lock the folder data in c: which has the
path C:\data.
USING BATCH FILE ::-
In the same drive create a text file and type
ren data data.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as loc.bat
Create another text file and type in it
ren data.{21EC2020-3AEA-1069-A2DD-08002B30309D} data
Now save this text file as key.bat
Now you can see 2 batch files loc and key. Press loc and the folder
movies will change to control panel and you cannot view its contents.
Press key and you will get back your original folder.
try it out!!!!!!!
Note: It is safe as in case if you loose the key file, you can create it
again but the folder name must be correct.
Note:You must not lock folders like My Documents,My Pictures....and all System folders and Program folders.
You can use following Hex codes to change the icon to something other than the control panel. Here are the keys to do so:
{20D04FE0-3AEA-1069-A2D8-08002B30309D} - Explorer
{0DF44EAA-FF21-4412-828E-260A8728E7F1} - Start menu properties
{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF} - Folder Options
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Connections
{D20EA4E1-3957-11d2-A40B-0C5020524152} - Fonts Folder
{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Shedule tasks
{E211B736-43FD-11D1-9EFB-0000F8757FCD} - Scanners & camera
{645FF040-5081-101B-9F08-00AA002F954E} - Recycle bin
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers Folder
{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Neighbourhood
{D20EA4E1-3957-11d2-A40B-0C5020524153} - Administration Tools
{BDEADF00-C265-11D0-BCED-00A0C90AB50F} - Web Folders
{450D8FBA-AD25-11D0-98A8-0800361B1103} - My Documents
{208D2C60-3AEA-1069-A2D7-08002B30309D} - Network Favorites
{871C5380-42A0-1069-A2EA-08002B30309D} - Default Navigator
{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA} - Computer search results folder
{E17D4FC0-5564-11D1-83F2-00A0C90DC849} - Network Search Results computer
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers and telecopiers
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Connections
{D20EA4E1-3957-11d2-A40B-0C5020524152} - Fonts Folder
{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Shedule tasks
{E211B736-43FD-11D1-9EFB-0000F8757FCD} - Scanners & camera
{645FF040-5081-101B-9F08-00AA002F954E} - Recycle bin
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers Folder
{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Neighbourhood
{D20EA4E1-3957-11d2-A40B-0C5020524153} - Administration Tools
{BDEADF00-C265-11D0-BCED-00A0C90AB50F} - Web Folders
{450D8FBA-AD25-11D0-98A8-0800361B1103} - My Documents
{208D2C60-3AEA-1069-A2D7-08002B30309D} - Network Favorites
{871C5380-42A0-1069-A2EA-08002B30309D} - Default Navigator
{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA} - Computer search results folder
{E17D4FC0-5564-11D1-83F2-00A0C90DC849} - Network Search Results computer
{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers and telecopiers
USING REGISTRY TWEAKS ::-
Here i will explain how to lock a drives. Generally everyone don’t usually prefer to lock their drives, but sometimes it becomes nesscary. Say for instance you might have stored your important documents in D:\ and you don’t want others to access them, 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.
1. Go to Start & Run and type Regedit to open Registry editor.
2. Browse to HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
3. Now 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)
4. To lock more drives , calculate the value of each drive and then set sum of those numbers as value.
5. To unlock your drive just delete the key from the registry.
Note: Dont lock your drive where your Operating System resides.
USING COMMAND PROMPT ::
1. Go to Start,Run and then type CMD to open Command Prompt window.
2. In the command prompt, go to the drive where your folder is present. For example, i want to hide some folder called Data which is present in C:/Data . Go to C:/ .
3. Now type the command attrib Data +s +h and press ENTER. Here 'Data' is the folder name. Now the entire folder is hidden.
4. To unhide the folder, simply type attrib Data -s -h and press ENTER.
You can apply this method for both files and folders. You have to remember the folder or file name and its location. Since there is no other method to find hidden folder or file. So note down and keep it in a safe place.
Note: You may find some issues with this method.
ENJOY!!!!!!!!!!!!!!!!!!!!!!!!!!!
No comments:
Post a Comment