{"id":349,"date":"2010-05-25T01:49:07","date_gmt":"2010-05-25T01:49:07","guid":{"rendered":"http:\/\/www.gilisoft.com\/blog\/?p=349"},"modified":"2010-08-17T05:08:14","modified_gmt":"2010-08-17T05:08:14","slug":"five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer","status":"publish","type":"post","link":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/","title":{"rendered":"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer."},"content":{"rendered":"<p>These days, hiding or locking a folder or file is probably something you will need if you use a computer that others use too.<\/p>\n<p>Let me introduce the 5 Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer.<\/p>\n<p><strong>Method 1 (the easy one)<\/strong><\/p>\n<p>1. Click \u201cStart\u201d, \u201cRun,\u201d and then type cmd. When the command prompt opens type \u201cCD C:\\Test\u201d (replace \u201cTest\u201d with the name of the folder you want to hide.)<\/p>\n<p>2. Now type \u201cattrib file +s +h\u201d and replace \u201cfile\u201d with the name of the actual file name you would like to hide.<\/p>\n<p>3. Now, go back to C:\\Test and look for your file or folder, it\u2019s not there! You cannot find it through simply browsing around, through the command prompt, or even if you click \u201cShow Hidden Files and Folders\u201d.<\/p>\n<p>4. To find the folder and it\u2019s contents again simply go back to the command prompt, type \u201cCD C:\\Test\u201d (of course, again replacing \u201cTest\u201d with the name of the folder,) and then type \u201cattrib filename -s -h\u201d. You should now be able to find your file again!<\/p>\n<p><strong>Method 2 (this is where it starts to get slightly more difficult)<\/strong><\/p>\n<p>This method, unlike the previous one, hides an entire drive instead of individual files or folders:<\/p>\n<p>(Before you ever use the registry I HIGHLY RECOMMEND backing up your registry with a tool similar to Registry Tool or CCleaner. You may as well use a manual method similar to this.)<\/p>\n<p>1. Go to \u201cStart,\u201d \u201cRun,\u201d and type regedit.<\/p>\n<p>2. When the registry editor loads, navigate to: HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\<br \/>\nPolicies\\Explorer<\/p>\n<p>3. Right click on \u201cExplorer\u201d and select \u201cNew\u201d and \u201cDWORD Value.\u201d<\/p>\n<p>4. Name the value NoDrives and select \u201cDecimal\u201d as the base.<\/p>\n<p>5. In the value type the number that corresponds with the drive below:<br \/>\n<img decoding=\"async\" title=\"drive1\" src=\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png\" alt=\"\" \/><\/p>\n<p>(E.g. If you would like to hide drive E, type 16. You may also hide multiple drives by adding the two numbers. E.g. If you would like to hide drives E and G, 16+64=80.)<\/p>\n<p>6. Now, after you restart your computer, you should not be able to see the drive.<\/p>\n<p><strong>Method 3<\/strong><\/p>\n<p>1. Create a folder in a drive for easy access, e.g. C:. (Name it something related to the Control Panel, e.g. Users.)<\/p>\n<p>2. Create a new file in Notepad and copy and paste the following into it:<\/p>\n<p>ren Users Users.{21EC2020-3AEA-1069-A2DD-08002B30309D}<\/p>\n<p>3. Replace \u201cUsers\u201d with the name of the folder you created and save the file as loc.bat.<\/p>\n<p>(You should now be able to see your folder and the loc.bat file, with the loc.bat in the same directory as the folder Not in it.)<\/p>\n<p>4. Now, right-click and create another text file. Copy and Paste the following into it:<\/p>\n<p>ren Users.{21EC2020-3AEA-1069-A2DD-08002B30309D} Users<br \/>\n(Make sure to replace the word \u201cUsers\u201d with the name of your folder.)<\/p>\n<p>5. Save it as key.bat.<\/p>\n<p>6. Now you should see the loc.bat and the key.bat files in the same directory as the folder you created.<\/p>\n<p>7. Now, all you need to do is double-click on the loc.bat file and the folder should have an icon that looks like the control panel. If you click on the folder it should redirect you to the Control Panel and thus you have locked the folder.<\/p>\n<p>8. Of course, to unlock it, simply double-click on the key.bat file and the folder should turn back into the folder you first created.<\/p>\n<p><img decoding=\"async\" title=\"drive1\" src=\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/hide11.png\" alt=\"\" \/><\/p>\n<p><strong>Method 4<\/strong><\/p>\n<p>Use <a href=\"http:\/\/gilisoft.com\/product-file-lock-pro.htm\">GiliSoft File Lock Pro<\/a> or GiliSoft File Lock to hide or lock any your files ,folders,drives on your computer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gilisoft.com\/images\/flp-screenshot.PNG\" alt=\"\" width=\"518\" height=\"358\" \/><\/p>\n<p><strong>Method 5<\/strong><\/p>\n<p>Use <a href=\"http:\/\/gilisoft.com\/product-private-disk.htm\">GiliSoft Private Disk<\/a> to create a virtual encryption disk to save your important files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/gilisoft.com\/images\/private-disk.png\" alt=\"\" width=\"521\" height=\"349\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These days, hiding or locking a folder or file is probably something you will need if you use a computer that others use too. Let me introduce the 5 Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. Method 1 (the easy one) 1. Click \u201cStart\u201d, \u201cRun,\u201d and then\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft\" \/>\n<meta property=\"og:description\" content=\"These days, hiding or locking a folder or file is probably something you will need if you use a computer that others use too. Let me introduce the 5 Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. Method 1 (the easy one) 1. Click \u201cStart\u201d, \u201cRun,\u201d and then\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\" \/>\n<meta property=\"og:site_name\" content=\"Gilisoft\" \/>\n<meta property=\"article:published_time\" content=\"2010-05-25T01:49:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-08-17T05:08:14+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png\" \/>\n<meta name=\"author\" content=\"Tom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\",\"url\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\",\"name\":\"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft\",\"isPartOf\":{\"@id\":\"https:\/\/www.gilisoft.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png\",\"datePublished\":\"2010-05-25T01:49:07+00:00\",\"dateModified\":\"2010-08-17T05:08:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/3ad725640a6ecadf94dedaaf14a3fcce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage\",\"url\":\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png\",\"contentUrl\":\"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.gilisoft.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/#website\",\"url\":\"https:\/\/www.gilisoft.com\/resources\/\",\"name\":\"Gilisoft\",\"description\":\"https:\/\/www.gilisoft.com\/resources\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.gilisoft.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/3ad725640a6ecadf94dedaaf14a3fcce\",\"name\":\"Tom\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3c14a77f24745e8e4a5720062c96917f901aaab33c8d86b8ba97bf59985faf6e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3c14a77f24745e8e4a5720062c96917f901aaab33c8d86b8ba97bf59985faf6e?s=96&d=mm&r=g\",\"caption\":\"Tom\"},\"url\":\"https:\/\/www.gilisoft.com\/resources\/author\/talker\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/","og_locale":"en_US","og_type":"article","og_title":"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft","og_description":"These days, hiding or locking a folder or file is probably something you will need if you use a computer that others use too. Let me introduce the 5 Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. Method 1 (the easy one) 1. Click \u201cStart\u201d, \u201cRun,\u201d and then\u2026 Read More &raquo;","og_url":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/","og_site_name":"Gilisoft","article_published_time":"2010-05-25T01:49:07+00:00","article_modified_time":"2010-08-17T05:08:14+00:00","og_image":[{"url":"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png","type":"","width":"","height":""}],"author":"Tom","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/","url":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/","name":"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer. - Gilisoft","isPartOf":{"@id":"https:\/\/www.gilisoft.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage"},"image":{"@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage"},"thumbnailUrl":"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png","datePublished":"2010-05-25T01:49:07+00:00","dateModified":"2010-08-17T05:08:14+00:00","author":{"@id":"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/3ad725640a6ecadf94dedaaf14a3fcce"},"breadcrumb":{"@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#primaryimage","url":"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png","contentUrl":"http:\/\/www.gilisoft.com\/blog\/wp-content\/uploads\/2010\/05\/drive1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.gilisoft.com\/resources\/five-ways-to-lock-or-hide-a-folder-a-file-or-a-drive-on-the-computer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gilisoft.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Five Ways to Lock Or Hide A Folder, A File Or A Drive On The Computer."}]},{"@type":"WebSite","@id":"https:\/\/www.gilisoft.com\/resources\/#website","url":"https:\/\/www.gilisoft.com\/resources\/","name":"Gilisoft","description":"https:\/\/www.gilisoft.com\/resources","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.gilisoft.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/3ad725640a6ecadf94dedaaf14a3fcce","name":"Tom","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gilisoft.com\/resources\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3c14a77f24745e8e4a5720062c96917f901aaab33c8d86b8ba97bf59985faf6e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3c14a77f24745e8e4a5720062c96917f901aaab33c8d86b8ba97bf59985faf6e?s=96&d=mm&r=g","caption":"Tom"},"url":"https:\/\/www.gilisoft.com\/resources\/author\/talker\/"}]}},"_links":{"self":[{"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":11,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":385,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/posts\/349\/revisions\/385"}],"wp:attachment":[{"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gilisoft.com\/resources\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}