Every time I open CCleaner it changes some of the Shell Folders located in:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
The ones it changes are:
Cookies
Local AppData
Cache
History
When I logon they are:
"Cookies"="C:\\Documents and Settings\\Dusty\\Cookies"
"Local AppData"="C:\\Documents and Settings\\Dusty\\Local Settings\\Application Data"
"Cache"="C:\\Documents and Settings\\Dusty\\Local Settings\\Temporary Internet Files"
"History"="C:\\Documents and Settings\\Dusty\\Local Settings\\History"
After I open CCleaner they are:
"Cookies"="C:\\Documents and Settings\\NetworkService\\Cookies"
"Local AppData"="C:\\Documents and Settings\\NetworkService\\Local Settings\\Application Data"
"Cache"="C:\\Documents and Settings\\NetworkService\\Local Settings\\Temporary Internet Files"
"History"="C:\\Documents and Settings\\NetworkService\\Local Settings\\History"
Now I'm no expert, but I would think that this would hinder CCleaner's cleaning ability, alot.
Shell Folders
Started by mushu13, Dec 09 2006 05:37 PM
6 replies to this topic
#1 OFFLINE
Posted 09 December 2006 - 05:37 PM
They call them fingers, but I've never seen them fing, or ger. WOAH there they go!!!!!!!
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
#2 OFFLINE
Posted 11 December 2006 - 10:13 PM
Anyone?
They call them fingers, but I've never seen them fing, or ger. WOAH there they go!!!!!!!
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
#3 OFFLINE
Posted 12 December 2006 - 01:58 PM
Could you try Microsoft Sysinternals Regmon to monitor CCleaner registry activity.
Just use HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders as Include filter in Regmon and run CCleaner, then save the Regmon log and attach it here.
I used it myself and I can confirm that CCleaner can set those paths, but the question is why your CCleaner set wrong paths.
Just use HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders as Include filter in Regmon and run CCleaner, then save the Regmon log and attach it here.
I used it myself and I can confirm that CCleaner can set those paths, but the question is why your CCleaner set wrong paths.
#4 OFFLINE
Posted 12 December 2006 - 10:36 PM
Here ya go!
I really hope this can be fixed, because I really love CCleaner.
Regmon_ShellFolders.txt 2.2K
25 downloads
EDIT: Strange, it isn't changing the "Local AppData" value.
I really hope this can be fixed, because I really love CCleaner.
Regmon_ShellFolders.txt 2.2K
25 downloadsEDIT: Strange, it isn't changing the "Local AppData" value.
They call them fingers, but I've never seen them fing, or ger. WOAH there they go!!!!!!!
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
#5 OFFLINE
Posted 13 December 2006 - 01:47 PM
Thanks. The NetworkService profile apparently is a "special" secure profile for some of the Windows XP services. For some reason in your system CCleaner get wrong environment paths what points to that profile.
Could you try Process Explorer to check some things. In Process Explorer select properties from the CCleaner process and look in the environment tab and check if any of those paths there poit to the NetworkService profile (especially USERPROFILE path).
Could you try Process Explorer to check some things. In Process Explorer select properties from the CCleaner process and look in the environment tab and check if any of those paths there poit to the NetworkService profile (especially USERPROFILE path).
#6 OFFLINE
Posted 13 December 2006 - 10:33 PM
THANKS!! I figured it out!!
Using Process Explorer made me realize that it was a program called USB Drive Letter Manager that was causing this problem.
This is a windows service that automatically changes USB device drive letters to a preferred letter, Ex: change from G to Z, and it enables USB auto-running.
So when I plug in my pendrive it starts my program launcher (RK Launcher), I then start CCleaner via RK Launcher.
All this sounds like there shouldn't be a problem but, since USBDLM is started as a windows service it starts before I am logged in, so it uses the NetworkService profile for its ENV variables. When it launches RKL it passes the ENV Variables to it, and then when RKL launches CCLeaner it passes it the wrong variables!
I guess I'm going to have to find a different USB Auto-Running program, Thanks for your help.
Using Process Explorer made me realize that it was a program called USB Drive Letter Manager that was causing this problem.
This is a windows service that automatically changes USB device drive letters to a preferred letter, Ex: change from G to Z, and it enables USB auto-running.
So when I plug in my pendrive it starts my program launcher (RK Launcher), I then start CCleaner via RK Launcher.
All this sounds like there shouldn't be a problem but, since USBDLM is started as a windows service it starts before I am logged in, so it uses the NetworkService profile for its ENV variables. When it launches RKL it passes the ENV Variables to it, and then when RKL launches CCLeaner it passes it the wrong variables!
I guess I'm going to have to find a different USB Auto-Running program, Thanks for your help.
They call them fingers, but I've never seen them fing, or ger. WOAH there they go!!!!!!!
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
#7 OFFLINE
Posted 14 December 2006 - 11:43 AM
Great.
That makes sense! CCleaner adopts it's environment from the service, but probably still runs under your own user account (CCleaner process shows as blue in Process Explorer). That's why it saves the Shell Folders in your HKCU and not in the NetworkService profile HKCU.












