As an example as I write this article this directory on my test VM is currently at 17.1 GB, which is a bit much. Even worse, trying to manually just dump this directory will severely break your Windows installation. Well after a new patch released with the October batch, we now have a method to clean up unused updates in this directory and help to bring Windows back down to its fighting weight.WinSXS folder sizeRemember in XP when if you wanted to roll back a Windows Update you got prompted for the CD and then you had to find it or burn a new one or just give up? These days you don’t get asked for that anymore and WinSxS is why.
![]()
What this directory does, among other things, is store all Windows updates ever installed on the computer even when they are superseded by others. When you need to do a rollback, Windows uses this as the source to pull the installers from, thus no CD needed. So that is what the WinSxS directory does for you. Windows 7 free download. WinSxS CleanupNow that you know what WinSxS is, how do we go about cleaning it up. First off you need to get the proper update installed. If you are doing this on a one off basis you can download the patch either or run Windows Update making sure to look for KB2852386.
In the enterprise this can be pushed via WSUS or other update mechanisms.Disk CleanupOnce installed (no reboot needed) you have to run the Disk Cleanup utility. If you have UAC turned on and you did not choose to run the utility as an administrator you will need to click the “Clean up system files” button to have the utility to scan for this type of data, which will probably take a while to run.Once the scan has run you will find a couple of new options, including Windows Update Cleanup and Service Pack Backup Files.
As you can see from the screenshot from my test system, 17.1 GB, 6.32 can be cleaned up. Once you select all that needs cleaned up and hit ok, the utility will take care of getting rid of the clutter. You will notice that the next time you reboot Windows will act like it is processing new Windows updates and then cleaning up afterwards.After cleanup Automate cleanupThis is great and all, but I really don’t feel like repeating this process 100 times, let alone 1000+ as some of you might have to in your enterprise. Microsoft does provide a methodology automate the process of doing this cleanup for the enterprise, even if it is a bit clunky at present time. For detail on the process I’m going to point you to a, but in essence the process goes like this:. Run the command line version of Disk Cleanup from a test computer using a random number. For this example I will use 39.
What happened to kissanime 2018. Cleanmgr.exe /sageset: 39. This will launch a new Disk Cleanup window where you can make your selections of what to clean up. Once done, this will generate a new StateFlags 0039 value within the plugin keys under HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCaches in the registry.
You can now export this values and distribute them via Group Policy or login script to the computers in your network. Now through whatever method of doing so like (for example Group Policy based Scheduled Tasks) you can now run cleanmgr.exe /sagerun: 39 throughout your enterprise.Note that on Windows 8 and Windows 8.1 computers the will automatically clean up the WinSxS folder. Hi, I'm trying to get this to work.
Disk Cleanup Service Pack Backup Files Full
And have some questions.I don't necessarily want to export all of the VolumeCaches Key, just the flags.I created a new GPO and have created about 10 new regs keys within the VolumeCaches (since it does create a few different subkeys depending on the option you chose). But it's not cleaning my drive.I created a new scheduled task in the same GPO, but I don't SEE it locally on the target computer in scheduled tasks. Can you confirm if it shows up locally? Arma 3 altis life mod.
Clean Backup Disk Space
I am developing a powershell script file which shall execute some disk cleanup without user intervention. The user shall not be able to configure anything.When I run cleanmgr.exe /d c: sageset:1 a popup window appears to select files/folders to be cleaned(cleanup options).This will create a registry entry containing the settings with the cleanup options and after this, you can run cleanmgr.exe /sagerun:1 which will actually execute the cleanup.Is there a way to specify the cleanup options directly with powerhell/command line(without the need to manually select things to be deleted)? The only solution I found is to manually set the registry values like this.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |