在Windows 7中删除关机和重新启动按钮

Sometimes you might have a shared computer where you don’t want the users to be able to do a Shutdown or Restart. Today we take a look at using Local Group Policy Editor to remove those buttons from the Start Menu in Windows 7.

有时,您可能有一台共享计算机,但您不希望用户能够执行关机或重新启动。 今天,我们来看看使用本地组策略编辑器从Windows 7的“开始”菜单中删除那些按钮。

Note: This process uses Local Group Policy Editor which is not available in Starter or Home versions of Windows 7.

注意:此过程使用Windows 7的Starter或Home版本中不可用的本地组策略编辑器。

1pwr

Disable Shutdown, Restart, Sleep, and Hibernate Buttons

禁用关机,重新启动,睡眠和Hibernate按钮

To open Local Group Policy Editor, click on Start and type in gpedit.msc and hit Enter.

要打开本地组策略编辑器,请单击“开始”,然后键入gpedit.msc ,然后按Enter。

gpedit_start

In Local Group Policy Editor navigate to User Configuration \ Administrative Templates \ Start Menu and Taskbar and double click on Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands.

在“本地组策略编辑器”中,导航到“用户配置” \“管理模板” \“开始”菜单和任务栏,然后双击“删除”并阻止访问“关机”,“重新启动”,“睡眠”和“Hibernate”命令

2pwr

Now you want to enable this setting and click Apply and Ok. You can leave a note to yourself in the comment box, which I find comes in handy when changing a lot of settings in Group Policy.

现在,您要启用此设置,然后单击“应用”和“确定”。 您可以在注释框中留下自己的注释,我发现在更改组策略中的许多设置时会很方便。

3pwr

Now when you look at the Power options in the Start Menu, the only options available are Log off, Switch user, and Lock.

现在,当您查看“开始”菜单中的“电源”选项时,唯一可用的选项是“注销”,“切换用户”和“锁定”。

4pwr

The setting goes into effect right away for all users of the machine. The button to turn off the computer if the user hits Ctrl+Alt+Del will be gone as well.

该设置对本机的所有用户立即生效。 如果用户单击Ctrl + Alt + Del,则关闭计算机的按钮也将消失。

翻译自: https://www.howtogeek.com/howto/7553/remove-shutdown-and-restart-buttons-in-windows-7/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值