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

Комментарии • 133

  • @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!

  • @hls6925
    @hls6925 Год назад +6

    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.

  • @willienakiz
    @willienakiz Год назад +1

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

  • @mohamedjamal7261
    @mohamedjamal7261 Год назад +3

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

  • @ianwilson5156
    @ianwilson5156 Год назад +8

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

  • @lenny108
    @lenny108 4 месяца назад

    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.

  • @notshloakrblx
    @notshloakrblx 2 месяца назад +1

    oh this is fake cuz it doesnt work lol

  • @stevenqing
    @stevenqing 2 месяца назад +1

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

  • @kaloyansabev3
    @kaloyansabev3 8 месяцев назад

    really needed this, thanks

  • @dharunkarthik1798
    @dharunkarthik1798 Год назад +1

    Good work brother👍

  • @arsalan2276
    @arsalan2276 7 месяцев назад

    this video was very helpful.Tnx bro!

  • @jackrobbo8317
    @jackrobbo8317 Год назад +12

    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!

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

  • @ImNotVanish
    @ImNotVanish 11 месяцев назад

    Thank you man this really helped much appreciated

  • @uruxul
    @uruxul 4 месяца назад

    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.

  • @Billlothy
    @Billlothy Год назад +2

    THANK YOU SO MUCH

  • @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

  • @sivaraj6766
    @sivaraj6766 6 месяцев назад

    Amazing...! Thank you 🙌

  • @GMsMusic-c1h
    @GMsMusic-c1h Год назад +3

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

  • @WyattIsSmort
    @WyattIsSmort 5 месяцев назад

    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

  • @mursalacademy7140
    @mursalacademy7140 Год назад +1

    Thans bro may ALLAH give hidaya

  • @Ryan-ed1lq
    @Ryan-ed1lq 2 месяца назад

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

  • @AshwaniKumar-zt9px
    @AshwaniKumar-zt9px Месяц назад

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

  • @z_6474
    @z_6474 2 месяца назад

    thank you for making it simple :)

  • @remhayftaneges9950
    @remhayftaneges9950 Год назад +13

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

  • @akosiangelitoofficial1367
    @akosiangelitoofficial1367 Год назад +1

    nice video sir it is very helpful

  • @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. Год назад +2

      Dont delete the folder i guess, Check recycling bin

    • @alessandrosomigli
      @alessandrosomigli Год назад +4

      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.

  • @DAK52151
    @DAK52151 Год назад +1

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

  • @arize_abi01
    @arize_abi01 6 дней назад

    thank you bro you helped me

  • @afonsosantos3418
    @afonsosantos3418 Год назад +1

    Doesnt work, it created no folder called Private

  • @mikemous17
    @mikemous17 Год назад +1

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

  • @chester_ville_4066
    @chester_ville_4066 День назад

    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`

  • @besanomar1829
    @besanomar1829 Год назад +2

    This was very helpful
    thank you🌼

  • @thomasneff5510
    @thomasneff5510 Год назад

    awesome stuff thanks

  • @shevonperera7938
    @shevonperera7938 2 месяца назад

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

  • @aamir0980
    @aamir0980 2 месяца назад

    thank you soo much brother❤❤❤❤❤❤

  • @halo99yo
    @halo99yo Год назад +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 2 месяца назад

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

  • @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 2 месяца назад

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

  • @poetryaddict1
    @poetryaddict1 Год назад

    Amazing! 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

  • @BlockchainShango
    @BlockchainShango 5 месяцев назад

    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 😅

  • @LONEWOLF_275
    @LONEWOLF_275 8 месяцев назад

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

  • @EqualityMan76
    @EqualityMan76 Год назад

    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.

  • @SabirMallick-dw2js
    @SabirMallick-dw2js 3 месяца назад

    So not going to work for me, :)

  • @fuzzydark1395
    @fuzzydark1395 Год назад +1

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

    • @hls6925
      @hls6925 Год назад

      See my suggestion above!

  • @aeiou6410
    @aeiou6410 Год назад

    Thanks!

  • @rsdgaming4747
    @rsdgaming4747 Год назад

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

  • @UNCENSOREDMEDIAHOUSE
    @UNCENSOREDMEDIAHOUSE Год назад

    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

  • @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!

  • @printstudio9853
    @printstudio9853 2 месяца назад

    It worked 100%

  • @joaopereira2659
    @joaopereira2659 9 месяцев назад

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

  • @salmanhirani94
    @salmanhirani94 Год назад +1

    thank you

  • @bjornjoseph
    @bjornjoseph 11 месяцев назад

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

  • @mikeandrecabundocan1311
    @mikeandrecabundocan1311 Год назад

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

  • @priscillachuke8584
    @priscillachuke8584 Год назад +2

    Awesome, thank you

  • @kulangnicogarang1876
    @kulangnicogarang1876 Год назад +1

    that's awesome, thank you.

  • @kyleburke5570
    @kyleburke5570 Год назад

    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.

  • @gebremedhinabraha3516
    @gebremedhinabraha3516 Год назад

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

  • @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

  • @nimbussfa1674
    @nimbussfa1674 8 месяцев назад

    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?

  • @nkyiem
    @nkyiem Год назад +1

    THANK YOU

  • @Beiguta
    @Beiguta 4 месяца назад

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

    • @Manoj-li6fv
      @Manoj-li6fv 3 месяца назад

      Delete the text doc

    • @Beiguta
      @Beiguta 3 месяца назад

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

  • @thesciencekid3546
    @thesciencekid3546 Год назад +2

    Thanks a lot!!!!!

  • @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

  • @NorysOfficial717
    @NorysOfficial717 Год назад

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

  • @farmanzone24
    @farmanzone24 8 месяцев назад

    Thanks ❤️

  • @Kaito-Ipn
    @Kaito-Ipn Год назад +1

    Genius, thank you so much!

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

  • @SakePL
    @SakePL 11 месяцев назад

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

  • @onserutiri4359
    @onserutiri4359 Год назад

    we all know what we using this for 😂

  • @georgejackson3114
    @georgejackson3114 Год назад +1

    very good thank you!

  • @0xSpoon
    @0xSpoon Год назад +1

    Awesome! Thank you!

  • @Edek3221
    @Edek3221 8 месяцев назад

    to wirus

  • @MethinRathnayake
    @MethinRathnayake Год назад +1

    thank you so much 😊

  • @HamzaTuranKubulay
    @HamzaTuranKubulay Год назад

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

  • @divenlaxman1977
    @divenlaxman1977 Год назад

    Cant find your coment to change password

  • @zakaravich2192
    @zakaravich2192 Год назад

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

  • @mohamedmuse08
    @mohamedmuse08 Год назад

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

  • @faizanullabaig1796
    @faizanullabaig1796 9 месяцев назад

    What to do if files are missing????

  • @PsyNetwork
    @PsyNetwork Год назад

    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!

  • @CollinBale
    @CollinBale Год назад

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

  • @techgg7270
    @techgg7270 Год назад

    awesome bro thanku

  • @emmanuelsiazuza7322
    @emmanuelsiazuza7322 9 месяцев назад

    What if the person deletes the bat folder?

  • @dailyinfoactivate6574
    @dailyinfoactivate6574 4 месяца назад

    I forgot password sir

    • @WebproeducationOrgTechnology
      @WebproeducationOrgTechnology  4 месяца назад

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

  • @christianrexrubia3237
    @christianrexrubia3237 Год назад

    I press Y and it never hide the file

  • @dorothybediakoasare8911
    @dorothybediakoasare8911 Год назад +1

    It worked

  • @AliAslam-ro1fn
    @AliAslam-ro1fn Месяц назад

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

  • @usmanahmad6613
    @usmanahmad6613 Год назад

    does not work

  • @SheoLIVE
    @SheoLIVE Год назад

    Amazing tutorial. Thank you!

  • @AkashTaral-zu8ku
    @AkashTaral-zu8ku Год назад

    Thanks Brother 😻

  • @skyler13543
    @skyler13543 10 месяцев назад

    What if we delete the text file

  • @911_ADH
    @911_ADH 5 месяцев назад

    Great video man thanx

  • @LABOFINDIA
    @LABOFINDIA Год назад

    Thanks dear
    I am from india

  • @thwahaabdulbasith
    @thwahaabdulbasith Год назад

    EXCELLENT DUDE

  • @mrpcguy-b1j
    @mrpcguy-b1j 9 месяцев назад

    MAN U ARE GREAT

  • @aeroflame6662
    @aeroflame6662 Год назад

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

  • @ajoychetri2170
    @ajoychetri2170 11 месяцев назад

    Awesome it worked. Thanks man

  • @gamble7986
    @gamble7986 Год назад

    will this work on chrome?

  • @mulenganyangulu3937
    @mulenganyangulu3937 Год назад

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

  • @asaanand11
    @asaanand11 Год назад

    It password showing in preview mode