【发布时间】:2020-09-03 02:48:46
【问题描述】:
当 Windows Server 意外重启(如断电)时,是否有任何方法可以收到电子邮件通知。我想在启动服务中添加一些批处理脚本。
注意:没有任何监控工具。
【问题讨论】:
标签: windows windows-services windows-server-2012
当 Windows Server 意外重启(如断电)时,是否有任何方法可以收到电子邮件通知。我想在启动服务中添加一些批处理脚本。
注意:没有任何监控工具。
【问题讨论】:
标签: windows windows-services windows-server-2012
在加载 Windows 8 和 10 时运行批处理文件:
1) Create a shortcut to the batch file. (batch file should have how you want to do during build)
2) Press Start, type Run, and press Enter.
3) In the Run window, type "shell:startup" to open the Startup folder.
外壳:启动
4) Once the Startup folder is opened, click the Home tab at the top of the folder. Then, select Paste to paste the shortcut file into the Startup folder.
调用 C:\Yourbatch.bat
【讨论】: