Click Ctrl + Shift + Enter to open an elevated Command Prompt. Right-click on the file or folder, click. Here’s how you can get started with securing your files via the Command Prompt. Step 2: The hidden file or folder should now appear in its original location, but the icon will be faded out. When you’re done, double-click the FolderLock. Under the View tab, select the radio button labeled Show hidden files, folders, and drives option. Once youve entered a password in both fields, the Next > button should be enabled. Step 5) Hit Ok Step 6) Press Apply and then press Ok. Step 4) Check the Encrypt contents to secure data option. If you want to make sure that theyre both the same and that theyre what you typed in, tick the 'Display password' box. You can perform the following steps to lock a folder in Windows 10: Step 1) Right click on any folder. Drag and drop all the files you want to hide and lock into the folder. After entering the size, click on Next > Choose a (strong) password and enter it in the two boxes.
#How do i lock a folder in windows 10 code
Open this text document, Copy below lines of code and Enter your password in place of “ Your-Password-Here text”.Ĭls OFF title Folder Locker if EXIST “Control Panel. Now double-click on the FolderLock.bat file and a new folder named Locker will be created.