Have you tried this:
PsExec -i -u "NT AUTHORITY\NETWORK SERVICE" cmd
Kasper Johansen
08/09/2022, 9:49 AM
there is a space between network and service
d
Dennis Hirsch
08/09/2022, 9:55 AM
sorry it was a typo, yes i have
m
Matthias Eckerle
08/09/2022, 10:40 AM
I failed there too…my guess is that recent psexec versions don't work anymore. Two other options to achieve the context switch:
1) Create a simple batch an use a scheduled task with context network service
2) Use nirsoft advancedrun tool
d
Dennis Hirsch
08/09/2022, 10:43 AM
Thanks @Matthias Eckerle will try that 🙂
👍🏼 1
Dennis Hirsch
08/09/2022, 11:25 AM
Lol the issue was the space between network and service, so vice versa as @Kasper Johansen said