How to lock a folder in windows 11 without software

Поделиться
HTML-код
  • Опубликовано: 29 окт 2023
  • Let's see how to lock folders in Windows 11 without any software
    Code ............In Pin Comment ..............
    ************************************************************************************
    If you are really interested in my video please follow me on RUclips and Facebook
    ………………………………………………………………………………………………….
    Subscribe to my channel: / channel
    FACEBOOK GROUP: / 411530109484518
    FACEBOOK PAGE: / itmagicsbd
    …………………………………………………………………………………………………..
    Background music: / channel
  • ХоббиХобби

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

  • @ITMagics
    @ITMagics  8 месяцев назад +65

    @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

  • @devid528
    @devid528 3 месяца назад +1

    This video is really helpful thank you so much

  • @MdEmon-sb1jt
    @MdEmon-sb1jt 18 дней назад +2

    Helpful video.Thank you so much

    • @ITMagics
      @ITMagics  17 дней назад +1

      So nice of you

  • @user-nf7nk3ti9e
    @user-nf7nk3ti9e 3 месяца назад +2

    Hi IT Magics, first say sorry for my english is not good.
    few many days i used this folder lock bat file, but now my folder lock bat file does not work in windows 10. Its said , ("windows can not access the specified device, path, or file. you may not have the appropriate permissions to access the item"). please give us this problems solution , how can we back our files and documents.

  • @arsalanshaikh507
    @arsalanshaikh507 Месяц назад +1

    so i have a little issue here. i used it a few times. Now that i am trying to lock the folder again by pressing y , it isnt locking the folder. What should I do?

  • @GameSpaX
    @GameSpaX 8 месяцев назад +1

    Bro mery router mai yellow port or gray port hai tu mai kis py lago from router to PC cable are blue please tell me 🙏

  • @HrishikeshHalder-tx2ub
    @HrishikeshHalder-tx2ub 8 дней назад +1

    Thank you so much sir ❤❤🫶❤❤🫶

  • @user-ei4qc7ss6w
    @user-ei4qc7ss6w 3 месяца назад +1

    Works only single time

  • @novus1184
    @novus1184 День назад +1

    If u forget the password just go to view in file explorer and tick "show hidden items" your file will be visible where you made it.

  • @yogendrakhapangi5974
    @yogendrakhapangi5974 3 месяца назад +1

    thanks bro this really helpful❤❤❤❤

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

      No problem 👍

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

      @@ITMagics how to remove from it\??

  • @user-qr5wz4hk8c
    @user-qr5wz4hk8c 5 месяцев назад +1

    thank you sooooooooooooooooooooooooooooooooooooo muchhhhhhh

  • @Elite_175
    @Elite_175 2 месяца назад +3

    cant people just click on edit and see the password...

  • @Bkapilgautam
    @Bkapilgautam 7 месяцев назад +1

    bro how to relock this after open this

  • @gmtutul
    @gmtutul Месяц назад +1

    Work Done. Nice

  • @hectorrm3362
    @hectorrm3362 4 месяца назад +1

    Those who finding the solution to retrive the pass if forgot , then write clink on the file and open with notepad the you can simply see the password

  • @nikoruudesu9384
    @nikoruudesu9384 3 месяца назад +1

    Thanks!!!

    • @ITMagics
      @ITMagics  3 месяца назад +1

      No problem!

  • @ignoreme6802
    @ignoreme6802 4 месяца назад +1

    Lock kaise hataye

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

    Thank you

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

      You're welcome

  • @mayankdubey2213
    @mayankdubey2213 4 месяца назад +1

    ITMagics please help it showing below error.
    window cannot access the specified device, path,or file. you may not appropriate permission to access the item.

  • @sakibonthego958
    @sakibonthego958 5 месяцев назад +1

    brother i have lost my file now when i click on it is says that you have no permission to open it plz help i have manny document in it

  • @Aarthi2326
    @Aarthi2326 5 месяцев назад +2

    In case created bat file is delete means how to get back the data

  • @rubenzaspajr3617
    @rubenzaspajr3617 6 месяцев назад +1

    I tried this and after a month, my files was gone, any solution to retrieve?

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

      EDIT and NEW CODE. SAVE CHANGES The new password will be 123. so you can recover the files again. :)
      @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%== 123 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

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

    my antivirus has detected some virus in it

  • @MeetSoni-pn8zr
    @MeetSoni-pn8zr Месяц назад

    Bro me password bhulgaya hu ab kya karu please reply kardoooooooooo

  • @the360eyerider
    @the360eyerider 7 месяцев назад +5

    I did this but when i am entering my password, nothing is happening, still locked, please help

  • @mousequeen7220
    @mousequeen7220 8 месяцев назад +1

    You can also encrypt a folder in properties.

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

      How?? Tell stepwise procedure

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

      @@darshanbendale Right click the folder you want to encrypt and at the bottom click advanced, then also at the bottom should be an option to encrypt the folder. Now when a different user (or someone who for example stole your hardrive) will see the folder, (I am pretty sure the name is green in windows.) but will not be able to open it.

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

      @@darshanbendale for me it doesnt work but, here is for windows 11:
      rightclick the file
      properties,
      Within general go to advantaced,
      click on/turn on "Encrypt content to secure data"
      hope it works for you, for me it is grayed out so i cant help pass this point

    • @user-qr5wz4hk8c
      @user-qr5wz4hk8c 5 месяцев назад

      it's works
      @@mousequeen7220

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

      @@WolfyLex4H Maybe you tried it on a flash drive that doesn't use the NTFS filesystem, which this might require?

  • @mdkamrujjaman1891
    @mdkamrujjaman1891 Месяц назад +1

    thanks

  • @parassingh5084
    @parassingh5084 7 месяцев назад +1

    I'm unable to reopen my locked folder... please help

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

      ruclips.net/video/2qwW6Grtd-g/видео.html

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

      EDIT and NEW CODE. SAVE CHANGES The new password will be 123. so you can recover the files again. :)
      @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%== 123 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

  • @shivangimishra1405
    @shivangimishra1405 Месяц назад +2

    Hi... Actually I lost my lock.bat file... Can you please help me to recover my data

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

    Window's block it what can i do now ?

  • @nakti_jay_04
    @nakti_jay_04 8 месяцев назад +4

    Hi I done this same process but what If this locked folders password is forget...... Any solution.... I lock my personal photos and I forget password..

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

      I'm also facing the same problem if you find solution share with me to

    • @stockbox4215
      @stockbox4215 6 месяцев назад +3

      You forgot the password but dont worry because you have the lock.bat file, so just right click the .bat file and change the extension to .txt from .bat and once you have the lock.txt file double click it and see your password and then again change it to .bat file and use the password to open your private folder❤

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

      what if we don't have the .bat file @@stockbox4215

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

      i know the solution

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

      Same here

  • @thienvo4174
    @thienvo4174 Месяц назад +1

    love u

  • @nirphotoartjaiminbhavsar6782
    @nirphotoartjaiminbhavsar6782 8 месяцев назад +1

    Hello sr bat code please

    • @ITMagics
      @ITMagics  8 месяцев назад +1

      @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

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

      cls
      @ECHO OFF
      title Folder Locker
      if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
      if NOT EXIST Locker goto MDLOCKER
      :CONFIRM
      echo Are you sure u want to Lock the 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.
      pause
      goto CONFIRM
      :LOCK
      ren Locker "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 folder
      set/p "pass=>"
      if NOT %pass%==YOUR PASSWORD HERE goto FAIL
      attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
      ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
      echo Folder Unlocked successfully
      goto End
      :FAIL
      echo Invalid password
      pause
      goto end
      :MDLOCKER
      md Locker
      echo Locker created successfully
      pause
      goto End
      :End

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

      ​@@ITMagics can it works in big folder

  • @pikkilidinu9703
    @pikkilidinu9703 5 месяцев назад +2

    Fake its not getting unlock

  • @user-yf5np1xj6k
    @user-yf5np1xj6k 3 месяца назад +1

    Please Help me!
    In this link: m.ruclips.net/video/ZyTbFFZ_bOs/видео.html
    Which show how to hide files on computer with (.bat) files, i followed the steps. I hide the file i wanted, then I renamed the (.bad) file the name «101» without the «.bat» at the end for extra security and then I changed the location of the file. After a while I went to the folder where the file «101» is located, I renamed it by simply putting the «101.bat», I opened it, I put the asked password correctly, the private folder appeared, I opened it and there was nothing inside. What happened, Is my file lost? Please answer me!