*** Hopeleonie ***
asked on
Task with PowerShell Script is failing with 0x41301
Hi
I’m trying to run a Task with a PowerShell Script and the last run result is 0x41301.
-Settings.pdf
The Technical User is an Administrator and has the needed permission on the Script path.
What am I doing wrong? Any help is appreciated.
Many thanks in advance.
I’m trying to run a Task with a PowerShell Script and the last run result is 0x41301.
-Settings.pdf
The Technical User is an Administrator and has the needed permission on the Script path.
What am I doing wrong? Any help is appreciated.
Many thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Log on as a batch job is a security right, not a group. But the scheduled task is running, so I can't see that being the issue. If you want, you can check under gpedit.msc: Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Log on as a batch job.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Learnctx
Because of you I found that this was not an error and the Script was running (hanging). So the other company fixed the PowerShell script.
@all
Thank you very much for your help.
Because of you I found that this was not an error and the Script was running (hanging). So the other company fixed the PowerShell script.
@all
Thank you very much for your help.
ASKER
Thanks for the hint. :-)
@Coralon
I will ask the customer if we can public the script.
@Sekar Chinnakannu
Under Local Groups we don't see a Group log on as batch job.