{"id":2672,"date":"2015-01-12T17:25:41","date_gmt":"2015-01-12T16:25:41","guid":{"rendered":"http:\/\/www.razumny.no\/?p=2672"},"modified":"2020-11-25T13:41:53","modified_gmt":"2020-11-25T12:41:53","slug":"disconnect-non-mapped-drive","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=2672","title":{"rendered":"Disconnect non-mapped drive"},"content":{"rendered":"<p>From time to time, I have been\u00a0unable to connect to the UNC path of a network share. The error message I\u00a0get is:<\/p>\n<p><a href=\"https:\/\/www.razumny.no\/?p=2672\" rel=\"attachment wp-att-2774\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2774\" src=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/error.png?resize=494%2C199\" alt=\"The network folder specified is currently mapped using a different user name and password\" width=\"494\" height=\"199\" srcset=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/error.png?w=494&amp;ssl=1 494w, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/error.png?resize=300%2C121&amp;ssl=1 300w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p>This usually happens when I am remotely connected to another user&#8217;s computer. The message is straight-forward enough;\u00a0so, too, is the solution. You\u00a0simply need to disconnect from the share. Here&#8217;s how:<\/p>\n<ol>\n<li>Open a command line window<\/li>\n<li>Enter the command <code>net use<\/code><\/li>\n<li>Find the mapped path in the resulting list<\/li>\n<li>Enter <code>net use \\\\server\\path \/delete<\/code><\/li>\n<\/ol>\n<p>That&#8217;s going to take care of it, and you should now be able to map the share as you normally would.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From time to time, I have been\u00a0unable to connect to the UNC path of a network share. The error message I\u00a0get is: This usually happens when I am remotely connected to another user&#8217;s computer. The message is straight-forward enough;\u00a0so, too, is the solution. You\u00a0simply need to disconnect from the share. Here&#8217;s how: Open a command [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[615,360,677],"tags":[862,863],"class_list":["post-2672","post","type-post","status-publish","format-standard","hentry","category-how-to-2","category-microsoft-windows","category-tips-tricks","tag-net-use","tag-unc-path"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-H6","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4027,"url":"https:\/\/www.razumny.no\/?p=4027","url_meta":{"origin":2672,"position":0},"title":"Access UNC paths from the Windows command line","author":"Aleksander Nordgarden-R\u00f8dner","date":"04\/02\/2019","format":false,"excerpt":"I am, with surprising regularity, faced with the need to access UNC paths\u00a0from the command line, as that is perhaps pretty much the quickest way to browse to network shares with a different user than the one currently logged in. There's just one issue: the Windows command line does not\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5500,"url":"https:\/\/www.razumny.no\/?p=5500","url_meta":{"origin":2672,"position":1},"title":"PowerShell: Check Remote Computer Disk Capacity","author":"Aleksander Nordgarden-R\u00f8dner","date":"15\/06\/2020","format":false,"excerpt":"From time to time, I get tickets where one of many possible root causes may be a full disk. While accessing this information over RDP is often an option, it is rather more intrusive than needed. What's more, I usually don't have access to access file servers over RDP. Enter\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-25.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-25.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-25.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-25.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5045,"url":"https:\/\/www.razumny.no\/?p=5045","url_meta":{"origin":2672,"position":2},"title":"Drives mapped through login scripts unavailable from Windows Explorer","author":"Aleksander Nordgarden-R\u00f8dner","date":"11\/02\/2019","format":false,"excerpt":"Every so often, a customer will call in, saying that they are unable to access one of the servers that are mapped through their login script. There are generally two reasons for this; either there's an issue with the network connection, or the drive letter is already being used for\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3736,"url":"https:\/\/www.razumny.no\/?p=3736","url_meta":{"origin":2672,"position":3},"title":"Resolving Error 1312 when mapping a folder on a network share","author":"Aleksander Nordgarden-R\u00f8dner","date":"22\/08\/2016","format":false,"excerpt":"Some time ago, I was talking to a user on the phone, while\u00a0remotely controlling their computer. I needed to connect to a folder on a network share\u00a0as my admin account, rather than that of the logged-in user, but kept running into the following error: Error 1312: A specified logon session\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5442,"url":"https:\/\/www.razumny.no\/?p=5442","url_meta":{"origin":2672,"position":4},"title":"Look up AD User Password expiration date","author":"Aleksander Nordgarden-R\u00f8dner","date":"13\/04\/2020","format":false,"excerpt":"A little while ago, I had a user call in and ask when their password would expire. Luckily, this information is readily accessible if you know where - and how - to look. Here's how: Open a command promptEnter the command net user %USERNAME% \/domainRead the information from the results:\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"Screenshot of the result of the command net use %USERNAME% \/domain","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-14.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":96,"url":"https:\/\/www.razumny.no\/?p=96","url_meta":{"origin":2672,"position":5},"title":"Finding the name of a service","author":"Aleksander Nordgarden-R\u00f8dner","date":"20\/10\/2008","format":false,"excerpt":"In my last post, I showed you how to use a batch script to start a service from a desktop shortcut. The command we used was the net start command. In order to use it, you need to find the name of the service you want to start. Here's how:\u2026","rel":"","context":"In &quot;Microsoft Windows&quot;","block_context":{"text":"Microsoft Windows","link":"https:\/\/www.razumny.no\/?cat=360"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2672"}],"version-history":[{"count":5,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2672\/revisions"}],"predecessor-version":[{"id":5788,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2672\/revisions\/5788"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}