Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • How can I change the security context of unattended execution?
    – Yugendra
    Commented Jun 28, 2017 at 10:14
  • As far as I know, you can't. Unattended scheduled task execution is going to use S4U authentication so you won't have network access. The only way I got my project to work was to leave a user with the proper credentials logged in on the machine running the task. The idea is to prevent hackers from installing a scheduled task that would run unattended and, at the same time, have network access when the task is run.
    – thx1138v2
    Commented Jun 29, 2017 at 11:36
  • Now I am able to execute that script in Audit mode, but problem with this approach is: It ignores rest of the settings(Administrator password, EULA) in OOBE pass while entering in Audit mode. I have created seprate thread for that here.
    – Yugendra
    Commented Jul 5, 2017 at 18:51