一、首先,在桌面开始菜单中,执行运行窗口。然后在运行窗口中输入regedit命令。

二、打开系统注册表编辑器后,打开如下位置:HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control。

三、接着在右边的窗口里,右键单击选择“新建”-“字符串值”。然后再将其字符串值重命名为WaitToKillServiceTimeout。

四、接着双击该键值,在窗口中数值数据处输入数据。正常情况下输入12000即可,表示为12000毫秒。如果你不想设置关机的时间,那么就将其数值设定为0。