View Full Version : Lock folder without any software+using password
woeijing83
12-27-2007, 05:17 PM
Many people have been asking for an alternative way to lock folders without the use of any software. So, here you go.
1. Open Notepad and copy the below code
2. Change your password in the code it's shown the place where to type your password.
3. Save file as locker.bat .
4. Now double click on locker .bat
5. I t will create folder with Locker automatically for u. After creation of the Locker folder, place the contents u want to lock inside the Locker Folder and run locker.bat again .
************************************************
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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%== type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
I got it from a forum. i think is lowyat. Anyway i hope this will help people who needs to hide something. :):wakuwaku:
kelesis
12-31-2007, 02:09 AM
This doesnt lock anything. It just creates a folder and makes it hidden and gives it system status. Anyone can still search for stuff inside it easily.
Hamael
01-05-2008, 06:33 AM
you can use winrar and set a password and encrypt the file names and everything so the only way to know whats inside and extract it is by using the password you have set for it.
Colino
01-05-2008, 07:35 PM
who doesn't have winrar or winzip anyways? I can't get the use of this since it simply hides the folder..
daniel2
01-05-2008, 11:17 PM
I think you should just get some software that does it for you.. or simply, if you have multiple user accounts on your computer and you have administrator privileges then you can set the permissions for other users and turn off "read" meaning when they open the folder it simply says "access is denied" so they cant even see whats in the folder.
rurushu
04-01-2008, 01:33 PM
Well, i think there's no way to "physically" lock folder without any software/ passwords. If this really can be done, then why do software firms develop such applications? I think the best way to hide your folder is to use the appropriate software that does the job for you, for security's sake.
ZERO_ice
04-01-2008, 01:48 PM
You can lock a file to only be viewed with a certain user use privileges right click->properties->sharing: check box at make this folder private. & there's also a sneaky way of making folders invisible: you set the folders icon to nothing and type 255 from your notepad while holding down alt (while holding alt your computer recognises as you were writing in ASCII, 255 is ASCII for nothing)
mupenkers35
09-13-2008, 12:29 PM
this is just my opinion for hide my private files...THIS IS FOR MS ONLY
if u want other people not to know where u hide ur private things jusst hidden it...
ur pc have it all...dont waste ur time DL a locked folder software or something like that...just play with registry
for example i place my stuff at D:\for fun so all u need to do is right click at the folder n select Hidden
second go to menu Tools\Folder Options\View at the kist u'll see Hidden Files and Folder choose Do not show hidden files and folders after that click ok
then go to Start menu open menu RUN, type regedit to open a registry folder then OK,now registry folder will open up
go to HKEY_LOKAL_MACHINE>SOFTWARE>MICROSOFT>WINDOWS>EXPLORER>ADVANCED>FOLDER>HIDDEN
after u click HIDDEN folder right click TYPE and choose modify and the final thing u do is delete the group word itself...
and with that no one could ever see ur hidden folder unless u type the group itself back...
fadillzzz
09-13-2008, 05:36 PM
Many people have been asking for an alternative way to lock folders without the use of any software. So, here you go.
1. Open Notepad and copy the below code
2. Change your password in the code it's shown the place where to type your password.
3. Save file as locker.bat .
4. Now double click on locker .bat
5. I t will create folder with Locker automatically for u. After creation of the Locker folder, place the contents u want to lock inside the Locker Folder and run locker.bat again .
************************************************
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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%== type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
I got it from a forum. i think is lowyat. Anyway i hope this will help people who needs to hide something. :):wakuwaku:
this is exactly what i'm looking for
this is just my opinion for hide my private files...THIS IS FOR MS ONLY
if u want other people not to know where u hide ur private things jusst hidden it...
ur pc have it all...dont waste ur time DL a locked folder software or something like that...just play with registry
for example i place my stuff at D:\for fun so all u need to do is right click at the folder n select Hidden
second go to menu Tools\Folder Options\View at the kist u'll see Hidden Files and Folder choose Do not show hidden files and folders after that click ok
then go to Start menu open menu RUN, type regedit to open a registry folder then OK,now registry folder will open up
go to HKEY_LOKAL_MACHINE>SOFTWARE>MICROSOFT>WINDOWS>EXPLORER>ADVANCED>FOLDER>HIDDEN
after u click HIDDEN folder right click TYPE and choose modify and the final thing u do is delete the group word itself...
and with that no one could ever see ur hidden folder unless u type the group itself back...
this is kinda dangerous
Diclonius1
09-17-2008, 04:32 PM
yeah i just like the winrar thing much easier no?