How to Lock Folders in Windows 10 without Software
HTML-код
- Опубликовано: 6 июл 2024
- How to Lock Folders in Windows 10 and make it private with password access. Keep it hidden from other users whether family and friends.
Here you can find the Folder Locking script to create Batch File
Text File Code - pastebin.com/K5Y9s3e5
Useful Trick to store important personal and secret photos or videos whether naughty or sensitive or maybe porn stuff.
If you need further options like using encrypting or using sophisticated third party software, refer to our blog article - www.windowschimp.com/password...
Password protect folder in Windows 10
Lock folder in windows 10 without password
Folder lock with batch script file Наука
Thank you, now my mom can't access my 100gb homework folder
🤣🤣
@@memehunter2943 homework not porn idiot
Only 100GB of ....umm......homework you have? I have about 367 GB which makes me smarter than you!
@@memehunter2943 yes it doesn't concern people
@@memehunter2943 no shit
30 years in the business and still windows cant offer a simple password control on properties option
ever heard of bit locker/\\\\
@@mirusamakhurshid620 ever heard of can't be bothered to buy pro.
Or alternately creating a python script to do it for you. #pyminizip gang.
ruclips.net/video/B2oBn76KaNQ/видео.html: simple and easy built in lock for windows
@@aquilamflammeus5569 'Copy and paste a python script'
Linux is free and way better, windows cost huge money but still is shit. that's why I say, always support by donating to open-source software. Wikipedia, Linux, Ubantu, VLC, IDM, pls donate small amounts of money to them. they are providing you awesome stuff for free for a long time. If you don't support them they'll disappear and wicked businesses will take their position like Microsoft.
Thank you very much for this! Specially for an efficient 2-minute quick video unlike the others which are of 5-10 minutes.
Also, I didn't want to use a software for this to avoid any keylogger or some kinda trojans etc.
You went through these steps fast and clearly. Thank you.
We all know why you're here.
I've got some shitty porn
im hiding game of thrones lmao
it's easy for anyone to know the password
hiding games at school
@@feidhlimharrington2275 ikr, season 8 is worth hiding
For those of you wondering why your FOLDER isn't OPENING when you type in the password
IF you use " the spacebar " in your password on the .txt file while creating your .bat file,
Make sure you do not use " the spacebar ", when typing your password in ON the cmd console.
For example, If your password was " Job 9999 " on the .txt file, It should be " Job9999 " on the console.
I didn't know that, and I save the password with spacebar what should I do now. Please help me.
thank you very much. i was scared that i lost everything in the file it had the drivers in it
hey please can you help me out my command line is not opening after i click on that bat file now after my folder is locked, What should i do to recover my folder backkkk, please tell me what to do????
@@kanakjaiswal58 you can unlocked with your password before "Space" OR
right click on bat file, choose edit then you can edit your password.
@@kuekuetube Thank you kuekuetube, you saved my life
i just tried this out and it worked. Thank you for the video (2 thumbs up)
Could the batch script be modified so that it can create the private folder elsewhere on the harddrive and auto-open it when the password is entered, then auto-close it when the user locks it again? That way, the .bat file can be anywhere and not be visually associated with the location of the private folder.
*me* : locks the 'private' folder.
*search tab* : "I'm about to end this man's whole career.
WIN 10 cortana assistor : even i will help you do that :)
dude noooo :(
now im not doing htis tutorial nice and funny way of saying it wont work
@TutoHowTo or anyone else who has the problem please see this video I found it will solve this problem: ruclips.net/video/qzbu1fN0XuE/видео.html
type Attrib +h +s +r yourfilename in cmd and file will not show up and when you want to see type Attrib -h -s -r yourfilename in cmd
I realized that after you create the bat file you can preview the context in preview mode File Explorer. So the pass word can be found from there....
Exatcly... This method can hide files only from unexperienced low level pc users.. :\
Just hit edit an boom password
Good since i forgot my password 😅
@@ozrenm97 ahahahah 🤣🤣
anyone knows how to hide this too?
Worked like magic! Thank you so much!
A very good short video, not like others with a 9-minute video explanation
You are a lifesaver! My sibling couldn't care less about the words "personal" and "data" -.-
full of Noelle dirty photo??hehe
@@cwk18 Ah two men of culture I see.
thank me later ruclips.net/video/c3d3SgkqQR8/видео.html
Good tips. The password is still exposed as the batch file is visible.
One thing we can do is, mark the .bat file as hidden from the file properties, and uncheck 'Hidden' in the Folder View menu to hide the batch file itself.
So, both the batch file and the private folder will become invisible.
Not a 100% safer approach though, but to some extent.
Cheers!
But do you find the batch file after you make it hidden
nah it dont work its clearly seen.
you could also uncheck the "Details pane" in the Folder View Menu.
that won't work because you won't be able to interact with the batch file
@@XCheba still you can see the file
Thank You!! Works Great!! Thank you so much for the short, straight to the point video!!! Easy to do!!
Thank you guys so much. It really helped
Amazing thank you so much - saves me a lot of trouble lol
still not safe.right click the bat.file and select edit.the password u set is already expose.
How do you relock the folders? After clicking and entering "y" in command prompt it unlocked, but when I closed the folder, it opened without asking me for the password. Same thing when I did a restart; folder opened up without a password.
You'll have to click back on the text document you made and it will launch the prompt asking you to lock. It doesn't auto lock
Easy tutorial
Thanks it helped me a lot❤
really helpful!!, thanks so much!
Thank you, now that I lost all my folders no one can steal them from me anymore!
Genius!
new "private" folder within your designated folder you wanted to lock disappears when locked and reapers when unlocked with your password. Before you lock any folder you can test it first by locking and then unlocking to ensure it reappears before putting any of your data in the new private folder. Works very well.
emmm if u set in setting that u can see hidden files, U will be able to still open it
@@glinskiadam exactly
If someone is tech-savvy he can easily determine the password by opening the file into text editors.
what if someone deletes the .bat file the encrypted file will also get deleted or become unencrypt ?
Thank you! this is fantastic!
The files are still shown in recent, is there anything that could remove this automatically as well?
Make the files hidden
After making huge changes in the folder. When I press Y and enter. It won't disappear. The CMD closes and nothing happens.
I had this problem.
Verify your "private" folder doesn't open on another folder which contains files
@@azerty2524 This didn't address the issue of the folder not disappearing.
Please can you tell me in which language this code is written.
Thank You!!
Okay so i did this a while ago and now when i opened my folder all my files were locked separately and i now have no permission to view them... please help me these are very dear photos of mine is there something i can do?
Thank you, that is simply great
you can recover your Files by going to File Options > View > Uncheck Hide System Protected Files and you can see all your files : This is misleading information it hides the folder not lock it. Be careful !
@@AjayRajput-xn1oj how do you share a locked folder on discord tho
@@OmniPhantom You can use RAR to archive the folder with a password and can share it on discord then.
thank me later ruclips.net/video/c3d3SgkqQR8/видео.html
The files doesn't seem like it's lock, more like just hidden for me. Am I doing anything wrong?
no, it is like that. you r doing right
Made this before after a windows update the file got hidden I cantsearch the small files in it but cant open it
this worked perfectly . Glad to see such imformative usefull thing in such a short time .
But any one can delete the folder.
Thank you very much for this! Especially for an efficient 2-minute quick video unlike the others which are of 5-10 minutes.
Actually if someone go to the folder option and show's the hidden folders it well show actually the bat file you made is hidden the folder not locked the folder. Its better to deny all permission in security tab
Literally really helpful video..it works magic and is super easy .. completely hassle free 🔥😀perfetto 🙏
Thank you so much. It was really helpful😊
Cool, this is a good idea. But unfortunately these files are still not hidden. I searched up the keywords to the name of the file [via quick search with the windows-key] that was supposedly locked, and I was still able to access it with a single keystroke when it popped up.
True, I just did this and it popped up with access, no password requested to open folder. Someone would have to know the folder name, but even a single letter typed into the windows search bar and this will most likely reveal any files with that related letter.
my japanese folder is finally safe!
S A M E , its education so yeah , im here to study about life
@@Osteoclast
Say no more! your name says it all!
Lolita lmao 😂 , well don’t let the name fool you , I’m a man of science, I love to see the magic that takes place between 2 different sex genders in order to bring new life to this earth , nay , a soul to this universe, hope nothing is wrong with it , but it seems people misunderstand what I’m doing :(
Hentai Is Life Ma Niggas And I am a man of god :D😂
@@Osteoclast send me some in telegram
thank you maam now i am 10 yrs old and now i can hide my pc games from dad
thank you very much i liked and subscribed
Thank you so much! Already subscribed your channel
You can right-click the .bat file and select edit. The notepad document will appear and you can change the password again and access the files.
Save your folder name as well as file name as virus, no one will open 😂
true .. this is not good
thank me later ruclips.net/video/c3d3SgkqQR8/видео.html
it stops working after 2-3 times.. why ?
Yes same happened to me
Nice, is there any way the folder lock itself after some time or when we close or get out of the folder. Thank you.
No it wont lock itself, even if you type something wrong a million times it wont
Awsome tutorial , thank you so much 😘
0:03 Don't you try and judge me
But the protected folder is clearly seen when we turn on view HIDDEN folders option. Also, one can easily open it without typing the password.
How?
Plz tell me I locked it and now I can't remember the password
@@nikunjarora7230 do you still need help?
@@nikunjarora7230 rename the .bat as .txt and passward can be seen
What would i do if i wanted to make multiple files and lock all of them with a different password. i have tried editing the code but if it just opens the same folder.
Thank you very much. Your Video is very informative for all of us. ❤❤😊👍
this is not secure folder :@
still better than rocking nothing. As long as ppl are dumb enough..
Great Video But a little bit misleading as per the title given in the video : you can recover/see your Files by going to File Options > View > Uncheck Hide System Protected Files and you can see all your files without any password : This is misleading information it hides the folder not lock it.
Will this work on Chrome OS as well?
I used this script for a few years with no problem until one day I went to lock it and the console flashes for a second and nothing happens. Tested it with a few different variations of the same script in a new folder, same thing happens and no folder is created. Anyone know what could have caused this?
If you "type 1==1 (any command)" it will execute the command if 1 equals 1. And that's mostly the case so you can type "1==1 goto Unlock" and it will bring you to the Unlock-section. Thats why you should use a number-pin and the choice command. And you can also download a compiler that turns it into a .exe file, so you a´can't edit it. Hope I could help you! ☺
but what if i use numbers and latters?
@@badza_3542 That is possible too, but I took 'q' to query (enter) 'h' to help and 'r' to reset. So you have to sacrifice some letters (or maybe symbols) that can't be used in the combination, as you need them as shortcuts.
@@Quoneel UM NOT LIKE THAT I MEANT PASSWORD XD
but.
You are smart.
Do u program in python by some chance?
@@badza_3542 Yes
omg thank you now my treasured "minecraft videos" cant be opened
The "simpler" way (go into folder properties and check the "encrypt" option works better and easier but it is not available for Windows Home edition. This one really works on any edition. Thanks.
It was really a wonderful tutorial as it was just of 2 minutes and even working. Thank u and yes, I have even subscribed ur channel.
it doesn't lock your files anyone can access them
@@kadeelkington7365 It locks the folders....not files
If anyone edit this file , he easily know this password.
yeah like wtf is this video.
use winrar for password protection that's it.
@@mikemiserable331 7zip, it is open-source
HIDE THE BATCH
by mistake the password folder got deleted - now what to do i cannot open my important files
If you have deleted the Bat File you can recover your Files by going to File Options > View > Uncheck Hide System Protected Files and you can see all your files : This is misleading information it hides the folder not lock it.
Just use command prompt, its just hidden not deleted
go to recycle bin. I'm sure its there. files deleted usually end up there unless you deleted it permanently in the recycle bin. files on external drive like flash drive or external HDD are not included.
Nice video.
I noticed after few times locking the folder.
It won’t lock again.
I tried 5 times when asked “are you sure you want to lock the folder”? I said “y”. But it’s not locking anymore. Is there a limit? Plz advice. Thank you.
I've tried this setup but the encryption is not working well on windows 10 pro laptop. the encryted file is accessible through "search panel" even though it was encrypted.
e.g. when i type letter "a" the file which start's with "a" also appear.
sometimes the content in the folder would be deleted. so it's better to back it up somewhere else as well.
how you know?
it fails in one case:
press windows+s from keyboard and type the name of folder you just locked
just click on that folder and boom->you can access it even after being locked so it's not reliable
if you have a preview on you can also read the code and password if you are smart enough ! any other solution mate ?
The .bat is corrupted for me meaning that none of the passwords i set it to work now. I have important files in there, is there a possible way of me getting into the folder now without losing those files?
Thanks a lot man.
you have made really an important tutorial for us all.
keep doing best, wish a very very good luck.
Thanks, you too!
Asking for the code
@@nashpeter8085 the code is in the description.
DONT DO THIS.
this can easily be changed or seen by right clicking on the batch file and clicking on edit. And boom! your password and all other details are clearly visible
what if you add it in a winrar file and password protect that, and then open the cmd by winrar ?
From someone who forgot their password, bless you! Also locking computer files is a lot like locking a toolbox in a fab shop. If someone wants to get access to your stuff, they will. The lock is just an obstacle to make them think twice, lol
@@JairusJoy Thanks for this tip
Why i can acess it without type password in locked folder , by searching file inside such folder?
You need to go properties --> advanced --> uncheck the second option ;)
@@steliosntrellas3079 Why bro.... now he is gonna think his folder is unhackable.
@@jimmyxu5706 hahahahaha
@Stakos Pi χαχαχχα ωραιος 🤣🤣🤣 Πηγαινε στον πινακα ελεγχου στις ρυθμισεις φακελων και πατα να εμφανιζονται οι κρυμενοι φακελοι...
Μολις βρεις το φακελο σου κανε την ιδια διαδικασια που εκανες για να τον κρυψεις...για να μην τον ξαναψαχνεις και
επελεξε στον πινακα ελεγχου την προηγουμενη επιλογη για να μπορεις να τους κρυβεις ;)
Δες το screen θα σε βοηθησει
prnt.sc/rvag20
@Stakos Pi μας δουλευεις ρε μπρο? κ εκατσα εγραψα ολοκληρο κατεβατο 🤣😝
The file I hid is missing from the folder neither can I access the bat file. I know the exact name of the video file, I searched it in Run and Command prompt, it says 'is not recognised as an internal or external command, openable program or batch file. Can you please help me find it.
Today when I opened the file it was missing from the hidden file. And yes I checked the show hidden folder tab from view.
This video is really helpful but, when I put something in the "private" folder and then type "y" in the other folder, the private folder doesnt hide. However, when I remove the folder which I added in the private folder, and then try to hide it then it works. If thats how it works then whats the point!
And what happened when someone delete this password protection folder
Exactly the same question
@@Deepakkumar-oj4uq bro u can change permission to delete the folder
If u right click on batch file before unlocking it and then on ''Edit'',notepad containing password will be visible. So, be careful
Thankyou man... I opened my laptop after a week and i forgot the password... And then i came here in comment section for a solution... 😂
please delete the comment XD
you can actually leave a blank password field. Then no one will know your password, but if they write something, the files will be displayed
yes you are correct, I can see my password without even right clicking because I activate the visualising option
But 1 problem at last whener I put my password to unlock my folder it don't work but I press y it's apper
yes it really did work.....this was very easy and useful as you made it easily understandable...i am very happy as well subscribed your channel as i owe you....thank you very much...love from India
Bugs in code:
1. If the stored files in that folder are searched then it appears in search results.
2. If after locking people can still delete the bat fine, thus your files will be gone forever.
Plus if you go and right click on the bat file and click on edit you can see the password too.!
My case is little different. My files all are now hidden but can't unhide it now. Even after double clicking .bat file, password cmd box ain't coming.
Don't know what to do too see my files.
@@mallutv3695 try making the bat file(copy the script from the source not from the existing bat file) again in the same folder after deleting the first one... might be something wrong the original bat file script... You've got nothing to lose anyways 😂
What if someone open this bat file with notepad and check out the password ! 🤣
You can hide the "bat" file in a drive, by doing these steps:
1-Select the files or folders you want to hide.
2-Right-click and choose Properties.
3-Click the General tab.
4-Click the checkbox next to Hidden in the Attributes section.
5-Click Apply.
you right bro
i just changed the extension and opened it in notepad
it was showing password😀😀😀
tony Stark I tried opening my bat file w/ notepad or word but there’s no option to such. but you can open it if you select “edit with notepad++” and check the password. i forgot my password and n++ saved my life lol
@@pavankumar-xh5sp you can use 'wise folder hider' .. free version is light and better
@@muhammadnahidulislam no virus?
didnt care about locking folders for a while, till my parents started looking on my pc
Still works! Thank you for this!
hmm, but when I click edit .bat file I can see and overwrite password
My Guy! You are so right. This method don't do much at all. If someone wants to play around in your drive and sees a .bat file they can easily figure out what your password is. Why cant we just have a pw protect on a folder like we can on an excel file? ow i know how to get into some ones hidden file even without the password for the .bat file..
yes it work now my files are safe not even me can access them
If anyone edit this file he easily know this password.
@@ranjith4706 hahah
Wb windows 7
after doing this folder cant be copy and the file inside the folder is not opening or taking too much time to open. do u have any solution for that issue. or any option to make that folder a normal folder, so the file can be opened easily.
finally my homework folder is protected
THANK YOU. only one thing i want to know. after lock the folder. if someone delete the bat file. then what we will do
Exactly 💯?
Same question
your private folder also get deleted
but don't worry paste this code as bat file again in that folder and click on that bat file
and enter the password
you will get your private folder back
First of all thank you so much for this video and I would like to say this method dosn't operative and dosn't secured as well because I discover the password and to change the main file script I mean the .bat easily :) just click right mouse on the .bat file and you list all the script …… My opinión this foolish trick isn't secured
cool
if you delete the password and save it...it still work
HOW is anyone supposed to Read your comment when it makes NO sense? Im sorry but your English is so bad I couldnt understand what you were trying to say, wtf is this supposed to mean: "this method dosn't operative"?? Doesnt "operative"? You apparently didnt realize that the word "operative" literally mean a "Spy" in English! You know a Spy, like an "infiltrator" or someone that goes undercover to steal information etc. Not to mention that the rest of your comment makes just as little sense :(
Thanks this was such a simple tutorial
when I allow cmd to lock my device using the Y command my private folder is renamed with something control panel and then lots of character and not only this the files and the folder is accessible without the password. If anyone else faced the same issue and solved it please let me know how?
Same with me, Did you get your solution?
this is easy to bypass, they just have to right click the batch file, hit edit, look for your password and type it in the file
exactly bro
Or view hidden files in your view tab. Kind of disappointing.
but most of peopel do 1234 so its harder to find
Simply with CMD:
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
icacls "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" /grant %username%:(F)
Bad folder lock...
It's better locking it with TAKEOWN and ICACLS, because this may take more time to unlock the folder...
Exactly
Anybody here to hide that naughty stuff..!😂
Many things don't work on my laptop but this does thank you so much💓
how do you copy the code? I manually type in the code in my notepad but file wont open. thank you
It deleted everything in the folder lmaoooo
*naughty* LOL
hi there, I did a format for my windows and the folder was in D and I didn't delete it, after format now I want to open the hidden folder and put the password but didn't show anything, how can I extract my files ?
But it seems that with the .bat file locked, if I r/click on it and change the extension back to .txt I can then open the file and see the password!!! Doesn't seem very secure if you know what a .bat file is there for.
this is pointless, you can just open the bat file as txt and see the passowrd...
no security whatsoever involved in this....
Hold my beer: all you need is set up "show hidden files and folders" in system parameters! All data stay unprotected with this script, he just rename folder and hide it!
uploaded 4/20
If you delete the bat file it will also delete the hidden folder?
if i delete the private folder that's been generated by it, can i recover it?
you can just easily just right click on the .bat file and select edit and it shows the password and everything
then freaking convert it into exe, or just make it in another language.
@@reinhold1616 triggered about a computer post? .exe wouldn't work as an executable command!
@@alangeiger5237 not triggered, just annoying since every second comment is this same thing, i dont say to add .exe at the and, i say to CONVERT it to exe, using some program.
@@alangeiger5237 try BAT to EXE convertor, it does only work on your PC if its for free, but that doesnt matter, since you will not have it on anybody others PC.
Big fail for windows 10, next addition they will want you to wear gumboots to work their operating system. What are they thinking??????????????not I guess.
By this bat file hacker will trace ?? It is safe for using the private file..
Yes it works, but what happens when you delete the text-file when your docs are in them?