Run Worklet outside NT AUTHORITY/SYSTEM Context

  • 5 November 2021
  • 1 reply
  • 2 views

Hey folks,


I’ve been working a worklet to enroll Windows 10 device in Autopilot using Graph API.


Mandatory “it works when run manually” but when testing in NTAUTHORITY/SYSTEM context via psexec, it fails. Specifically, when trying to install modules due to network access being heavily restricted in this account.


I could temporarily create a local administrator account, but I’m unsure as to how to run Automox-deployed worklets in another local user context.


Any pointers on how to run Worklets in another (local) user’s context?


Thanks!


1 reply

Can’t add much to actually answer the question, but did want to reply as I am also running into this issue. Scripts run fine in PS on my laptop, but when I run them through Automox I get no such luck.

Reply