How to Password Protect a Folder in Windows 11 | Lock Folder in Windows 11

Поділитися
Вставка
  • Опубліковано 2 жов 2023
  • This video guides about how to password protect a folder in windows 11.
    Locking a folder in Windows 11 with a password enhances security and privacy by preventing unauthorized access to sensitive or confidential files and data.
    To Set Password in Folder in Windows 11, follow the step by step guide.
    Here are the Steps to Lock Folder in Windows 11:
    1. Open the folder which you want to encrypt with password.
    2. Create a New Text File and paste the folder lock script provided.
    3. Replace "YOUR-PASSWORD" with the password you want to set for this folder.
    4. Save this text file as Batch File by adding ".bat" after the file name.
    5. Open the newly created batch file and you will see a Private Folder.
    6. Place all your content inside this Private Folder.
    7. Run the batch file again to hide and encrypt folder.
    You Folder is now locked and hidden.
    So that's how to password protect a folder in windows 11. If you face any problem during the whole process, ask me in comment section below, I will surely help.
    #lockfolder
    #passwordprotection
    #setpassword
    #windows11
    #folder
    #techrelatedtips
    how to password protect a folder in windows 11, how to set password in folder in windows 11, how to lock a folder in windows 11, how to lock folder in windows 11, folder lock for windows 11, lock folder in windows 11, password protect folder windows 11, how to protect folder with password in windows 11, protect folder with password windows 11, password protect a folder in windows 11, how to password protect folder in windows 11, password protect folder windows 11 home, how to password protect a zip folder in windows 11, windows 11 password protect folder, how to set password for folder in windows 11, how to set password to folder in windows 11, how to set password on folder in windows 11, how to set folder password in windows 11, how to set password in laptop folder windows 11, how to set password to a folder in windows 11, how to set password for a folder in windows 11, how to set password in pc folder windows 11, how to set password in a folder in windows 11, set password for folder in windows 11, how to set password on any folder in windows 11, set password on folder windows 11, how to set password in folder windows 11, how to set a password to a folder in windows 11, how to set password in laptop windows 11 folder, how to set a password in folder windows 11, set password to folder windows 11, how to set a password for folder in windows 11, how to set password in folder in laptop windows 11, set password in folder windows 11, how to set password for folder in windows 11, how to set password in windows 11 folder, how to set password on windows 11 folder, how to set password folder in windows 11, how to set a folder password in windows 11, set folder password windows 11, can we set password for folder in windows 11, how to set password to folder windows 11, how to lock folder in laptop windows 11, how to lock any folder in windows 11, windows 11 folder lock, how to lock folder in windows 11 with password, how to folder lock in windows 11, how to lock the folder in windows 11, how to lock a folder in windows 11 with password, how to create lock folder in windows 11, how to set lock for folder in windows 11, lock a folder windows 11, how to set lock to folder in windows 11, pc folder lock windows 11, how to lock a folder in laptop windows 11, folder lock in windows 11, how to hide and lock folder in windows 11, how to lock folder in pc windows 11, how to keep lock for folder in laptop windows 11, how to create a lock folder in windows 11, how to set lock on folder in windows 11, how to put folder lock in windows 11, how lock folder windows 11, how to lock folder in windows 11 home, how to apply lock on folder in windows 11, how to password lock folder in windows 11, how to put lock on folder windows 11, how to lock laptop folder with password windows 11
  • Наука та технологія

КОМЕНТАРІ • 38

  • @TechRelatedTips
    @TechRelatedTips  10 місяців тому +42

    Script to Lock Folder in Windows 11
    ---------------------------------------------------------
    @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

  • @adventurerandy
    @adventurerandy 5 місяців тому +1

    thank you so much. you helped me a lot.
    I highly recommend your channel to everyone in the world..

  • @nelburngamingtv4112
    @nelburngamingtv4112 2 дні тому

    Very Helpful Thanks a lot man>>>

  • @coolseterh7685
    @coolseterh7685 28 днів тому +1

    thanks it works! but when i made another folder did everything console just close automatically and i dont even do anything how do i fix this?

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

    Will it work on a shared network folder on a LAN where other workstations can access the password protected folder from their workstation?

  • @amirehrlich4969
    @amirehrlich4969 17 днів тому +1

    It works fine, thank you. BUT, when I click on the locked.bat file I can see its content in the preview window so anyone can see the password... How do I prevent this ?

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

    you are the best

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

    If it's external drive and connect to phone

  • @notop9770
    @notop9770 25 днів тому

    thx

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

    How to undo this batch

  • @sumon1488
    @sumon1488 19 днів тому +1

    tnx bro

  • @anshbansal3013
    @anshbansal3013 5 місяців тому +3

    It just hides the folder and does not make it password-protected actually.
    You just search the file name on the search bar below and ta-da!!! , anyone can access it.
    😅

    • @jameswaite4271
      @jameswaite4271 4 місяці тому +2

      Right but how is anyone gonna know the name of the folder

  • @mazaaymughal1633
    @mazaaymughal1633 20 днів тому +1

    Thanks Brother it was really helpful

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

    I'm forgotten my pswd how am I open the folder

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

      Don't worry its just hide the folder. Go into the same folder and search for the file name which you locked. when it comes open any folder from the folders you locked. and then go back you will find yourself in the same locked private folder.

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

    Bro it's doesn't work i create the lock.bat but when i double click then doesn't form a private folder 😭 how can i fix ?

    • @S-eq9gq
      @S-eq9gq 3 місяці тому

      Try run as administrator

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

      Bro for me also... How to solve

  • @nitishkornu2979
    @nitishkornu2979 3 місяці тому +1

    Bro i forgot my password is there any solution to unlock it ?🥺

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

      If you have the text file in your recycle bin then look for the password there

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

      Don't worry its just hide the folder. Go into the same folder and search for the file name which you locked. when it comes open any folder from the folders you locked. and then go back you will find yourself in the same locked private folder.

  • @RahulNaskar-np4ws
    @RahulNaskar-np4ws 2 місяці тому

    if anyone open the lock folder with any code editor they can get the code and unlock it. Its not the safe either lol

  • @arkasaha21
    @arkasaha21 7 місяців тому +1

    here it is shown access denied

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

    Nahi hua

  • @vardapetyan
    @vardapetyan 2 місяці тому +1

    Kid's level protection. Anyone can open the batch file in a text editor and clearly see the password.

    • @StudyAllTimeSAT
      @StudyAllTimeSAT Місяць тому +2

      U can easily avoid this by changing the settings in security tab of batch file. Choose authentication to disallowed full control and remove that whole option. Next time no one can open or delete that file.

    • @dmdreddy5499
      @dmdreddy5499 5 днів тому

      @@StudyAllTimeSATwhat about recovery when folder is locked and we forget our password?