How to lock a folder in windows 11 without software
HTML-код
- Опубликовано: 29 окт 2023
- Let's see how to lock folders in Windows 11 without any software
Code ............In Pin Comment ..............
************************************************************************************
If you are really interested in my video please follow me on RUclips and Facebook
………………………………………………………………………………………………….
Subscribe to my channel: / channel
FACEBOOK GROUP: / 411530109484518
FACEBOOK PAGE: / itmagicsbd
…………………………………………………………………………………………………..
Background music: / channel - Хобби
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this 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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== YOUR-PASSWORD 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
:MDPrivate
md Private
echo Private created successfully
goto End
:End
❤
Hi
thanks bro
Hi
❤❤
This video is really helpful thank you so much
Helpful video.Thank you so much
So nice of you
Hi IT Magics, first say sorry for my english is not good.
few many days i used this folder lock bat file, but now my folder lock bat file does not work in windows 10. Its said , ("windows can not access the specified device, path, or file. you may not have the appropriate permissions to access the item"). please give us this problems solution , how can we back our files and documents.
so i have a little issue here. i used it a few times. Now that i am trying to lock the folder again by pressing y , it isnt locking the folder. What should I do?
Bro mery router mai yellow port or gray port hai tu mai kis py lago from router to PC cable are blue please tell me 🙏
Thank you so much sir ❤❤🫶❤❤🫶
Works only single time
If u forget the password just go to view in file explorer and tick "show hidden items" your file will be visible where you made it.
thanks bro this really helpful❤❤❤❤
No problem 👍
@@ITMagics how to remove from it\??
thank you sooooooooooooooooooooooooooooooooooooo muchhhhhhh
cant people just click on edit and see the password...
bro how to relock this after open this
Work Done. Nice
Thanks
Those who finding the solution to retrive the pass if forgot , then write clink on the file and open with notepad the you can simply see the password
Thanks!!!
No problem!
Lock kaise hataye
Thank you
You're welcome
ITMagics please help it showing below error.
window cannot access the specified device, path,or file. you may not appropriate permission to access the item.
Im also facing the same issue
brother i have lost my file now when i click on it is says that you have no permission to open it plz help i have manny document in it
Find security option and allow all permission
In case created bat file is delete means how to get back the data
@ITMagics please reply
I tried this and after a month, my files was gone, any solution to retrieve?
EDIT and NEW CODE. SAVE CHANGES The new password will be 123. so you can recover the files again. :)
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this 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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== 123 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
:MDPrivate
md Private
echo Private created successfully
goto End
:End
my antivirus has detected some virus in it
Bro me password bhulgaya hu ab kya karu please reply kardoooooooooo
I did this but when i am entering my password, nothing is happening, still locked, please help
me to
mine too
You can also encrypt a folder in properties.
How?? Tell stepwise procedure
@@darshanbendale Right click the folder you want to encrypt and at the bottom click advanced, then also at the bottom should be an option to encrypt the folder. Now when a different user (or someone who for example stole your hardrive) will see the folder, (I am pretty sure the name is green in windows.) but will not be able to open it.
@@darshanbendale for me it doesnt work but, here is for windows 11:
rightclick the file
properties,
Within general go to advantaced,
click on/turn on "Encrypt content to secure data"
hope it works for you, for me it is grayed out so i cant help pass this point
it's works
@@mousequeen7220
@@WolfyLex4H Maybe you tried it on a flash drive that doesn't use the NTFS filesystem, which this might require?
thanks
Welcome
I'm unable to reopen my locked folder... please help
ruclips.net/video/2qwW6Grtd-g/видео.html
EDIT and NEW CODE. SAVE CHANGES The new password will be 123. so you can recover the files again. :)
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this 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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== 123 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
:MDPrivate
md Private
echo Private created successfully
goto End
:End
Hi... Actually I lost my lock.bat file... Can you please help me to recover my data
Same happened to me
Same happened to me
Window's block it what can i do now ?
turn off anti virus
Hi I done this same process but what If this locked folders password is forget...... Any solution.... I lock my personal photos and I forget password..
I'm also facing the same problem if you find solution share with me to
You forgot the password but dont worry because you have the lock.bat file, so just right click the .bat file and change the extension to .txt from .bat and once you have the lock.txt file double click it and see your password and then again change it to .bat file and use the password to open your private folder❤
what if we don't have the .bat file @@stockbox4215
i know the solution
Same here
love u
Hello sr bat code please
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this 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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== YOUR-PASSWORD 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
:MDPrivate
md Private
echo Private created successfully
goto End
:End
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.
pause
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%==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
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End
@@ITMagics can it works in big folder
Fake its not getting unlock
Its real
Please Help me!
In this link: m.ruclips.net/video/ZyTbFFZ_bOs/видео.html
Which show how to hide files on computer with (.bat) files, i followed the steps. I hide the file i wanted, then I renamed the (.bad) file the name «101» without the «.bat» at the end for extra security and then I changed the location of the file. After a while I went to the folder where the file «101» is located, I renamed it by simply putting the «101.bat», I opened it, I put the asked password correctly, the private folder appeared, I opened it and there was nothing inside. What happened, Is my file lost? Please answer me!