Ten times in Sixty the P.C. failed to shutdown.
It was successful for 50 out of the first 50 attempts, and cleansed in Auto mode and shutdown the P.C.
Then the next 10 attempts failed to shutdown (but I believe they cleansed O.K.)
After the first three "I don't believe it" situations I launched Windows Task manager and found All applications closed, and twenty processes running.
Normally when all applications are closed there are about 27 processes running, so about seven processes had been killed, another twenty to go.
Observing the Processes Tab I again launched "CCleaner /Auto /Shutdown",
and saw that CCleaner.exe briefly appeared as a running process.
I launched Task Manager again and everything repeated the same.
All (or most of) the Desktop icons appeared to remain unflinching during these failed attempts to Auto Shutdown.
I eventually tired of this repeatable failure, so I used Windows -> "Turn off Computer", which worked first time, and I went to bed.
I regret due to panic I only counted how many processes were running, I did record which they were, so I cannot identify the seven that were missing.
Since then I have had zero failures in ten attempts at "CCleaner /Auto /Shutdown".
MY QUESTIONS :-
1.
Is it probable that the first failed Shutdown killed seven processes, but left everything else running, and
the remaining twenty processes were enough to launch CCleaner,
but the absence of seven caused CCleaner to crash whilst cleansing before it proceeded to launching Shutdown.
2.
I have a special "Shutdown" script which concludes with "START CCLEANER /AUTO /SHUTDOWN",
I envisage replacing with "CCLEANER /AUTO" followed by a DOS CMD invoked Powerdown command;
Please advise me of a suitable command that will ensure a Powerdown - not a mere user log-off.
3.
Does "CCLEANER /AUTO /SHUTDOWN" conclude by launching the same actions as are launched by Windows -> "Turn off Computer".
For 2 years I always closed down with Windows -> "Turn off Computer" - I guess it only failed twice in 1000 attempts,
and when it failed it was a Windows "Belly Up - Dead" situation - dead screen, dead keys, dead mouse;
and all I could do was hold down the Power button for 5 seconds to shut off my Laptop.
In 1000 attempts I never ever had a failure that left the desktop alive and well but unable to shutdown.
Windows -> "Turn off Computer" has a 0.2 % failure rate when the O.S. freezes
"CCleaner /SHUTDOWN" has a 2.0% failure rate with the O.S. quite responsive, but 7 processes down and unwilling to close.
This makes me suspect that there are different actions used by these two methods of shutdown.
I have a residual concern that on rare occasions Firefox may still be running upon shutdown,
and whilst I think it likely that Addons such as LastPass and Xmarks,
and on-line-browser services such as Gmail and Google documents,
will be designed to tolerate Firefox closing just when a "cloud" transfer had started,
either by the computer being powered down or the telephone wire to the I.S.P breaking,
I fear that they may not have anticipated that CCleaner could do a shutdown.
I do not mind if I have just altered something on/in Firefox, and the consequences have yet to be updated to remote databases,
but I would hate to lose all my passwords or bookmarks or emails because of a "different" close down action that was not anticipated.
After 20 years programming in "C" I expect horrendous consequences when anything deviates from "standard".
I am using :-
CCleaner v2.20.920, and suspect this problem could apply to all versions;
XP Home SP3; ESET NOD32 Antivirus; and Comodo 3.5 Firewall.
Incidentally - completely unrelated to the above bug, but possibly in the same area of code :-
If Firefox.exe is present as an application or a process when CCleaner /Auto /Shutdown is launched,
it would be nice if it (Firefox) could be closed before cleansing so that its cache could be purged
Regards
Alan