Is there any chance to lock the folders without using any external software?

Sahithi Pallavi
@sahithi-oJZaYj โ€ข Oct 26, 2024

hi......
Is there any way to lock my folders without using any external software? If possible anyone please tell me.......
Thank You..............

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • shalini_goel14

    @shalini-goel14-ASmC2J • Jul 16, 2009

    sahithi pallavihi......
    Is there any way to lock my folders without using any external software? If possible anyone please tell me.......
    Thank You..............

    one very old trick is there but it works only on XP. ๐Ÿ˜”

  • safwan

    @safwan-NH7W5Y • Jul 16, 2009

    if you want to hide then hide it yousing its properties and checking do not show hidden file in folder option.

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 22, 2009

    ya shalini...what is that old trick....

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 22, 2009

    hi safwan....
    No i dont want to hide the folders...but i want to lock the folders..is there any way...

  • ukanth19

    @ukanth19-B32cv1 • Jul 22, 2009

    i think only hidden the folder

  • bhushanb

    @bhushanb-lTUtnX • Jul 22, 2009

    hi there is a way to do so
    i have one batch file wich s able to lock the folder wid password but it is notmuch popular so u can use it safely...............
    if u need it plz have me ur e-mail addr then follow the step ill mention at that time

  • shreerang

    @shreerang-mRtswd • Jul 22, 2009

    bhushanb tell me how to lock the folders without using external software....my e-mail ID is #-Link-Snipped-#

  • Aashish Joshi

    @aashish-VrevFC • Jul 22, 2009

    shreerangbhushanb tell me how to lock the folders without using external software....my e-mail ID is #-Link-Snipped-#

    Please refrain from putting your e-mail id on the forum, if you want to communicate your e-mail id to another member, please send them a private message. Posting your e-mail id here might make you vulnerable to spamming..

  • dipen30

    @dipen30-hGOPpa • Jul 22, 2009

    you can use command attrib -s -h file name which you want to protect

    and also us CLSID to hide your folder

  • Navink

    @navink-tJnnlZ • Jul 23, 2009

    how lock folders in xp. pls tell

  • dipen30

    @dipen30-hGOPpa • Jul 23, 2009

    I have send you a message Navink just check it..

  • Aniket!

    @aniket-B23syN • Jul 24, 2009

    Ha! this thing is way 2 old now!
    Follow this algorithm--- Have Fun@@๐Ÿ˜

    1.Right click on the folder u want 2 hide.
    2.go on 2 รขย€ยœRenameรขย€ย option on the list.
    3.Now press this combinationรขย€ย”
    Alt+2,5,5
    Noteรขย€ย”รขย€ย“The 2,5,5 numbers r 2 b used from the number pad on the right side of the keyboard and not from the horizontal pad provided just below the F1,F2,F3รขย€ยฆรขย€ยฆ..keys.
    This will erase out the name of the folder.
    4.to hide the picture of the folder. right click again and this timeรขย€ยฆ.select properties on the menu.
    5.After the dialog box appears..click on the รขย€ยœcustomizeรขย€ยtab {the last tab at the top}, and click on รขย€ยœchange <a href="https://www.online-tech-tips.com/computer-tips/how-to-hide-files-and-folders-in-windows-xp-the-easy-way/#" target="_blank" rel="nofollow noopener noreferrer">Hide Files and Folders in Windows (Easily Hacked)</a>icon" at the bottom of the dialog box,which is written at the left of a folder picture.
    6.After the appearance of the รขย€ยœchange iconรขย€ย dialog boxรขย€ยฆ.click on any area within the dialog box,which seems รขย€ยœblankรขย€ย and press ok.
    7.come back 2 the dialog box { 2 the 1 from where u started..๐Ÿ˜›} and then select apply and then ok.
    8.Happy playinรขย€ย™ hide-and-seek wid your foldrs!
    9.2 unhide, refresh the screen.
    10.u may see the hidden folder blinkinรขย€ย™ everytime the screen is refreshed.
    11.go to the place where u see the folder blinkinรขย€ย™ and press right mouse button.
    12.Again select รขย€ยœrenameรขย€ย and rename the folder.
    13. Again go 2 properties and repeat step 4 to 6 butรขย€ยฆรขย€ยฆinstead of selectinรขย€ย™ a blank space,select ne other pic. a nd press ok..!!!

  • Aniket!

    @aniket-B23syN • Jul 24, 2009

    Ha! this thing is way 2 old now!I know a much powerful trick 2 hide a folder!
    Follow these stepsโ€”-๐Ÿ˜
    1.Right click on the folder u want 2 hide.
    2.go on 2 โ€œRenameโ€ option on the list.
    3.Now press this combinationโ€”
    Alt+2,5,5
    Noteโ€”โ€“The 2,5,5 numbers r 2 b used from the number pad on the right side of the keyboard and not from the horizontal pad provided just below the F1,F2,F3โ€ฆโ€ฆ..keys.
    This will erase out the name of the folder.
    4.to hide the picture of the folder. right click again and this timeโ€ฆ.select properties on the menu.
    5.After the dialog box appears..click on the โ€œcustomizeโ€tab {the last tab at the top}, and click on โ€œchange icon" at the bottom of the dialog box,which is written at the left of a folder picture.
    6.After the appearance of the โ€œchange iconโ€ dialog boxโ€ฆ.click on any area within the dialog box,which seems โ€œblankโ€ and press ok.
    7.come back 2 the dialog box { 2 the 1 from where u started..๐Ÿ˜›} and then select apply and then ok.
    8.Happy playinโ€™ hide-and-seek wid your foldrs!
    9.2 unhide, refresh the screen.
    10.u may see the hidden folder blinkinโ€™ everytime the screen is refreshed.
    11.go to the place where u see the folder blinkinโ€™ and press right mouse button.
    12.Again select โ€œrenameโ€ and rename the folder.
    13. Again go 2 properties and repeat step 4 to 6 butโ€ฆโ€ฆinstead of selectinโ€™ a blank space,select ne other pic. a nd press ok..!!!

  • jhbalaji

    @jhbalaji-AH60JJ • Jul 25, 2009

    If you use NTFS file system then there is a way mate...

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 29, 2009

    HI bhushanb,,, can you tell me what that trick is????????


    WINNERS DONT DO DIFFERENT THINGS...THEY DO THINGS DIFFERENTLY...

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 29, 2009

    HI jhbalaji,, ya i am using NTFS file system... can you please tell me the way to lock the folders..............


    WINNERS DONT DO DIFFERENT THINGS...THEY DO THINGS DIFFERENTLY...

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 30, 2009

    dipen30you can use command attrib -s -h file name which you want to protect

    and also us CLSID to hide your folder

    hI....I am not clear about it...can you tell me clearly.......


    WINNERS DONT DO DIFFERENT THINGS..THEY DO THINGS DIFFERENTLY...

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 30, 2009

    Aniket!Ha! this thing is way 2 old now!I know a much powerful trick 2 hide a folder!
    Follow these stepsโ€”-๐Ÿ˜
    1.Right click on the folder u want 2 hide.
    2.go on 2 โ€œRenameโ€ option on the list.
    3.Now press this combinationโ€”
    Alt+2,5,5
    Noteโ€”โ€“The 2,5,5 numbers r 2 b used from the number pad on the right side of the keyboard and not from the horizontal pad provided just below the F1,F2,F3โ€ฆโ€ฆ..keys.
    This will erase out the name of the folder.
    4.to hide the picture of the folder. right click again and this timeโ€ฆ.select properties on the menu.
    5.After the dialog box appears..click on the โ€œcustomizeโ€tab {the last tab at the top}, and click on โ€œchange icon" at the bottom of the dialog box,which is written at the left of a folder picture.
    6.After the appearance of the โ€œchange iconโ€ dialog boxโ€ฆ.click on any area within the dialog box,which seems โ€œblankโ€ and press ok.
    7.come back 2 the dialog box { 2 the 1 from where u started..๐Ÿ˜›} and then select apply and then ok.
    8.Happy playinโ€™ hide-and-seek wid your foldrs!
    9.2 unhide, refresh the screen.
    10.u may see the hidden folder blinkinโ€™ everytime the screen is refreshed.
    11.go to the place where u see the folder blinkinโ€™ and press right mouse button.
    12.Again select โ€œrenameโ€ and rename the folder.
    13. Again go 2 properties and repeat step 4 to 6 butโ€ฆโ€ฆinstead of selectinโ€™ a blank space,select ne other pic. a nd press ok..!!!

    Hi...thanks for your information....
    Your trick is nice..Here the folders is invisible only..but when click on the folder place..It is opening and the contents can be shown in the folder... So it is not secure.......

    Is there any other trick to lock my folders .....?



    WINNERS DONT DO DIFFERENT THINGS..THEY DO THINGS DIFFERENTLY...

  • dipen30

    @dipen30-hGOPpa • Jul 30, 2009

    open cmd then set path of the directory in which your file is stored .

    e.g: d:\New folder\...

    then write in cmd "attrib +s +h filename.extension" this will hide that file.

    and "attrib -s -h filename.extension" this will show that file..

    e.g: d:\new folder>attrib +s +h filename.extension .

  • Rajni Jain

    @rajni-E46Rlm • Jul 30, 2009

    I am giving you a code using this you can secure your data. This code will create a folder named as Locker on Desktop. Copy all the data in this folder, execute this code this will ask if you want to lock the folder, press Y and its locked and invisible.

    If you want to recheck the contents, again execute the code, it will ask for the password, enter password (#-Link-Snipped-#) you can always change password in code and your folder will appear on the desktop.

    Code (You need to copy this code and save it in a .BAT file):

    cls
    #-Link-Snipped-# 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 #-Link-Snipped-# 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



    For any clarification you can contact me,
    -CrazyGirl

  • Rajni Jain

    @rajni-E46Rlm • Jul 30, 2009

    Mods I guess this is not wrong to share the code (I found it somewhere on web around 2 years back, So do not have reference site). If this is against forum's rule you can always edit it. ๐Ÿ˜ No issues.

    -CrazyGirl

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 30, 2009

    CrazyGirlI am giving you a code using this you can secure your data. This code will create a folder named as Locker on Desktop. Copy all the data in this folder, execute this code this will ask if you want to lock the folder, press Y and its locked and invisible.

    If you want to recheck the contents, again execute the code, it will ask for the password, enter password (#-Link-Snipped-#) you can always change password in code and your folder will appear on the desktop.

    Code (You need to copy this code and save it in a .BAT file):

    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 #-Link-Snipped-# 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



    For any clarification you can contact me,
    -CrazyGirl

    Hi.. I am sad to say that i dont know about .bat file...๐Ÿ˜” ๐Ÿ˜” Can you tell me where i have to save the code clearly...because i dont have any idea...
    dont mind.........

    Thankyou so much............

    WINNERS DONT DO DIFFERENT THINGS...THEY DO THINGS DIFFERENTLY..

  • Rajni Jain

    @rajni-E46Rlm • Jul 30, 2009

    No Probs !!!

    Copy this code, paste in a notepad. Go to File -> Save As, in File name filed save the file as "Locker.BAT"

    Remember to use file name (locker.bat) within the double quotes.

    PS: <a href="https://en.wikipedia.org/wiki/Batch_file" target="_blank" rel="nofollow noopener noreferrer">Batch File</a>

    -CrazyGirl

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 30, 2009

    dipen30open cmd then set path of the directory in which your file is stored .

    e.g: d:\New folder\...

    then write in cmd "attrib +s +h filename.extension" this will hide that file.

    and "attrib -s -h filename.extension" this will show that file..

    e.g: d:\new folder>attrib +s +h filename.extension .


    Thankyou for your clear and detailed information...It is superb working...
    thankyou so much........

    WINNERS DONT DO DIFFERENT THINGS..THEY DO THINGS DIFFERENTLY...

  • Sahithi Pallavi

    @sahithi-oJZaYj • Jul 30, 2009

    CrazyGirlNo Probs !!!

    Copy this code, paste in a notepad. Go to File -> Save As, in File name filed save the file as "Locker.BAT"

    Remember to use file name (locker.bat) within the double quotes.

    PS: <a href="https://en.wikipedia.org/wiki/Batch_file" target="_blank" rel="nofollow noopener noreferrer">Batch File</a>

    -CrazyGirl

    Thank you so much for your clear information..Its superb working...

    thank you.....

    WINNERS DONT DO DIFFERENT THINGS....THEY DO THINGS DIFFERENTLY...

  • saurabh2486

    @saurabh2486-Tr6NOC • Aug 4, 2009

    in windows vista u can set user accesses by declining access to the desired user and in windows xp also there is an option of protecting a file using password i guess

  • Mangesh6688

    @mangesh6688-2pfEFZ • Aug 5, 2009

    CrazyGirlI am giving you a code using this you can secure your data. This code will create a folder named as Locker on Desktop. Copy all the data in this folder, execute this code this will ask if you want to lock the folder, press Y and its locked and invisible.

    If you want to recheck the contents, again execute the code, it will ask for the password, enter password (#-Link-Snipped-#) you can always change password in code and your folder will appear on the desktop.

    Code (You need to copy this code and save it in a .BAT file):

    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 #-Link-Snipped-# 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



    For any clarification you can contact me,
    -CrazyGirl




    Hey thats a good trick no doubt about it but
    anyone can see the password of that file
    you just have to right click and press edit....

  • saurabh2486

    @saurabh2486-Tr6NOC • Aug 5, 2009

    u can set permissions also if u using vista and it will deny permission to access ur folders