{"id":420,"date":"2020-05-31T21:53:07","date_gmt":"2020-06-01T04:53:07","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=420"},"modified":"2020-05-31T21:53:07","modified_gmt":"2020-06-01T04:53:07","slug":"how-to-move-winsxs-and-installer-folder-to-another-partition","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=420","title":{"rendered":"How to move WinSxS and Installer folder to another partition"},"content":{"rendered":"\n<p><strong>How to move WinSxS\/Installer folder to another partition<\/strong><\/p>\n\n\n\n<p><strong>Please try moving the Installer folder first; it is safer than moving WinSxS folder.<\/strong><\/p>\n\n\n\n<p>Read before action:<\/p>\n\n\n\n<p>According to this article, the &#8220;winsxs&#8221; folder contains just about the ENTIRE Windows operating system, and then the files which are actually used are projected into the classic Windows folders (such as &#8220;system32&#8221; and others) using hard links.<\/p>\n\n\n\n<p>So that means that if you move the &#8220;winsxs&#8221; folder out of your SSD and into a mechanical drive, the performance of the OS will be degraded, since those files are used often.<\/p>\n\n\n\n<p>I&#8217;d suggest only moving other seldom used folders such as the &#8220;c:\\Windows\\Installer&#8221; folder. That folder just contains uninstallers, which are obviously not used often, only when you need to uninstall something. Admittedly, you won&#8217;t save as much space, but in my case I saved 2,5 GB by moving that &#8220;Installer&#8221; folder to another drive and creating a junction point in its original place (which is a nice saving if using a small 64 GB SSD drive, like the one I&#8217;m using). I&#8217;ve not moved &#8220;winsxs&#8221;, though, since that&#8217;s a VERY important folder for the OS, which is often used and benefits from being in the SSD drive.<\/p>\n\n\n\n<p><strong>Solution 1<\/strong><\/p>\n\n\n\n<p>1)&nbsp; Close any running applications (This is important).<br><br>2)&nbsp; Copy your winsxs folder to another location (preferably off of your SSD \ud83d\ude42<br><br>3)&nbsp; Now comes the magic:&nbsp; You are going to create a junction point to literally trick Windows into thinking the winsxs folder is in the same place.<br><br>3a)&nbsp; Rename &#8220;c:\\Windows\\winsxs&#8221; to &#8220;c:\\Windows\\winsxs.old&#8221;<\/p>\n\n\n\n<p>3b)&nbsp; Start &gt; Run &gt; Type &#8220;mklink \/J &#8220;c:\\Windows\\winsxs&#8221; &#8220;d:\\winsxs&#8221; &nbsp;(a new junction would be created)<\/p>\n\n\n\n<p>3c) &nbsp;Launch some x64 application and an x86 application to test functionality and once you&#8217;re convinced it&#8217;s working delete the old &#8220;winsxs.old&#8221; directory.<\/p>\n\n\n\n<p>Congrats, you now have moved your winsxs directory to another hard drive.<\/p>\n\n\n\n<p><strong>Solution 2: Move WINDOWS\/INSTALLER to different drive<\/strong><\/p>\n\n\n\n<p>Is your operating system partition out of space?<\/p>\n\n\n\n<p>Have you already disabled hibernation?<\/p>\n\n\n\n<p>Have you installed and ran WinDirStat to locate files to delete?<\/p>\n\n\n\n<p>You can typically free up a few gigabytes of storage if you move your c:\\windows\\installer folder to a different partition or external drive.<\/p>\n\n\n\n<p>Windows doesn\u2019t provide a way for you to do this with the registry, but you can easily do it by manually moving the files, and then creating a symbolic link to the new location.<\/p>\n\n\n\n<p>First you need to download a program from Microsoft (sysinternals) called JUNCTION.EXE.&nbsp; This program allows you to create symbolic links.<\/p>\n\n\n\n<p>You can download JUNCTION from the following Microsoft site:<\/p>\n\n\n\n<p>Unzip the file and copy it to your c:\\windows\\system32 folder so that you can easily execute it.<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Set Windows to SHOW ALL HIDDEN FILES (including operating system files)<\/li><li>CUT and PASTE the C:\\windows\\installer folder to the new location ex.&nbsp; d:\\windows\\installer<\/li><\/ol>\n\n\n\n<p>or use below command<\/p>\n\n\n\n<p><a><strong>robocopy C:\\Windows\\Installer D:\\Windows\\Installer \/MOVE \/e<\/strong><\/a><strong>&nbsp;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Verify all files in c:\\windows\\installer have been moved to d:\\windows\\installer or not<\/li><li>Launch a Command Prompt (as administrator) and Use one of below commands to make a junction<\/li><\/ul>\n\n\n\n<p>junction.exe&nbsp; c:\\windows\\installer d:\\windows\\installer<\/p>\n\n\n\n<p><strong>mklink \/J C:\\Windows\\Installer D:\\Windows\\Installer<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to move WinSxS\/Installer folder to another partition Please try moving the Installer folder first; it is safer than moving WinSxS folder. Read before action: According to this article, the &#8220;winsxs&#8221; folder contains just about the ENTIRE Windows operating system, and then the files which are actually used are projected into the classic Windows folders <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=420\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,15],"tags":[],"class_list":["post-420","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-windows-servers"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=420"}],"version-history":[{"count":0,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/420\/revisions"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}