当前位置:网站首页>How to add a one-key shutdown option to the right-click menu in Windows 11
How to add a one-key shutdown option to the right-click menu in Windows 11
2022-08-02 15:21:00 【xitongzhijia_abc】
How to set the right-click menu shutdown option in Win11?Since the Win11 system is a new system, some of its function settings are different from the past. For example, taking shutdown as an example, some users feel that there are many steps to shutdown, so they want to add shutdown options to the right-click menu.So how should it be done?Here I will bring you the method of setting the shutdown option in the Win11 right-click menu, I hope you will like it.
The specific operations are as follows:
1. First, press the Win + X key combination, or right-click the start icon on the taskbar, and select Run in the hidden menu item that opens;

2. In the run window, enter the regedit command and press OK or Enter to open the Registry Editor;

3. In the Registry Editor window, expand to the following paths:
HKEY_CLASSES_ROO\TDesktopBackground\Shell

4. Right-click the shell item, and select the new item in the opened menu item;

5. Name the new item as 【One-Key Shutdown】;

6. Right-click the one-key shutdown item, in the opened menu item, select New item, and name the new item as [command];

7. Click the command item on the left, double-click the default in the right column, edit the string window, enter Shutdown -s -f -t 00 at the numerical data, and then click OK;
Shutdown Shutdown -s -f -t 00
Logout Shutdown -l
Restart Shutdown -r -f -t 00
Lock screen Rundll32 User32.dll,LockWorkStation

8. Finally, under the display more options of the right-click menu, you can find the added one-key shutdown item.

In this way, if you want to shut down in the future, you can execute it more quickly.
According to this idea, you can actually add a lot of useful functions to the right-click menu.Please leave a message if you have any needs.
边栏推荐
猜你喜欢
随机推荐
PyTorch⑦---卷积神经网络_非线性激活
DP1332E刷卡芯片支持NFC内置mcu智能楼宇/终端poss机/智能门锁
Binder ServiceManager解析
PyTorch⑨---卷积神经网络_线性层
实战美团Nuxt +Vue全家桶,服务端渲染,邮箱验证,passport鉴权服务,地图API引用,mongodb,redis等技术点
NER(命名体识别)之 FLAT模型
5. Use RecyclerView to elegantly achieve waterfall effect
内存申请(malloc)和释放(free)之下篇
Bash shell位置参数
【我的电赛日记(三)】STM32学习笔记与要点总结
DP4056电源保护芯片锂电池pin对pinTP4056
Makefile容易犯错的语法
13.56MHZ刷卡芯片CI521兼容cv520/ci520支持A卡B卡MIFARE协议
国内IT市场还有发展吗?有哪些创新好用的IT运维工具可以推荐?
【使用Pytorch实现VGG16网络模型】
LLVM系列第二十七章:理解IRBuilder
最小树高度
GPT2计算流程详解
ARMv8虚拟化
FP7126降压恒流65536级高辉无频闪调光共阳极舞台灯RGB驱动方案









