OK, I've taken the risk and it was worth it - everything works normally, but I have freed the 17GB on my SSD now.
Basically, the steps are:
- Restart your PC, press F8 continuously to bring up boot menu, and choose "Command prompt with safe mode" (this is to ensure you can move the windows folder around)
- Once the command prompt is shown, type the command to move the folder to another drive:
robocopy C:\Windows\Installer D:\Windows\Installer /MOVE /e
- Next, create a "Junction" link for the missing folder:
mklink /J C:\Windows\Installer D:\Windows\Installer
Of course, this assumes that your %WINDIR% is C:\Windows, that your D drive is the one with more space, that you want your destination in "D:\Windows\Installer" (it could be any folder, just be consistent) etc...
This should do the trick.
pagefile.sys
is an important Windows file. Delete that, and your computer won't restart. So you'd rather not delete it. ;)
This article explains WinSxS: http://www.thewindowsclub.com/winsxs-folder-windows-7-8
So basically, there is a way to clean the WinSxS folder. You might want to run the Disk Cleanup
tool that comes with Windows or download a cleanup tool, such as CCleaner
. From there, do not forget to uninstall useless apps and delete files you do not use.
There is also ways to tell your computer to install every apps automatically on your drive D:.
To change the registry, follow these steps:
- Start Registry Editor by entering
Regedit
in the search All programs.
- Locate the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
- Right click on the value named
ProgramFilesDir
& change the default value C:\Program Files
to the path you want to install all
your programs in.
- Click OK and Exit.
Source
Assuming you are using a Windows 10 64-bit, make this change as well:
- Press the Windows key + R on your keyboard type
regedit
and press Enter key.
- Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
- Change the Path in DWORDs
ProgramFilesDir
, ProgramFilesDir (x86)
to the new path.
Little reminder
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756: How to back up and restore the registry in Windows
If you'd like to move Windows Apps, follow these steps:
- Press Windows key + I on your keyboard
- Go in
System
, then Storage in the left menu
- Select new Path in
New apps with save to
(Refer to picture)
Source
You can also Move already installed apps. The procedure is almost the same.
Press Ctrl + I to bring up the Settings menu. Now click System, then select Apps & features (Or Installed Apps) from the left-hand navigation.
Here you will find a list of all apps and programs installed on your system. Note that this move method will only work for apps that you have installed – that means those which were pre-installed can’t be moved.
Scroll to the app that you want to move and select it from the list. Now, click Move. Select the new drive location from the dropdown, then click Move.
Source
Best Answer
You can do this for Installer. You can use this tool:
http://bitsum.com/junctionmaster.php