Jump to content

clean %windir%\$NTUninstall* folders


CSGalloway

Recommended Posts

I read on the recent WindowsSecrets newsletter:

 

"Take out the trash ? all of it. Needless file clutter makes a system harder to use and slower to operate. For example, AV scans and Windows' indexing both take longer when they have many junk files to process.

 

Start by deleting old $NtUninstall{xxx}$ files from XP's C:\Windows folder; these files can occupy a shocking amount of space! You need these files only when a Windows Update fails and you (or the OS) have to roll back your system. If your system is working fine, $NtUninstall files serve no purpose."

 

So far I have in my winsys2.ini:

 

[Empty WU Rollbacks]

LangSecRef=3003

LangRef=3141

Default=False

DetectFile=%windir%\$NtUninstall*

FileKey1=%windir%\$NtUninstall*|removeself

 

Is this correct? I'd like to remove the contents of each folder and the folder itself - just not sure if CCleaner will handfe multi/unknown folder names correctly?

 

the quote about needing the files if an update goes wrong brings about another question. Is it possible to do a custom warning message like there is already for Windows > Advanced settings for CCleaner?

 

thank you in advance

Link to comment
Share on other sites

-- Very good idea. But I don't think CC is capable of detecting folders and folders with wildcards.

 

-- The warning can be programmed. Read this carefully:

http://docs.piriform.com/ccleaner/advanced-usage/ccleaner-ini-files/how-to-add-other-areas-of-windows-for-ccleaner-to-clean

 

 

 

System setup: http://speccy.piriform.com/results/gcNzIPEjEb0B2khOOBVCHPc

 

A discussion always stimulates the braincells !!!

Link to comment
Share on other sites

  • Moderators

other than on XP microsoft does not want you to delete Windows update folders, it needs them when it reupdates those files,

 

as was stated by Andavari above.

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT  https://support.piriform.com/hc/en-us and  https://www.ccleaner.com/docs

Pro users file a PRIORITY SUPPORT request at https://support.piriform.com/hc/en-us/requests/new

link to WINAPP2.INI explanation

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.