{"id":64,"date":"2016-12-08T01:01:46","date_gmt":"2016-12-07T23:01:46","guid":{"rendered":"http:\/\/itsimple.info\/?p=64"},"modified":"2016-12-08T01:05:14","modified_gmt":"2016-12-07T23:05:14","slug":"migrating-windows-share-between-servers","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=64","title":{"rendered":"Migrating windows share between servers"},"content":{"rendered":"<p>In a scenario of upgrading windows server or re-installing servers the easiest way to preserve the windows shares is:<\/p>\n<ol>\n<li>Export the reg-key : right click on &#8220;shares&#8221;\u00a0 [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Shares] and then export to a file.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-66 aligncenter\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2016\/12\/Migrating_file_server_incl_share_and_NTFS_rights-1-300x171.png\" alt=\"\" width=\"360\" height=\"205\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2016\/12\/Migrating_file_server_incl_share_and_NTFS_rights-1-300x171.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2016\/12\/Migrating_file_server_incl_share_and_NTFS_rights-1.png 524w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<ol>\n<li>Edit the file : You can then edit the file and delete unwanted shares and security keys.<\/li>\n<li>Copy the files from the old server to the new one\u00a0 to the same drive : Its is important to keep the drivers same as they were on the old server. (C:\\ , D:\\ &#8230;) You must copy the file and preserve the ntfs security, better to copy with Total Commander or other way with the option to keep the security (SID)<\/li>\n<li>Replace the name of the old server with the new one so the login script will re-map the share folders as before<\/li>\n<li>Done with a smile \ud83d\ude42<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a scenario of upgrading windows server or re-installing servers the easiest way to preserve the windows shares is: Export the reg-key : right click on &#8220;shares&#8221;\u00a0 [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Shares] and then export to a file. Edit the file : You can then edit the file and delete unwanted shares and security keys. Copy the files from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,15],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}