Saturday, October 4, 2008

Locking your files in windows ::

Locking your files in windows ::

to secure ur folders u don't need any s/w in windows Xp and win 2000.Just follow the trick.

1) create a folder in any drive (here D:/)

abc --> (ur files)

2)here in "D:/" create two batch files "lock.bat", "unlock.bat". write the following code in it.

In lock.bat
ren abc abc.{0000031D-0000-0000-C000-00000000004 6}

In unlock.bat
ren abc.{0000031D-0000-0000-C000-00000000004 6} abc

4) place ur personal files inside it. And now press lock.bat in D:, now try opening it. Bingo i think u got it. To unlock click unlock.bat.

** u can change "abc" to ur folder name (say personal..).
u can other keys to rename like,


I found some trouble in some systems. This technique is not working there. So there is another way to secure folder contents.

Here use the following keys instead of given above.

{20D04FE0-3AEA-1069-A2D8-08002B30309D} - Turned to Explorer
{0DF44EAA-FF21-4412-828E-260A8728E7F1} - turned to start menu properties
{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF} - Turned to Folder Options
{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Turned to Network Connections
{D20EA4E1-3957-11d2-A40B-0C5020524152} - Turned to Fonts Folder
{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Turned to Schedule tasks
{E211B736-43FD-11D1-9EFB-0000F8757FCD} - Turned to Scanners & camera

{645FF040-5081-101B-9F08-00AA002F954E} - Turned to Recycle bin

{2227A280-3AEA-1069-A2DE-08002B30309D} - Turned to Printers Folder

I actually use this technique for my programming things to open specified folders. But i found it is possible to secure our personal files using this technique.

So enjoy.

Don't ask me hw to write batch files...

To Experts
Well by using this method 1 can lock files in folder, but those can be deleted. Is there any way to secure even form deleting. I am working on it but never succeeded.

No comments: