Windows 8 system start to add Shutdown button Tutorial

Source: Internet
Author: User
Tags sleep

For those who do not want to use Third-party software to modify Windows 8 to increase the shutdown/restart/Logoff button for users to come below is a good way to do it, we can DIY one of their own shutdown button. The operation step is quite simple!

First, we create a new shortcut on the desktop

then enter the corresponding command next

Such a shortcut is created well, egg thing we found this icon is not satisfactory, so we change the corresponding icon.

The corresponding icon can be found in the system itself and modify, you can also go to the network to download. I found a few good-looking ones.

Click Browse Select Icon file path

And then the shortcut becomes like this.

After we made all the shortcuts. Copy him to the Start menu, (this requires admin privileges OH) How do you do this?

The path to the Start menu: C:programdatamicrosoftwindowsstart menuprograms, of course, if your system disk is not a C disk, then the front of the C switch on the line.

Find a way to start the menu path, right-click on the shortcut to the Desktop program and select Open file location.

Then at the beginning of the interface to find our shortcut to the right, the shortcut group (left key point to live by sticking, to the right to drag a certain distance, until a white line appears)

This is how it ends.

Finally, we click on the lower right corner of the minus (Ctrl + mouse pulley can also be), the entire interface to reduce the magnetic group to move to the end of a group of good, and I put the desktop on the paste also put over. And then it became like this.

And then it's all done.

Let me share some information.

About Shortcut Locations

Shutdown: shutdown.exe-s-t 00-hybrid

Reboot: Shutdown-r-t00

Lock: Rundll32.exe user32.dll,lockworkstation

Logoff: Shutdown.exe-l

Careful friends will find that in fact my Start menu also has hibernate and sleep options. Why does the interface not appear at the beginning?

This is a problem that has plagued me for a long time, and has not been well resolved.

Let's start with these two orders.

Sleep command: rundll32.exe powrprof.dll,setsuspendstate 0,1,0

Hibernate command: Shutdown-h

It doesn't seem to conflict, but if you want to call the Sleep command normally, first you need a statement to disable the Hibernate feature (this statement must also be run by the administrator), otherwise it will go directly to hibernation instead of sleep, but if you disable hibernation, then the dormant shortcuts will have little effect. So I wrote two batches of them accordingly.

Dormancy of

Powercfg-hibernate on

Shutdown-h

of sleep

Powercfg-hibernate off

rundll32.exe powrprof.dll,setsuspendstate 0,1,0

When I changed the path of the shortcut to these two files, I found that the start of the program can not be displayed, I summarized the reason should be the target file non-EXE executable program bar.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.