Files security and privacy is always important for everyone. Because sometimes your friends or relatives using your computer, in this situation some people don’t like to share important files folder to others. Many windows computer user protect their important files folder by using third party apps. But some default options available for hide important files folders without using third party apps.


Method 1: Hide folder using windows script

We can hide the folder by using windows command prompt script by doing following steps:

  1. Click here to open lock.txt file than copy and paste to notepad
  2. And rename the file to lock.bat
  3. Double click the lock.bat files, now new folder created call as SecureFolder
  4. Hide folder in windows

  5. Move all your important files in this folder
  6. Than double click the lock.bat file command prompt window will be appear with following questions. Are you sure want to hide the folder<Y/N>
  7. Hide folder

  8. Click Y. now SecureFolder will be hided.
  9. If you unhide the folder click again lock.bat file
  10. Than enter the password as 123456
  11. unhide folder in windows

  12. Now your SecureFolder will be visible
  13. If you would like to change password, right click and edit the lock.bat file and find the following line
    if NOT %pass%== 123456 goto FAIL
  14. Change the password 123456 to your own password as you wish


Method 2: Restrict Permission for user account

We can restrict permission for important files folder for guest account by doing following steps
hidden files and folder

  1. Select the folder as you wish to restrict permission
  2. Right click and select properties
  3. Then Select Security Tab and click Edit button
  4. Select the Guest user and provide all Deny permission and click Apply
  5. Now selected folder will be restricted
  6. If anyone login by using guest account, can’t access your important files folder


Method 3: Hide folder using Widows default option

We can hide important files folder using windows hidden folder option by doing following steps:
hidden folder

  1. Select the folder as you wish to hide than right click select properties
  2. Select Hidden option in General tab and click apply button
  3. Now your folder will be hide
  4. If you would like to unhide the folder, Press window key than Search Folder Options
  5. Folder Options window will be appear select View tab
  6. Select Show hidden files, folders or drives options
  7. Click apply button, now hidden files will be appear


If you liked this article, please subscribe to our YouTube channel for Technology videos.
The following two tabs change content below.
Jey Ganesh is a Tech Blogger of, Here you can find Technology, Internet and Mobile solutions. You can also engage with techThagavel via RSS, Newsletter. Email:


Comment :