Run a script on Windows startup without a user logged on

后端 未结 5 966
半阙折子戏
半阙折子戏 2021-02-01 23:40

This is a Windows 2003 (or later) machine that gets switched on every morning, but no one logs on until some hours later.

I want to use the time in between to run a back

5条回答
  •  别那么骄傲
    2021-02-01 23:57

    There is, if you're using Active Directory. If you can isolate the computer to its own OU or use WMI filtering, you could assign a GPO which has a startup script for the computer. This would ensure that even if someone went in via safe mode and disabled the Task Scheduler, upon startup and connection to the domain, the script would run.

提交回复
热议问题