Problems Cleaning NVIDIA Installer files

Hello,

I am using CCleaner 5.25.5902 (64 Bit).

When I clean my system then not all NVIDIA Installer files are deleted although this option is selected.

The following folders still contain data (in total 10,5 GB):

  • C:\Program Files\NVIDIA Corporation\Installer2 (5,0 GB)
  • C:\ProgramData\NVIDIA Corporation\Downloader (5,4 GB)

I thought that these files are NVIDIA Installer files and that they are cleaned by CCleaner?

Regards

OLLI

- What was the size of the files before cleaning ?

- Perhaps those files are/were "locked" ? Can you clean them after a restart of your system ?

I actually looked into this myself. The NVIDIA Install Files entry seems to point to folders that don't exist anymore. Seems to be an old entry, I have created a new (updated entry) and submitted it. Hopefully it will get approved and in the new update.

[NVIDIA Install Files]
ID=2357
LangSecRef=3024
Detect=HKCU\Software\NVIDIA Corporation
Default=True
FileKey1=%SystemDrive%\NVIDIA|*.*|REMOVESELF
FileKey2=%SystemDrive%\NV|*.*|REMOVESELF
nVidia drivers no longer installs to the C: drive. It goes in Program Files and ProgramData.
BTW, thank you for the heads up. Plus, I haven't messed with the entries in years. I was a little rusty.

Hello,

- What was the size of the files before cleaning ?

- Perhaps those files are/were "locked" ? Can you clean them after a restart of your system ?

@Willy2

Before cleaning I always Analyze my system

Here I saw that 0 Byres were found for "NVIDIA Installer files".

I actually looked into this myself. The NVIDIA Install Files entry seems to point to folders that don't exist anymore. Seems to be an old entry, I have created a new (updated entry) and submitted it. Hopefully it will get approved and in the new update.

[NVIDIA Install Files]
ID=2357
LangSecRef=3024
Detect=HKCU\Software\NVIDIA Corporation
Default=True
FileKey1=%SystemDrive%\NVIDIA|*.*|REMOVESELF
FileKey2=%SystemDrive%\NV|*.*|REMOVESELF
nVidia drivers no longer install to the C: drive. It goes in Program Files and ProgramData.
BTW, thank you for the heads up. Plus, I haven't messed with the entries in years. I was a little rusty.

@TwistedMetal

Is that entry that you posted above the OLD or your NEW entry?

Where can these entries be found in CCleaner (there is no INI file).

Regards

OLLI

You have to extract them with a command line parameter. /EXPORT

https://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters

Old Entry

[NVIDIA Install Files]

ID=2357
LangSecRef=3024
Detect=HKCU\Software\NVIDIA Corporation
Default=True
FileKey1=%SystemDrive%\NVIDIA|*.*|REMOVESELF
FileKey2=%SystemDrive%\NV|*.*|REMOVESELF
New Entry
[NVIDIA Install Files]
ID=2357
LangSecRef=3024
Detect=HKCU\Software\NVIDIA Corporation
Default=True
FileKey1=%ProgramFiles%\NVIDIA Corporation\Installer2|*.*|RECURSE
FileKey2=%ProgramData%\NVIDIA Corporation\Downloader|*.*|RECURSE
FileKey3=%ProgramData%\NVIDIA Corporation\CrashDumps|*.*|RECURSE

Hello TwistedMetal,

just to give you some results from my system:

  • %ProgramFiles%\NVIDIA Corporation\Installer2: 4,92 GB
  • %ProgramData%\NVIDIA Corporation\Downloader: 5,40 GB
  • %ProgramData%\NVIDIA Corporation\Crash Dumps folder does not exist (the correct subfolder is "CrashDumps" without the blank) so maybe you add both versions (with blank and without blank)

So in total 10,32 GB are freed when you add the new NVIDIA folders

Important Question: will your changes also be applied to CCleaner Cloud?

Regards

OLLI

You are right, it's CrashDumps.

It will be up to the official Piriform staff, if they use that new entry or not. As far as the cloud goes. I have no information on that, that is beyond me. I don't work for Piriform (technically), I just help out.

Hello TwistedMetal,

for CCleaner Cloud I created a support ticket and linked to this forums posting.

I asked them to fix this issue in CCleaner Cloud too.

Thank you for your posting the correct folders so the CCleaner staff can use them.

Regards

OLLI

Your welcome. Just glad I could help out. Thanks for posting about the issue, we would have never realized that the entry didn't work.

Thank you for being a loyal CCleaner user and forum member.

removing \Installer2 folder will cause nvidia driver cannot be uninstall without reinstalling first

even in winapp2.ini, the entry for cleaning \Installer2 folder removed

the old entry still valid cause the installer will first extract all file to %SystemDrive%\NVIDIA before launching the installer

[NVIDIA Install Files]
ID=2357
LangSecRef=3024
Detect=HKCU\Software\NVIDIA Corporation
Default=True
FileKey1=%SystemDrive%\NVIDIA|*.*|REMOVESELF
FileKey2=%ProgramData%\NVIDIA Corporation\Downloader|*.*|RECURSE
FileKey3=%ProgramData%\NVIDIA Corporation\CrashDumps|*.*|RECURSE
That one should ok then to use.

Hello TwistedMetal,

FileKey1=%SystemDrive%\NVIDIA|*.*|REMOVESELF

If I get that right this line is from the OLD entry, right?

The folder c:\NVIDIA (assuming my system drive is c:) does not exist.

Please tell me why you added it again.

If you exclude the folder C:\Program Files\NVIDIA Corporation then 5 GB of crap files are not cleaned.

If I look in this folder and sort by date then I see that there are 23 folders with the date 06th January.

Next there 11 folders with the date 14th December.

So if you could tell CCleaner and also CCleaner Cloud to remove everything except the folders with the newest date (I would call this "the last version") than this would be perfect.

Maybe it is necessary to keep "the last version" and the "version before the last version" (so you have the last 2 versions).

I asked in the NVIDIA Forums some days ago what files can safely be deleted, but did get no answer yet.

As soon as I get an answer, I will post it here.

Regards

OLLI