Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Powershell when run under a scheduled task requires a local user profile

$
0
0

If I run a scheduled task that executes a PS script, it fails, actually does nothing.  If I log onto that system with the user account running the task and then log off again, the scheduled task runs fine.  Why would a local profile need to be created before running a PS script with it?  We have a GPO that sets the MachinePolicy to RemoteSigned but have not been able to set the UserPolicy to RemoteSigned unless the user logs on.


Viewing all articles
Browse latest Browse all 8411

Latest Images

Trending Articles



Latest Images