Can i move C:\Windows\WinSxS\Temp to another drive?

Darrell123 0 Reputation points
2023-07-15T19:04:59.9766667+00:00

I have seen other posts that I cannot move the whole winsxs folder to another drive, but I am trying to free up space on windows server 2016 box, and I was wondering if i could move C:\Windows\WinSxS\Temp to another drive? and create a link to it?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,741 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2023-07-15T19:13:14.79+00:00

    A better option may be to use Disk Cleanup and or move any installed programs to another disk.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. MotoX80 30,916 Reputation points
    2023-07-17T14:34:37.8933333+00:00

    From the other question.

    I did, it's windows, hence the post

    I have never tried that, but maybe another forum user has. I doubt that you can move them. In the past, I have moved the system page file to another drive. Have you tried that?

    For the servers that I supported I would peridically run cleanmgr, "dism /StartComponentCleanup", and a Powershell script that I wrote to purge various log and temp folders.

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder?view=windows-11

    Did you run TreeSize Free? It will find hidden and system files that you may not realize were eating up your disk space.

    On my Win11 machine the folders you listed are using a few gig but nothing massive. If you are already low on space, even if you could move those folders, I think that you will still be looking for space.

    User's image


  3. Darrell123 0 Reputation points
    2023-07-17T23:12:14.7766667+00:00

    further to my original question, can i move any of the following to another drive

    C:\Windows\fonts

    C:\Windows\servicing

    C:\Windows\speach

    C:\Windows\inf

    C:\Windows\ime

    C:\Windows\serviceprofiles

    0 comments No comments

  4. Dave Patrick 426.1K Reputation points MVP
    2023-07-17T23:41:34.66+00:00

    Trying to move windows and or operating system subfolders would not be advisable. The simplest safest solution would be to install windows to a larger partition.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments