Sign in to follow this  
Followers 0

39 posts in this topic

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

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

Share this post


Link to post
Share on other sites

This will work in Windows 7 too?

Share this post


Link to post
Share on other sites

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

This will work in Windows 7 too?

Works like a charm in Win7

Share this post


Link to post
Share on other sites

So to shutdown it would be this?:

shutdown.exe -s -t 00 -f

Share this post


Link to post
Share on other sites

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

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

Alt + F4 on the desktop works also.

1 person likes this

Share this post


Link to post
Share on other sites

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

Works like a charm in Win7

Works like a Charms Bar in Windows 8 :p

1 person likes this

Share this post


Link to post
Share on other sites

^ :laugh:

Share this post


Link to post
Share on other sites

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

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

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

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

: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

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

4 people like this

Share this post


Link to post
Share on other sites

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

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

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

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

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

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.

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.