{"id":437,"date":"2012-06-13T03:48:47","date_gmt":"2012-06-13T11:48:47","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=437"},"modified":"2012-06-13T03:48:47","modified_gmt":"2012-06-13T11:48:47","slug":"win7-mapped-drives-reconnection-problem","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2012\/06\/13\/win7-mapped-drives-reconnection-problem\/","title":{"rendered":"Win7 mapped drives reconnection problem"},"content":{"rendered":"<p>Drive mapping with XP was incredibly easy.<br \/>\nIt&#8217;s kind of broken in Win7, at least it&#8217;s not done the same way.<\/p>\n<p>In Win7 you cannot save the password when you map a drive using a different user than the logged in user. (You can map the drives as described below but you will always have to enter the password\u00a0 though the username will persist)<\/p>\n<p>This command line should work (it did in XP)<br \/>\nnet use x: \u00a0\u00a0 &#8220;\\\\12.12.12.1\\shared folder name&#8221;\u00a0\u00a0\u00a0\u00a0 user:workgroup\\username\u00a0\u00a0 password\u00a0\u00a0 \/persistent:yes<\/p>\n<p>That command line should work, but Win7 will not remember the password.<\/p>\n<p>There are two things I tried without success:<\/p>\n<p>First, in the Group Policies Editor (start orb type &#8220;<em>gpedit.msc<\/em>&#8220;, then open each of the following items in turn:<\/p>\n<p>Computer Configuration<br \/>\nWindows Settings<br \/>\nSecurity Settings<br \/>\nLocal Policies<br \/>\nSecurity Options<\/p>\n<p>Right-click on the \u201cNetwork security: LAN Manager authentication level\u201d policy item, and then, from the context (pop-up) menu, select \u201cProperties\u201d.<\/p>\n<p>Now select the \u201cLocal Security Settings\u201d tab, and then, in the dropdown box, locate and select \u201cSend LM &amp; NTLM \u2013 user NTLMv2 session security if negotiated\u201d.<\/p>\n<p>Now when you log off and log in again Win7 will remember the password (again, unless you are logging in as a different user).<\/p>\n<p>If that doesn&#8217;t help then here&#8217;s a command prompt or batch file script (watch for line wraps) to create a credential (you could do a similar action with Credential Manager) :<\/p>\n<p>_____Command line first creates a mapped drive then creates the credential____________________<\/p>\n<p>net use x: \u00a0\u00a0 &#8220;\\\\12.12.12.1\\shared folder name&#8221;\u00a0\u00a0\u00a0\u00a0 user:workgroup\\username\u00a0\u00a0 password\u00a0\u00a0 \/persistent:yes<\/p>\n<p>cmdkey\u00a0\u00a0 \/add \u00a0 \u00a0\u00a0 \\\\12.12.12.1\u00a0\u00a0\u00a0\u00a0 \/user:workgroup\\username\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/pass:password<\/p>\n<p>rem &gt;&gt;&gt;&gt; You should have seen &#8220;success&#8221; after each of the commands<br \/>\npause<br \/>\n___________________________________<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drive mapping with XP was incredibly easy. It&#8217;s kind of broken in Win7, at least it&#8217;s not done the same way. In Win7 you cannot save the password when you map a drive using a different user than the logged in user. (You can map the drives as described below but you will always have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-437","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=437"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/437\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}