How to Lock Folders in Windows 10 without Software

Опубликовано: 17 Апрель 2026
на канале: Tech Tap
21
2

How to Lock Folders in Windows 10 and make it private with password access. Keep it hidden from other users whether family and friends.

PLEASE NOTE: YouTube does not allow direct upload of small brackets into video descriptions. I had to uppercase two brackets (what looks like a right arrow near the bottom of your keyboard). You need to lowercase the braket (meaning small version of > instead of large one). in the following two locations: 1) immediately after cho= AND 2) pass= .Make sure you do not cut off the "" when you are typing this text in.

Code Used In Video (Please see above for special instructions)

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.
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
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

This tutorial applies to all type of machines like PC, Laptop, etc. from all manufacturer with Windows as operating system.
#Windows​​​​​ #Locked #Folder #Tutorial​​​​​​​​ #Windows10​​​​​​​​ #Nvidia​​​​​​​​ #AMD​​​​​​​​ #techtap​​​​​​​​​ #CONNECTWITHTECH​​​​​​​​​ #upcomingLeaks​​​​​​​​​ #Reviews​​​​​​​​​ #ProductAlternatives​​​​​​​​​ #Comparison​​​​​​​​​ #OtherProducts​​​​​​​​​

CONNECT WITH TECH!!!

Facebook:   / tech-tap-102...​  
Instagram:   / techtap.off...​  
Twitter:   / techtapofficial​​...​  
Music: https://www.bensound.com/​​​​​​​​​

So, Connect with Tech by Subscribing!