{"id":18821,"date":"2022-08-16T04:22:29","date_gmt":"2022-08-16T04:22:29","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=18821"},"modified":"2022-08-16T04:22:29","modified_gmt":"2022-08-16T04:22:29","slug":"mount-a-folder-as-virtual-drive-in-windows","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/mount-a-folder-as-virtual-drive-in-windows\/","title":{"rendered":"How to Mount a Folder as Virtual Drive in Windows 11 \/ 10"},"content":{"rendered":"<p>Is it possible to mount a directory as a drive in Windows 11? You can use the built-in command <code>subst<\/code> in Windows to mount any folder as a drive, so you can access the contents of that folder from either the original location or your virtual drive. In this tutorial we&#8217;ll show you how to mount a folder as virtual drive in Windows 11 \/ 10, without using third-party software.<\/p>\n<p><strong>How to Mount a Folder as Virtual Drive in Windows 11 \/ 10<\/strong><\/p>\n<ol>\n<li>Right-click the blank area of desktop and choose <strong>New<\/strong> -&gt; <strong>Shortcut<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/05\/new-shortcut.jpg\" alt=\"\" width=\"500\" height=\"288\" class=\"alignnone size-full wp-image-18327\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/05\/new-shortcut.jpg 500w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/05\/new-shortcut-300x173.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/>\n<\/li>\n<li>In the location box, enter the following command. Replace <code>folder_location<\/code> with the full path of the folder which you would like to mount and <code>Z:<\/code> with the letter of the virtual drive.<br \/>\n \t<code>subst Z: \"folder_location\"<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-mount-folder-as-drive.png\" alt=\"\" width=\"584\" height=\"430\" class=\"alignnone size-full wp-image-18827\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-mount-folder-as-drive.png 584w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-mount-folder-as-drive-300x221.png 300w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/>\n<\/li>\n<li>Type the shortcut name of your choice, and click <strong>Finish<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/enter-shortcut-name.png\" alt=\"\" width=\"584\" height=\"426\" class=\"alignnone size-full wp-image-18828\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/enter-shortcut-name.png 584w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/enter-shortcut-name-300x219.png 300w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/>\n<\/li>\n<li>Double-click the newly-created desktop shortcut, and a virtual drive will appear in File Explorer.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/virtual-drive.png\" alt=\"\" width=\"468\" height=\"286\" class=\"alignnone size-full wp-image-18829\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/virtual-drive.png 468w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/virtual-drive-300x183.png 300w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/>\n<\/li>\n<\/ol>\n<p><strong>Dismount the Virtual Drive<\/strong><\/p>\n<p>When you log off your user account or restart the computer, the virtual drive will dismount automatically. The next time you sign into Windows, the virtual drive will not show up and you need to double-click the desktop shortcut you created earlier to mount the folder as a virtual drive.<\/p>\n<p>If you need to dismount the virtual drive immediately, follow these steps:<\/p>\n<ol>\n<li>Right-click the <strong>Start<\/strong> button in the taskbar and select <strong>Windows Terminal<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/000768.png\" alt=\"\" width=\"485\" height=\"379\" class=\"alignnone size-full wp-image-18832\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/000768.png 485w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/000768-300x234.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/>\n<\/li>\n<li>Execute the following command. Replace <code>Z:<\/code> with the letter of your virtual drive.<br \/>\n<code>subst Z: \/d<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-dismount-drive.png\" alt=\"\" width=\"538\" height=\"229\" class=\"alignnone size-full wp-image-18830\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-dismount-drive.png 538w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/08\/subst-dismount-drive-300x128.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<p><strong>Note<\/strong>: If you open Windows Terminal as administrator, you&#8217;ll get the error message &#8220;<em>Invalid parameter<\/em>&#8221; when you run the above command.\n<\/li>\n<\/ol>\n<p>That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Is it possible to mount a directory as a drive in Windows 11? You can use the built-in command subst in Windows to mount any folder as a drive, so you can access the contents of that folder from either the original location or your virtual drive. In this tutorial we&#8217;ll show you how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894,4713],"tags":[4998,4999],"class_list":["post-18821","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","category-windows-11","tag-mount-folder-as-drive-windows-10","tag-mount-folder-as-drive-windows-11"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/18821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=18821"}],"version-history":[{"count":13,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/18821\/revisions"}],"predecessor-version":[{"id":18839,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/18821\/revisions\/18839"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=18821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=18821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=18821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}