如何防止Windows 10软件中心强制重启?

aca*_*a85 9 reboot windows-10

我有一台 Windows 10 托管计算机,我想阻止软件中心软件请求的强制重启。

在此输入图像描述

aca*_*a85 5

感谢@Peterstop-an-sccm-scheduled-reboot帖子。

  1. 确保您对正在运行的窗口具有管理员权限。(如果您不这样做,则此解决方案不适合您)
  2. 下载/解压 sysinternals-suite https://download.sysinternals.com/files/SysinternalsSuite.zip
  3. 创建并保存包含以下内容的 .cmd文件
    taskkill /F /IM SCnotification.exe
    pssuspend.exe CcmExec.exe -nobanner
    shutdown -a
    ```
    
    Run Code Online (Sandbox Code Playgroud)
  4. 以管理员权限运行 Windows 终端,然后执行 .cmd 我将文件命名为 stop-software-center.cmd)
    在此输入图像描述
  5. 检查 CcmExcec.exe 进程是否已挂起。 在此输入图像描述