Sign in to follow this  

Restart Windows 8 With Right-Click From Desktop

Recommended Posts

Ice_Blue    973

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
Quillz    883

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

Share this post


Link to post
Share on other sites
+devHead    1,721

This will work in Windows 7 too?

Share this post


Link to post
Share on other sites
Redberry    0

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

sshot1nb.png

Share this post


Link to post
Share on other sites
Ice_Blue    973

This will work in Windows 7 too?

Works like a charm in Win7

Share this post


Link to post
Share on other sites
Astrum    10

So to shutdown it would be this?:

shutdown.exe -s -t 00 -f

Share this post


Link to post
Share on other sites
drazgoosh    18

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
Grinch    163

So to shutdown it would be this?:

shutdown.exe -s -t 00 -f

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
Stokkolm    275

Alt + F4 on the desktop works also.

  • Like 1

Share this post


Link to post
Share on other sites
Aergan    621

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
Detection    2,256

Works like a charm in Win7

Works like a Charms Bar in Windows 8 :p

  • Like 1

Share this post


Link to post
Share on other sites
Ice_Blue    973

^ :laugh:

Share this post


Link to post
Share on other sites
Detection    2,256

Untitled.png

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

Share this post


Link to post
Share on other sites
articuno1au    1,264

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

  • Like 1

Share this post


Link to post
Share on other sites
Quillz    883

Untitled.png

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

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
Omega192    0

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?

I believe if you just leave out

"icon" = "shell32.dll,-290"

it will omit the icon.

Share this post


Link to post
Share on other sites
contextfree    47

: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
+LogicalApex    1,745

: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.

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.

  • Like 4

Share this post


Link to post
Share on other sites
ajua    61

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.

  • Like 1

Share this post


Link to post
Share on other sites
Q9650    5

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

download here > http://www.mediafire...v7qhvfxvu1dcvai

works on windows vista / 7 & 8

fb9hs8.png

Share this post


Link to post
Share on other sites
Wiggz    42

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
WinMunkee    50

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.

  1. Alt + F4 on the desktop
  2. Charms Bar > Settings > Power
  3. Sign Out > Power Button on bottom of screen
  4. Tap the Physical Power Button on the PC

Share this post


Link to post
Share on other sites
Q9650    5

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.

  1. Alt + F4 on the desktop
  2. Charms Bar > Settings > Power
  3. Sign Out > Power Button on bottom of screen
  4. Tap the Physical Power Button on the PC

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

Share this post


Link to post
Share on other sites
MorganX    1,046

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
WinMunkee    50

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.

I have a feeling they are not as tech savvy as they claim to be.

  • Like 2

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  

  • Recently Browsing   0 members

    No registered users viewing this page.