Jump to content

39 posts in this topic

Posted

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer]
"icon"="shell32.dll,-290"
"Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer\command]
@="shutdown.exe -r -t 00 -f"

-------------------------------------------------------------------------------------------------------

I'm not sure if this has been posted before, but...

This will add a "Restart Computer" item to the Windows 8 desktop context menu.

Copy and paste into notepad, and save with .reg extension.
Double-click saved file to install.
No need to restart or log off. :D

Share this post


Link to post
Share on other sites

Posted

Nice, I'll give this a try. Thanks for posting it.

Share this post


Link to post
Share on other sites

Posted

This will work in Windows 7 too?

Share this post


Link to post
Share on other sites

Posted

Working great, would be nice to add "Shutdown" and "Sleep" option also :D thanks

[img]http://img687.imageshack.us/img687/8818/sshot1nb.png[/img]

Share this post


Link to post
Share on other sites

Posted

[quote name='devHead' timestamp='1339062743' post='594916237']
This will work in Windows 7 too?
[/quote]

Works like a charm in Win7

Share this post


Link to post
Share on other sites

Posted

So to shutdown it would be this?:
shutdown.exe -[color=#FF0000]s[/color] -t 00 -f

Share this post


Link to post
Share on other sites

Posted

I know I can use the PC power button to shut down, but what would the code be for a shut down option to be added to the right click menu?

Share this post


Link to post
Share on other sites

Posted

[quote name='Astrum' timestamp='1339088060' post='594917251']
So to shutdown it would be this?:
shutdown.exe -[color=#FF0000]s[/color] -t 00 -f
[/quote]

Yes.

Anyone have a method to add this to the Win+X context menu? (aka the Power User Menu)

Share this post


Link to post
Share on other sites

Posted

Alt + F4 on the desktop works also.
1 person likes this

Share this post


Link to post
Share on other sites

Posted

Request: Can it be added to the Super User Menu please (and at the bottom)?

Share this post


Link to post
Share on other sites

Posted

[quote name='Ice_Blue' timestamp='1339087146' post='594917201']
Works like a charm in Win7
[/quote]

Works like a Charms Bar in Windows 8 :p
1 person likes this

Share this post


Link to post
Share on other sites

Posted

^ :laugh:

Share this post


Link to post
Share on other sites

Posted

[img]http://localhostr.com/files/SLKViSm/Untitled.png[/img]



Haven't pressed the shutdown one yet, but I assume it will work

Share this post


Link to post
Share on other sites

Posted

For those of you that want to build your own command line calls:

-s = shutdown
-r = restart
-l = logoff
-h = hibernate (May??? be limited to Windows 8, I am unsure)
-f = force (Word/Notepad etc won't be able to stop the shutdown to ask if you want to save)
-t = time in seconds to wait before shutdown (Limited to 600 on Windows Vista only) (If the value in seconds is greater than 0, the -f flag is implied)

I use:

shutdown -f -s -t 0

ALL THE TIME. It's my baby <3
1 person likes this

Share this post


Link to post
Share on other sites

Posted

[quote name='Detection' timestamp='1339165351' post='594919315']
[img]http://localhostr.com/files/SLKViSm/Untitled.png[/img]



Haven't pressed the shutdown one yet, but I assume it will work
[/quote]
If I don't want any icons in the context menu, do I just leave the quotation marks blank, or should I omit them entirely?

Share this post


Link to post
Share on other sites

Posted

[quote name='Nidoking' timestamp='1339212738' post='594920693']
If I don't want any icons in the context menu, do I just leave the quotation marks blank, or should I omit them entirely?
[/quote]
I believe if you just leave out
[quote]"icon" = "shell32.dll,-290"[/quote]
it will omit the icon.

Share this post


Link to post
Share on other sites

Posted

:rolleyes: The contortions you guys go through to avoid just learning how to use the damn settings charm, which you need for other stuff anyway.

Share this post


Link to post
Share on other sites

Posted

[quote name='contextfree' timestamp='1339241169' post='594921019']
:rolleyes: The contortions you guys go through to avoid just learning how to use the damn settings charm, which you need for other stuff anyway.
[/quote]

That is the nature of being a power user. We make the machine work as we intend and not how someone else decides it should work.
4 people like this

Share this post


Link to post
Share on other sites

Posted

I personally don't reboot or shutdown my computers that much, but this may come handy for some.
The charms bar work freat and is easy to access to perform those tasks, but it's great to have options for everyone.
1 person likes this

Share this post


Link to post
Share on other sites

Posted

i made this handy context menu long time ago. right click on my computer bring this menu!

download here > [url="http://www.mediafire.com/?v7qhvfxvu1dcvai"]http://www.mediafire...v7qhvfxvu1dcvai[/url]

works on windows vista / 7 & 8

[img]http://i49.tinypic.com/fb9hs8.png[/img]

Share this post


Link to post
Share on other sites

Posted

Nice work, but why would anyone want to make it even easier to shutdown or restart? (oh, and those commands will also bypass any configuration of updates you have waiting if clicked)

Aren't the commands simple enough to click? Plus right clicking is something I know I do an awful lot within a session. Do you really want to risk right click properties being right click, shutdown?

Share this post


Link to post
Share on other sites

Posted

It's really not that hard to shutdown/restart in Windows 8, and doesn't take "more time" as some claim. It literally takes like 2 seconds depending on method.


[list=1]
[*]Alt + F4 on the desktop
[*]Charms Bar > Settings > Power
[*]Sign Out > Power Button on bottom of screen
[*]Tap the Physical Power Button on the PC
[/list]

Share this post


Link to post
Share on other sites

Posted

[quote name='WinMunkee' timestamp='1346159025' post='595128749']
It's really not that hard to shutdown/restart in Windows 8, and doesn't take "more time" as some claim. It literally takes like 2 seconds depending on method.

[list=1]
[*]Alt + F4 on the desktop
[*]Charms Bar > Settings > Power
[*]Sign Out > Power Button on bottom of screen
[*]Tap the Physical Power Button on the PC
[/list]
[/quote]

or press the shutdown key on your keyboard if you have one

Share this post


Link to post
Share on other sites

Posted

Windows 8 has it's flaws. But nonsense issues like too hard to shutdown make me think there really are some people complaining to be complaining. If you want to shutdown, it's as fast or faster than Windows 7 just using the charm bar. If you want to sleep, just walk away. ACPI has never been more solid. This one, I just don't get.

Share this post


Link to post
Share on other sites

Posted

[quote name='MorganX' timestamp='1346167311' post='595129309']
Windows 8 has it's flaws. But nonsense issues like too hard to shutdown make me think there really are some people complaining to be complaining. If you want to shutdown, it's as fast or faster than Windows 7 just using the charm bar. If you want to sleep, just walk away. ACPI has never been more solid. This one, I just don't get.
[/quote]

I have a feeling they are not as tech savvy as they claim to be.
2 people like this

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.