Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: did anyone know about this? locking folders

10 Oct 2010   #1
pacinitaly

windows 7 professional & ultimate 64bit laptops
 
 
did anyone know about this? locking folders

1.Right click on any blank space on your desktop.
2.Click New.
3.Click Folder.
4.Name the folder safe.
5.Open your Notepad, copy and paste this code into it:
ren safe safe.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} and save it with .bat extension. Ex. key.bat Save such a file on the desktop.
6.Double click the key.bat and the folder and its content will be permanently locked!



7.To unlock the folder, create another .bat file or delete the content of the key.bat file and paste this other code:
ren safe.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} safe and click it.
8.Done!


Carmine


My System SpecsSystem Spec
.
10 Oct 2010   #2
Dinesh

Windows® 8 Pro (64-bit)
 
 

Wow, that's excellent. I will try it on my home pc. Work PC doesn't allow right click on desktop.
My System SpecsSystem Spec
10 Oct 2010   #3
youllbelost

Dual Booting Windows 7 64-Bit Ultimate Edition and Fedora 16.
 
 

Yeah! this changed the icon to a lock one. But,
How is it locked, I can read and write from and to the folder?
My System SpecsSystem Spec
.

10 Oct 2010   #4
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.
My System SpecsSystem Spec
10 Oct 2010   #5
1337

Microsoft Windows 7 Ultimate (x64) Build 7601
 
 

Lovely method. Bookmark'd this page! Thanks!
My System SpecsSystem Spec
10 Oct 2010   #6
youllbelost

Dual Booting Windows 7 64-Bit Ultimate Edition and Fedora 16.
 
 

Quote   Quote: Originally Posted by Bill2 View Post
If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.
Thumbs Up!
My System SpecsSystem Spec
10 Oct 2010   #7
pacinitaly

windows 7 professional & ultimate 64bit laptops
 
 

Quote   Quote: Originally Posted by Bill2 View Post
This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.


the .bat files ( of course ) are in a different location


how do you compile the batch into an exe ??? sounds cool
My System SpecsSystem Spec
10 Oct 2010   #8
Dinesh

Windows® 8 Pro (64-bit)
 
 

Quote   Quote: Originally Posted by pacinitaly View Post
Quote   Quote: Originally Posted by Bill2 View Post
This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.


the .bat files ( of course ) are in a different location


how do you compile the batch into an exe ??? sounds cool
http://sysadmingeek.com/articles/convert-a-batch-bat-script-to-an-executable-exe-file/
My System SpecsSystem Spec
10 Oct 2010   #9
pacinitaly

windows 7 professional & ultimate 64bit laptops
 
 

Thanks Dinesh.
My System SpecsSystem Spec
10 Oct 2010   #10
Dinesh

Windows® 8 Pro (64-bit)
 
 

Quote   Quote: Originally Posted by pacinitaly View Post
Thanks Dinesh.
You're welcome.
My System SpecsSystem Spec
Reply

 did anyone know about this? locking folders




Thread Tools




Similar help and support threads
Thread Forum
w7 locking
why does windows 7 ultimate x64 (not sure if other versions have this issue) lock files after they are deleted thus making overwriting impossible for what seems to be a huge amount of time until system decides its ok to stop being a worthless piece of? is there seriously anyway to fix this?...
General Discussion
How to stop Windows 7 locking shared media folders
Hello again from a really infrequent poster. I hope you folks can help me out a little with this problem/puzzle however. I stream media to my Xbox 360 from an External Hard Drive using Windows Media Player 12. This works faultlessly. However recently I went to stay with a friend for a few...
Media Center
W7 is locking shared sub folders/items
Hey there guys, I've tried numerous search variables to no avail to help myself without wasting space with another thread so here goes. I've used the W7 x64 RC7100 release since May and have had great success with sharing items on my network. Recently I updated myself to the Retail version of...
Network & Sharing
Locking up
Guys I need help I just finished a new build of W7 on a AMD platform with ASUS CROSSHAIR VI with 1090T when I run WEI and get to the Direct3D 10 Alpha Blend Assessment it locks up the system is at stock setting please help...
Software
Locking Folders
how can i like put a password on a folder so that only you can access with a password?
General Discussion
Locking up
i have installed an upgrade of window 7 from xp. all works fine until i have the computer on overnight and then i try to start up the system out of energy conserve mode(black screen). i get the circle going around and around but never gets out of this mode. any ideas?
BSOD Help and Support


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 15:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App