Jump to content

Show Windows Shutdown Dialog instead of Shutting Down


Citrus

Recommended Posts

I would really like for Ccleaner to bring up the Windows Shutdown dialog instead of just shutting down when using the /SHUTDOWN argument. This way I can choose to either shutdown, restart of log off my machine. This feature has already been in Webroot's Window Washer for a while.

Link to comment
Share on other sites

I think this would be a very useful feature for some folks as well! Just my .02 cents ;)

 

Keith

There's always an exception to the rule. I'm that exception.

 

Desktop ----- AMD Athlon 3700+ (2.64Ghz), 2GB DDR 400, ASUS A8N-SLI Premium, 500GB HD, Windows XP Pro SP3, Avira Antivir Personal

At work ----- Intel C2D T1700 (1.6Ghz), 2GB DDR2 667, Dell OUY141, 80GB HD, Windows XP Pro SP2, Symantec 10

Laptop ----- Intel C2D P8400 (2.4 Ghz), 4GB DDR3 1066, Mainboard, 160GB HD, Dualboot: Windows 7/openSUSE 11.1, Avira Antivir Personal

 

link1.gif

Link to comment
Share on other sites

  • Moderators

People that want things automated would probably still want CC to just turn off their system. However it would be alright for non-automated shutdowns and perhaps should really have its very own unique switch to activate it, maybe /SHUTDOWN /PROMPT

Link to comment
Share on other sites

This could also be done with a /RESTART argument that could be used instead of /SHUTDOWN. If doing this, to make it complete, some users may also like a /STANDBY argument (as some users don't like to wait for the full boot time). This would be optimal because all the options would be available to the people who want it automated.

 

Of course, this would eliminate one advantage of the menu, that being the real-time selection. This advantage could be better leveraged with a custom menu for a /SDPROMPT option that would allow you to select which option before it runs so that you can then just walk away, giving you the advantages of both options (although slightly more time-consuming to implement).

Honestly though, I see little need for the real-time selection if the options are available by command line, the only exception being a computer savvy person setting up a batch file to do it for a not-so savvy person.

 

Call me a feature creep, but I also see why a user may also want the option of logging off, or switching users. This could be added to the custom menu or command line parameters easily, but not to the windows default Shutdown dialog.

 

None of these options should be difficult to implement, but I do think that the additional shutdown options would be a useful addition to the utility.

Link to comment
Share on other sites

Basically what needs to be changed from the code is replacing the automatic shutdown code with this one:

rundll32.exe msgina,ShellShutdownDialog

 

 

If you want to test it out, type that into Start > Run. It should bring up the Windows shutdown dialog.

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.