How can I run a powershell script with elevated permissions in windows 8.1 BEFORE any user logs on? I want it to execute at startup.
Thank you!
How can I run a powershell script with elevated permissions in windows 8.1 BEFORE any user logs on? I want it to execute at startup.
Thank you!
The above was useful, the solution to this was quite simple after all.
In windows 8.1 go to "Run" > gpedit.msc > Computer Configuration > Windows Settings > Scripts (Startup/Shutdown).
It can also run PowerShell scripts.