Windows created a temporary paging file message on Windows 7

You get the following error in Windows: Windows created a temporary paging file. etc. etc.

When you check your O/S drive, you’re running out of space. When you check what’s eating your space, typically it’s c:\windows\winsxs…

The Winsxs folder contains references to updates. DO NOT delete the contents.

Rather this is what you do:

1.    At an elevated command prompt, run the following command:

Net Stop WUAUSERV
Delete the contents of the %windir%\softwaredistribution\downloads folder.
At an elevated command prompt, run the following command:
Net Start WUAUSERV

2. Still in the elevated command prompt:

dism /online /cleanup-image /spsuperseded

Update

  1. Load up Disk Cleanup
  2. Click on System Files
  3. If you don’t see it, then you have to update Windows until you do