How To Password Protect a Folder In Windows 11 Without Installing Anything

Поділитися
Вставка
  • Опубліковано 23 сер 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 UA-cam 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

КОМЕНТАРІ • 131

  • @caplings
    @caplings Рік тому +16

    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!

  • @ianwilson5156
    @ianwilson5156 Рік тому +7

    Clearest and well explained tutorial I've seen in a long time. THANK YOU

  • @jackrobbo8317
    @jackrobbo8317 Рік тому +11

    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!

  • @hls6925
    @hls6925 Рік тому +5

    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.

  • @mohamedjamal7261
    @mohamedjamal7261 Рік тому +2

    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."

  • @fayazrocky
    @fayazrocky Рік тому +3

    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

  • @user-bc7sd5uj2g
    @user-bc7sd5uj2g Рік тому +3

    This was the most useful and well demonstrated video i have ever watched

  • @vellichords
    @vellichords Рік тому +4

    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!

  • @willienakiz
    @willienakiz Рік тому +1

    Thank you for the video! I was looking for a simple way to lock files on a home computer.

  • @nimbussfa1674
    @nimbussfa1674 7 місяців тому

    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?

  • @BlockchainShango
    @BlockchainShango 4 місяці тому

    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 😅

  • @besanomar1829
    @besanomar1829 Рік тому +2

    This was very helpful
    thank you🌼

  • @SakePL
    @SakePL 9 місяців тому

    thats cool man. As a beginner. Where did you learn that from ?

  • @pepe_the_frog713
    @pepe_the_frog713 Рік тому +1

    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''

  • @mohamedmuse08
    @mohamedmuse08 Рік тому

    I can’t thank you enough for this amazing lesson but i just subscribed to your chanel👍🏼

  • @lenny108
    @lenny108 2 місяці тому

    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.

  • @0xSpoon
    @0xSpoon Рік тому +1

    Awesome! Thank you!

  • @nathanhernandez6268
    @nathanhernandez6268 Рік тому +6

    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.

    • @yourdailydose24
      @yourdailydose24 Рік тому

      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

    • @kazumakiryu5153
      @kazumakiryu5153 Місяць тому

      @@yourdailydose24 dawg its a raw code u can see there is nothing wrong with it

  • @remhayftaneges9950
    @remhayftaneges9950 Рік тому +11

    the problem is if one searched the files you locked they can access it without a password

  • @PsyNetwork
    @PsyNetwork 11 місяців тому

    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!

  • @WyattIsSmort
    @WyattIsSmort 4 місяці тому

    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

  • @SheoLIVE
    @SheoLIVE 11 місяців тому

    Amazing tutorial. Thank you!

  • @arsalan2276
    @arsalan2276 6 місяців тому

    this video was very helpful.Tnx bro!

  • @Kaito-Ipn
    @Kaito-Ipn Рік тому +1

    Genius, thank you so much!

  • @priscillachuke8584
    @priscillachuke8584 Рік тому +2

    Awesome, thank you

  • @akosiangelitoofficial1367
    @akosiangelitoofficial1367 Рік тому +1

    nice video sir it is very helpful

  • @dharunkarthik1798
    @dharunkarthik1798 Рік тому +1

    Good work brother👍

  • @stevenqing
    @stevenqing 29 днів тому

    What if I accidentally delete the .bat file before entering the password? Is everything gone too?

  • @mikemous17
    @mikemous17 11 місяців тому +1

    Super helpfull for my annoying friends!😂😂😂 Just kidding this is a perfect video that helped me very much! Thank you🥰

  • @ImNotVanish
    @ImNotVanish 10 місяців тому

    Thank you man this really helped much appreciated

  • @kaloyansabev3
    @kaloyansabev3 7 місяців тому

    really needed this, thanks

  • @z_6474
    @z_6474 Місяць тому

    thank you for making it simple :)

  • @georgejackson3114
    @georgejackson3114 Рік тому +1

    very good thank you!

  • @sivaraj6766
    @sivaraj6766 4 місяці тому

    Amazing...! Thank you 🙌

  • @Billlothy
    @Billlothy Рік тому +2

    THANK YOU SO MUCH

  • @kyleburke5570
    @kyleburke5570 11 місяців тому

    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.

  • @Cantzee
    @Cantzee Рік тому

    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

  • @mirzamohammadabbas2221
    @mirzamohammadabbas2221 Рік тому +4

    what to do if the folder is still hidden but the .bat file is deleted by mistake?? ANY way to retrieve the lost file

    • @Cwg.
      @Cwg. Рік тому +1

      Dont delete the folder i guess, Check recycling bin

    • @alessandrosomigli
      @alessandrosomigli Рік тому +3

      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.

  • @kursedaim
    @kursedaim 7 місяців тому

    what do you do if you accidentally deleted the files in the folderlock cause im trying to get mine back

  • @bjornjoseph
    @bjornjoseph 10 місяців тому

    when i double click on the batch file it flashes open then closes. the private folder isnt made as well. any suggestions?

  • @kulangnicogarang1876
    @kulangnicogarang1876 Рік тому +1

    that's awesome, thank you.

  • @ajoychetri2170
    @ajoychetri2170 10 місяців тому

    Awesome it worked. Thanks man

  • @MethinRathnayake
    @MethinRathnayake Рік тому +1

    thank you so much 😊

  • @halo99yo
    @halo99yo 11 місяців тому +1

    Does this simply hide the folder? What if I go into file explorer settings and click show hidden files?

    • @Sir_biscuit_the_third
      @Sir_biscuit_the_third Місяць тому

      it doesnt, I turned on see hidden files and cant find it, idk what it does to it

  • @thesciencekid3546
    @thesciencekid3546 Рік тому +2

    Thanks a lot!!!!!

  • @thomasneff5510
    @thomasneff5510 Рік тому

    awesome stuff thanks

  • @AshwaniKumar-zt9px
    @AshwaniKumar-zt9px 7 днів тому

    This method is good but a developer or a smart person can easily access the folder with command line or vs code like software

  • @NorysOfficial717
    @NorysOfficial717 Рік тому

    Too Helpful now my sis cannot be able to ruin my hw files

  • @LONEWOLF_275
    @LONEWOLF_275 7 місяців тому

    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.....

  • @salmanhirani94
    @salmanhirani94 Рік тому +1

    thank you

  • @Mc_Skibidi
    @Mc_Skibidi Рік тому

    thank you so much, this worked very well, now I can keep my private files away from my dad lol

  • @911_ADH
    @911_ADH 4 місяці тому

    Great video man thanx

  • @rsdgaming4747
    @rsdgaming4747 Рік тому

    Not work! Everything doing well but when dubble click patch file folder not creat

  • @AliAslam-ro1fn
    @AliAslam-ro1fn 18 днів тому

    What if someone delete that bat file how can I then get my files

  • @aeiou6410
    @aeiou6410 Рік тому

    Thanks!

  • @johnrafaelangeles3734
    @johnrafaelangeles3734 Рік тому

    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

  • @nkyiem
    @nkyiem Рік тому +1

    THANK YOU

  • @afonsosantos3418
    @afonsosantos3418 Рік тому +1

    Doesnt work, it created no folder called Private

  • @thwahaabdulbasith
    @thwahaabdulbasith Рік тому

    EXCELLENT DUDE

  • @gebremedhinabraha3516
    @gebremedhinabraha3516 Рік тому

    I can't get the GitHub code. Could you please assist me.

  • @aamir0980
    @aamir0980 27 днів тому

    thank you soo much brother❤❤❤❤❤❤

  • @zakaravich2192
    @zakaravich2192 Рік тому

    Can I store it to my hard drive and still be locked?

  • @shevonperera7938
    @shevonperera7938 Місяць тому

    this not secure as we can edit the bat file and we can see the password

  • @farmanzone24
    @farmanzone24 7 місяців тому

    Thanks ❤️

  • @emmanuelsiazuza7322
    @emmanuelsiazuza7322 8 місяців тому

    What if the person deletes the bat folder?

  • @techgg7270
    @techgg7270 11 місяців тому

    awesome bro thanku

  • @gamble7986
    @gamble7986 Рік тому

    will this work on chrome?

  • @mikeandrecabundocan1311
    @mikeandrecabundocan1311 Рік тому

    I can't open the file when I entered my password the file won't appear can someone help me?

  • @AkashTaral-zu8ku
    @AkashTaral-zu8ku 11 місяців тому

    Thanks Brother 😻

  • @gueneverkateweightman2014
    @gueneverkateweightman2014 Рік тому

    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.

  • @viktorsimon5167
    @viktorsimon5167 11 місяців тому

    Hi , i forgot ymy password. i tried looking for the note++ but it doesnt show in my show more option. do you know any solution for this?

    • @inomeekchunamlimbooc19d-cs46
      @inomeekchunamlimbooc19d-cs46 11 місяців тому

      That's because u don't have "notepad++" right click on the file and you'll see the "edit" option.. click on it and it'll open in notepad, u can find the password out there

  • @printstudio9853
    @printstudio9853 22 дні тому

    It worked 100%

  • @skyler13543
    @skyler13543 9 місяців тому

    What if we delete the text file

  • @EqualityMan76
    @EqualityMan76 11 місяців тому

    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.

  • @poetryaddict1
    @poetryaddict1 Рік тому

    Amazing! Thank you

  • @CivilontheGo
    @CivilontheGo Рік тому

    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

  • @christianrexrubia3237
    @christianrexrubia3237 11 місяців тому

    I press Y and it never hide the file

  • @mursalacademy7140
    @mursalacademy7140 Рік тому +1

    Thans bro may ALLAH give hidaya

  • @joaopereira2659
    @joaopereira2659 8 місяців тому

    i did that, but after a few weeks i unlocked the folder and the files in it desappeared!!!

  • @faizanullabaig1796
    @faizanullabaig1796 8 місяців тому

    What to do if files are missing????

  • @fuzzydark1395
    @fuzzydark1395 Рік тому +1

    All fun and games till you edit the batch file and see the password...

    • @hls6925
      @hls6925 Рік тому

      See my suggestion above!

  • @mulenganyangulu3937
    @mulenganyangulu3937 Рік тому

    Am kindly asking we're do you find the code and how do you paste it

  • @aeroflame6662
    @aeroflame6662 11 місяців тому

    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. ):

  • @dorothybediakoasare8911
    @dorothybediakoasare8911 Рік тому +1

    It worked

  • @divenlaxman1977
    @divenlaxman1977 Рік тому

    Cant find your coment to change password

  • @asaanand11
    @asaanand11 Рік тому

    It password showing in preview mode

  • @user-wh4gr6of6v
    @user-wh4gr6of6v 7 місяців тому

    MAN U ARE GREAT

  • @uruxul
    @uruxul 2 місяці тому

    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.

  • @Ryan-ed1lq
    @Ryan-ed1lq 26 днів тому

    Not really secure considering someone can just edit the bat file and change the password but kinda cool I guess

  • @LABOFINDIA
    @LABOFINDIA Рік тому

    Thanks dear
    I am from india

  • @onserutiri4359
    @onserutiri4359 Рік тому

    we all know what we using this for 😂

  • @user-vb9km7hn1p
    @user-vb9km7hn1p 11 місяців тому

    The Password can be easily skimmed by edit opening the BAT file. Ridiculous.

  • @kalpeshmhatre4409
    @kalpeshmhatre4409 Рік тому

    PERFECT

  • @aasifsanusi1734
    @aasifsanusi1734 Рік тому

    Pls I can't find the link 🥺

  • @SabirMallick-dw2js
    @SabirMallick-dw2js 2 місяці тому

    So not going to work for me, :)

  • @DAK52151
    @DAK52151 Рік тому +1

    MY ANTI-VIRUS SOFTWARE IS BLOCKING ME FROM EXECUTING THE FILE ROFKDPKSLKRSL'EASRL'''LE;SK

  • @usmanahmad6613
    @usmanahmad6613 Рік тому

    does not work

  • @christophersfeir
    @christophersfeir Рік тому

    how can I rename the private folder from the code

    • @SuperPaul2006
      @SuperPaul2006 Рік тому +1

      You can't.

    • @alessandrosomigli
      @alessandrosomigli Рік тому

      find every instance of the word "Private" in the file and replace it with whatever you want your folder name to be.

  • @CollinBale
    @CollinBale Рік тому

    is there to way I can't edit it without the password but the file still works running

  • @Beiguta
    @Beiguta 3 місяці тому

    So... Nothing stops people from editing the batch file and seeing the password in clear text? This is useless.

    • @Manoj-li6fv
      @Manoj-li6fv 2 місяці тому

      Delete the text doc

    • @Beiguta
      @Beiguta 2 місяці тому

      @@Manoj-li6fv The batch file is still editable...