| Windows 7: Password protected folders without programs? |
13 Jan 2010
|
#1 | | |
Password protected folders without programs? Back in Windows XP, there was a trick to make a folder totally inacessible. It was a bat file with comands that would change the name of the folder to some special name, which would make the folder inacessible, and not localizable through "Find (F3)". The code of this bat was the following: Code: Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End There's some flaws in that method: the person could enable seeing the hidden folders and extensions, and just remove the code at the end of the folder, to make it accessible. Or the person could check the bat file for the password, but this could be resolved by compiling the bat file to an exe. Anyway it's nice for hidding files from casual computer users.
Well, the fact is that it doesn't work in Vista or 7. Is there any other "special name" that could be replaced by that one, in order to make it work on Windows 7? | My System Specs |
| OS Windows 7 CPU Core 2 Duo E7500 2993MHz Motherboard Asus P5KPL-AM/BR Memory 2GB DDR2 800MHz Graphics Card Geforce 9800GT Sound Card VIA VT1708B CE Integrated Monitor(s) Displays SyncMaster 592v 15" PSU Generic Case Generic Cooling Generic Hard Drives 500GB SATA |
13 Jan 2010
|
#2 | | Windows 7 Home Premium SP1, clean install, upgrade disc CT |
Try this. Go to folder right click...properties...security...permissions. You could give permission only to yourself. This does not work of course if others are using your account. In that case set up separate accounts. | My System Specs | | System Manufacturer/Model Number Dell XPS 420 OS Windows 7 Home Premium SP1, clean install, upgrade disc CPU Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech Motherboard Dell Memory 6 gb Graphics Card ATI Radeon 256MB HD3650 Sound Card Intergrated 7.1 Channel Audio Monitor(s) Displays Dell SP2009W 20" Keyboard Dell USB Keyboard Mouse Dell Premium Optical USB Cooling Fan Hard Drives 640 GB Serial ATA Hard drive Internet Speed DSL 2.85 |
13 Jan 2010
|
#3 | | |

Quote: Originally Posted by richc46 Try this. Go to folder right click...properties...security...permissions. You could give permission only to yourself. This does not work of course if others are using your account. In that case set up separate accounts. Nah, I meant protecting it even from the actual user. The problem is: sometimes there's some friends here, and I leave my user logged in for them, since all the games, programs and stuff are already configured here. But those mother****ers insist to search for my porn files when I'm not looking. I would like to prevent this by password locking the folder. | My System Specs | | OS Windows 7 CPU Core 2 Duo E7500 2993MHz Motherboard Asus P5KPL-AM/BR Memory 2GB DDR2 800MHz Graphics Card Geforce 9800GT Sound Card VIA VT1708B CE Integrated Monitor(s) Displays SyncMaster 592v 15" PSU Generic Case Generic Cooling Generic Hard Drives 500GB SATA |
13 Jan 2010
|
#4 | | Windows 7 Home Premium SP1, clean install, upgrade disc CT |

Quote: Originally Posted by andexls 
Quote: Originally Posted by richc46 Try this. Go to folder right click...properties...security...permissions. You could give permission only to yourself. This does not work of course if others are using your account. In that case set up separate accounts. Nah, I meant protecting it even from the actual user. The problem is: sometimes there's some friends here, and I leave my user logged in for them, since all the games, programs and stuff are already configured here. But those mother****ers insist to search for my porn files when I'm not looking. I would like to prevent this by password locking the folder. In lieu of a better way, you can open another account and put all your private files in that account. Give permission only to the second account. | My System Specs | | System Manufacturer/Model Number Dell XPS 420 OS Windows 7 Home Premium SP1, clean install, upgrade disc CPU Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech Motherboard Dell Memory 6 gb Graphics Card ATI Radeon 256MB HD3650 Sound Card Intergrated 7.1 Channel Audio Monitor(s) Displays Dell SP2009W 20" Keyboard Dell USB Keyboard Mouse Dell Premium Optical USB Cooling Fan Hard Drives 640 GB Serial ATA Hard drive Internet Speed DSL 2.85 |
13 Jan 2010
|
#5 | | windows seven somewhere, just not sure where. |

Quote: Originally Posted by richc46 
Quote: Originally Posted by andexls 
Quote: Originally Posted by richc46 Try this. Go to folder right click...properties...security...permissions. You could give permission only to yourself. This does not work of course if others are using your account. In that case set up separate accounts. Nah, I meant protecting it even from the actual user. The problem is: sometimes there's some friends here, and I leave my user logged in for them, since all the games, programs and stuff are already configured here. But those mother****ers insist to search for my porn files when I'm not looking. I would like to prevent this by password locking the folder. In lieu of a better way, you can open another account and put all your private files in that account. Give permission only to the second account. make sure that you password that account. | My System Specs | | |
13 Jan 2010
|
#6 | | Win 8 Release candidate 8400 |
Or Just encrypt the folder. Keeps prying eyes out completely see PGP | My System Specs | | System Manufacturer/Model Number HP Pavillion dv-7 1005 Tx OS Win 8 Release candidate 8400 CPU 2@2.4 Memory 4 gigs Graphics Card Nvidia 9600M Sound Card HD built-in Monitor(s) Displays 17" Wxga Screen Resolution 1440x900 Cooling none Internet Speed 45Mb down 5Mb up |
13 Jan 2010
|
#7 | | Windows 7 Home Premium SP1, clean install, upgrade disc CT |

Quote: Originally Posted by zigzag3143 Or Just encrypt the folder. Keeps prying eyes out completely see PGP Yes, much easier way, if you have an edition of Win 7, higher than Home Premium. If you do, I, too suggest encryption. You paid extra for that feature. | My System Specs | | System Manufacturer/Model Number Dell XPS 420 OS Windows 7 Home Premium SP1, clean install, upgrade disc CPU Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech Motherboard Dell Memory 6 gb Graphics Card ATI Radeon 256MB HD3650 Sound Card Intergrated 7.1 Channel Audio Monitor(s) Displays Dell SP2009W 20" Keyboard Dell USB Keyboard Mouse Dell Premium Optical USB Cooling Fan Hard Drives 640 GB Serial ATA Hard drive Internet Speed DSL 2.85 |
13 Jan 2010
|
#8 | | Windows 7 Ultimate x64 SP1 Philadelphia, PA |
Even if you don't have a higher version, you could always use something like TrueCrypt. | My System Specs | | OS Windows 7 Ultimate x64 SP1 CPU Intel Core i7-2600 Motherboard Gigabyte GA-P67A-UD3P-B3 Memory 12 GB Patriot Extreme DDR3-1333 Graphics Card Nvidia GTX 470 Monitor(s) Displays Dell UltraSharp 2209WA PSU OCZ ModStream 700W Case CoolerMaster HAF 912 Advanced Cooling CoolerMaster Hyper 212 Plus Hard Drives OCZ Agility3 240 GB, WD5001AALS, WD7501AALS |
13 Jan 2010
|
#9 | | |
I didn't want to encrypt the folder, just wanted to password protect it.
Anyway, I just found a nice and simple program to do it: Folder Protector.
Thanks for your help! | My System Specs | | OS Windows 7 CPU Core 2 Duo E7500 2993MHz Motherboard Asus P5KPL-AM/BR Memory 2GB DDR2 800MHz Graphics Card Geforce 9800GT Sound Card VIA VT1708B CE Integrated Monitor(s) Displays SyncMaster 592v 15" PSU Generic Case Generic Cooling Generic Hard Drives 500GB SATA |
13 Jan 2010
|
#10 | | Windows 7 Home Premium SP1, clean install, upgrade disc CT |
Sorry we could not be more help; happy that you did find a solution. | My System Specs | | System Manufacturer/Model Number Dell XPS 420 OS Windows 7 Home Premium SP1, clean install, upgrade disc CPU Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech Motherboard Dell Memory 6 gb Graphics Card ATI Radeon 256MB HD3650 Sound Card Intergrated 7.1 Channel Audio Monitor(s) Displays Dell SP2009W 20" Keyboard Dell USB Keyboard Mouse Dell Premium Optical USB Cooling Fan Hard Drives 640 GB Serial ATA Hard drive Internet Speed DSL 2.85 Password protected folders without programs? problems? All times are GMT -5. The time now is 04:31 AM. | |