How To Password Protect a Folder In Windows 11 Without Installing Anything
HTML-код
- Опубликовано: 3 окт 2024
- Learn how to password protect a folder in Windows 11 without installing any software or using any third party tool.
We will use a few lines of code in a batch file to offer protection to your Windows 11 folder. Users will be required to provide a password to access the contents of the folder.
Github Page With Code: gist.github.co...
How To Retrieve Forgotten Folder Password - Quick Solution (Batch File Password): • How To Retrieve Forgot...
----My Gear for RUclips videos----
Main Camera (iPhone 13 pro): amzn.to/3GZztve
Tripod: amzn.to/35acqRa
Cell Phone Tripod Adapter: amzn.to/3v3wFuI
Lights: amzn.to/3vkoGK7
As full disclosure, I use affiliate links on this channel and purchasing through these links earns me a small commission. The price you pay will be the same!
Website: www.webproeduc...
Facebook: / webproeducation.org
Twitter: / webpro_e
Instagram: / webproeducation
Excellent video, and this is a very clever idea to try to overcome Microsoft's failure to provide locked/private folders in Win 11. The presenter pointed out some of the vulnerabilities, so I do not want to be too critical, but I must point out that there is another huge vulnerability in this: If the folder is saved on your Win 11 PC to a Google Drive or One Drive folder, and then accessed from a smart phone or tablet (Apple, Android, etc.), the folder will be wide-open, and the Bat/Text file will be fully visible to anyone who accesses the folder - - so just be aware of this limitation!
Excellent video! However, to make a more secure system, especially for a very importan private folder, albeit more 'messy' to access, I suggest the following:- Create a LibreOffice document (or Word, I suppose). Call it anything you like - preferably not something which refers to Hiding folders! This file must ultimately be saved with a strong password (easily done!). Copy the contents of the batch code as you suggested, including a sensible password, (may be different to the one which will be used to save this LibreOffice file, but could be the same), into the LibreOffice document. Now, ABOVE this copied batch file information (eg at the head of the LibreOffice document, enter:- NB! First of all, create a .bat file from the text shown below at Batch file text:- (referencing the code). This will create the batch file as you suggested.
Now type a set of instructions (in this LibreOffice document), such as:-
1. Double-click on ‘FolderLock.bat’.
2. Enter the PW - YOURPASSWORD . The hidden folder will now appear as ‘Private’.
3. Double-click on ‘Private’ which will open the folder.
4. After completion of work, double-click on ‘FolderLock.bat’ again; it will ask you to confirm, and then hide the ‘PRIVATE’ folder again.
5. Now delete the batch file you created!
Now 'Save as' this LibreOffice document with a strong password. (This option is available under 'Save As')
All that will appear in the folder you are using is this password-protected LibreOffice document!
It is certainly less straightforward than your method, but no batch file appears in the folder, so it can't be hacked.
Thank you for the video! I was looking for a simple way to lock files on a home computer.
Glad I could help
unfortunately it can be accessed using web browser ..I read a comment on the same page tried and it opened the private file ! " Just open any web browser like Chrome, MS Edge etc. and in the address bar
type file:///C:/ and hit enter. This will open the C: drive of your PC.
Navigate to that bat folder (if it's in C drive) and you'll find the locked
folder completely visible and accessible without any prompt for password.
For opening any other drive, just replace C with the respective drive
letter in file:///C:/. In short, when using your web browser as file
explorer, the locked folder isn't locked."
Clearest and well explained tutorial I've seen in a long time. THANK YOU
Nice tutorial. It works so long you are on this computer. But when you put the hard drive into an external hard drive case and connect it to another PC it again shows the content of the folder without entering a password.
Thankyou
oh this is fake cuz it doesnt work lol
It work
What if I accidentally delete the .bat file before entering the password? Is everything gone too?
really needed this, thanks
Good work brother👍
this video was very helpful.Tnx bro!
Brilliant video, Great step by step instructions also covered all bases and showed that it's not 100% secured but will stop the average PC user from accessing the folder. Well deserved Like and a Follow. Cheers!
when i try to lock the file by typing Y, for like a millisecond, it shows ''access is invalid.'' Please tell me how to solve that issue
edit: now it shows ''access is denied''
Thank you man this really helped much appreciated
funny. not a solution at all. It just renames your folder and make it hidden, not locked. No protection from deleteing whole folder as well.
Every time I install Windows I always set few simple ticks in explorer settings: 1) show file .names 2) show hidden folders and files.
I guess only solution still is bitlocker for Windows PRO revision users, and user groups with different permissions for read/write/access.
THANK YOU SO MUCH
Hey there, Thanks for this. the video was explained in a very good manner even a child could understand it. very nicely done brother. BRAVO
Amazing...! Thank you 🙌
This was the most useful and well demonstrated video i have ever watched
Thanks bro now I can hide all my memes that make me look like a belong in a mental hospital. Gonna share this with all of my friends
Thans bro may ALLAH give hidaya
Not really secure considering someone can just edit the bat file and change the password but kinda cool I guess
This method is good but a developer or a smart person can easily access the folder with command line or vs code like software
thank you for making it simple :)
the problem is if one searched the files you locked they can access it without a password
@@dennysaputra3461 😅
Yeah it's still accessible
nice video sir it is very helpful
what to do if the folder is still hidden but the .bat file is deleted by mistake?? ANY way to retrieve the lost file
Dont delete the folder i guess, Check recycling bin
yes, just create the file again, paste the code inside, save it as a ".bat" file, edit and put your old password in and start it.
your folder should appear again.
MY ANTI-VIRUS SOFTWARE IS BLOCKING ME FROM EXECUTING THE FILE ROFKDPKSLKRSL'EASRL'''LE;SK
what do you wanna hide 😏😏
thank you bro you helped me
Doesnt work, it created no folder called Private
Super helpfull for my annoying friends!😂😂😂 Just kidding this is a perfect video that helped me very much! Thank you🥰
Glad it helped!
@@WebproeducationOrgTechnology it helped very much
why good! it even hides it in the CMD when you try to CD in to it but now we need to find a way to Encode the .bat file so the PASSWORD cant be seen when you right click `open with`
This was very helpful
thank you🌼
awesome stuff thanks
this not secure as we can edit the bat file and we can see the password
thank you soo much brother❤❤❤❤❤❤
Does this simply hide the folder? What if I go into file explorer settings and click show hidden files?
it doesnt, I turned on see hidden files and cant find it, idk what it does to it
There's a very big issue with this. I was messing around with the program and it seems to me that this type of protection only works if the desired, protected folder is never uploaded to a different file managing service (i.e. Google Drive). I did everything in this video exactly as instructed and it DID work but when I downloaded that same file into google drive, every last file was unprotected, leaving whoever wanted to break into my "protected" folder to snoop in all they want. It makes me very concerned that if I were to send this file to anyone, they could VERY easily break in, leaving the files and possibly me at risk. Is there any way to protect the files any better? Is this just an illusion of security? I, as well as countless others watching this video need to know if this is a reliable way of keeping your files safe before we utlize this for ourselves. Maybe there's something I haven't seen, but I don't know, and THAT'S the scary part.
This is exactly what I was thinking, it's helpful as we can see but I would never ever try this. There's something from those codes that don't feel right at all. IDK I have trust issues cus' I got laptop hacked haha
@@yourdailydose24 dawg its a raw code u can see there is nothing wrong with it
Amazing! Thank you
thank you so much, this worked very well, now I can keep my private files away from my dad lol
Thank you for uploading.
I'm new to all this, so forgive my not knowing. But how can I audit the Github code downloaded in the video? There've been more than a few folks corrupting code on there.
Just being a little paranoid 😅
How get back the data which was stored in the folder. I accidentally moved the .bat file to another folder. When I try to open it, it is creating a new private folder, but not the previous folder in which i stored some files. What to do to get the data back. Anyone help me.....
very weak method but like you said only if you dont have tech saavy people in the house but all you have to do is show hidden folders then you can see the hidden folder and access the files. so if you have hidden folders shown then this is useless. Thanks for great effort though. Alternatively you can just encrypt the folder in properties and hide it and it should be relatively secure outside of the user window (window you log in) to the outside world. But to the user on the pc they will see it. so locking your pc will secure the folder to the outside world but not within your house hold unless you dont share your user window with family/co-workers if in office environment.
So not going to work for me, :)
All fun and games till you edit the batch file and see the password...
See my suggestion above!
Thanks!
Not work! Everything doing well but when dubble click patch file folder not creat
Not that good because after all this process you can access the folder by searching the name of folder and it appears and you can access the folder
Great video, thank you so much for this it's exactly what I needed! I have some documents that I don't want others to find so easily (I'm shy about my fiction writing) but don't need high security type of protection as it's just something I'd prefer to have hidden unless it's actively looked for. You made it so easy to follow these instructions as well - much appreciated!
It worked 100%
i did that, but after a few weeks i unlocked the folder and the files in it desappeared!!!
thank you
when i double click on the batch file it flashes open then closes. the private folder isnt made as well. any suggestions?
I can't open the file when I entered my password the file won't appear can someone help me?
Awesome, thank you
that's awesome, thank you.
I thought that this was a great idea until I realized that you can just preview the batch file and read the code, and just see what the password is.
I can't get the GitHub code. Could you please assist me.
its good but how i hide when i search the file i shows the hidden foler that i made when they search in it in the search bar
Nice tutorial. Great work WebPro. Pardon me, i would like to know if this method is safe for an external HDD knowing that it can be used in other PCs?
THANK YOU
So... Nothing stops people from editing the batch file and seeing the password in clear text? This is useless.
Delete the text doc
@@Manoj-li6fv The batch file is still editable...
Thanks a lot!!!!!
This works and ive used it in the past. The only problem this has is when you update your windows you need to repeat this process again. And thats becasue the system changes and lets say re opens and makes the code glitch out and stop working. But its easy to get into the private folder again, just delete the code that you have pasted in, Make a new txt file and just repeat the same progress as from before. Goodbyeeeeeeeee
Too Helpful now my sis cannot be able to ruin my hw files
Thanks ❤️
Genius, thank you so much!
Wonderful explanation. However, the batch file NEVER appeared in my folder. I tried it several times. I feel like an idiot now. Nothing happened. My folder is still not password protected.
exactly the same with me
thats cool man. As a beginner. Where did you learn that from ?
we all know what we using this for 😂
very good thank you!
Awesome! Thank you!
to wirus
thank you so much 😊
The Password can be easily skimmed by edit opening the BAT file. Ridiculous.
Cant find your coment to change password
Can I store it to my hard drive and still be locked?
I can’t thank you enough for this amazing lesson but i just subscribed to your chanel👍🏼
What to do if files are missing????
There is No need to rename the file into a control panel dot unpleasant serial reference.
There is no need to rename the file at all!! dont just copy paste from this video.
if you want to rename the file as you add "hidden" and "system" attributes to it and call it locked, you can choose whatever name you want.
FYI: you can use windows defender to add a secure folder. changes to the folder from code such as this will be blocked by the defender. wonderful job!
is there to way I can't edit it without the password but the file still works running
awesome bro thanku
What if the person deletes the bat folder?
I forgot password sir
on't worry! Forgetting a password can be frustrating, but there are ways to recover or reset it. Here are some steps to help you regain access to your folder in Windows 11:
Method 1: Try to recall the password
Take a few moments to think about the password. Try to remember any hints or clues that might help you recall it.
Check if you've written the password down somewhere, like in a password manager or a notes app.
Method 2: Use the "Forgot password" option
Right-click on the folder and select "Properties."
In the Properties window, click on the "Security" tab.
Click on the "Advanced" button.
In the Advanced Security Settings window, click on the "Change" button next to "Password."
Click on "Forgot password" and follow the prompts to reset the password.
Method 3: Use the built-in Windows password reset tool
Press the Windows key + R to open the Run dialog box.
Type "control userpasswords2" and press Enter.
In the User Accounts window, click on the "Manage another account" link.
Select the account that owns the folder and click on "Reset password."
Follow the prompts to reset the password.
Method 4: Use a third-party password recovery tool
Download and install a reputable password recovery tool, such as John the Ripper or Cain and Abel.
Follow the tool's instructions to scan the folder and recover the password.
Method 5: Take ownership of the folder
Right-click on the folder and select "Properties."
In the Properties window, click on the "Security" tab.
Click on the "Advanced" button.
In the Advanced Security Settings window, click on the "Change" button next to "Owner."
Enter the username or group you want to take ownership with, and click "OK."
Check the box next to "Replace owner on subcontainers and objects" and click "OK."
I press Y and it never hide the file
It worked
What if someone delete that bat file how can I then get my files
does not work
Amazing tutorial. Thank you!
Thanks Brother 😻
What if we delete the text file
Great video man thanx
Glad you enjoyed it
Thanks dear
I am from india
Glad it was helpful!
EXCELLENT DUDE
MAN U ARE GREAT
i tried in properties i dont hav win 11 pro, i watch a vid it wants me to download 3rd party I think yay finally I found this vi and halfway through I am hopeful then I realise I have show hidden files enabled and don't wanna disable that!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! noooooooooooooooooooooooooo, why cant it just be that simple, like the idea tho its a creative way of doing it I just don't wanna disable show widden folders and others could enable that anyway. ):
Awesome it worked. Thanks man
You're welcome!
will this work on chrome?
Am kindly asking we're do you find the code and how do you paste it
github link in description
It password showing in preview mode