Task doesn't run when "Start in" contains a UNC path
we have central scripts repository on servershare \\fileserver\scripts$. directory contains functions , libraries use in our scripts. on windows 2008 (r2) has worked charm. have our first windows server 2012, , doesn't work.
we 2 errors:
event id: 101
task scheduler failed start "\simpel test" task user "domain\serviceaccount". additional data: error value: 2147942667.
event id: 203
task scheduler failed launch action "c:\windows\system32\windowspowershell\v1.0\powershell.exe" in instance "{6e09d300-4d0e-4e13-80de-d7091384e939}" of task "\simpel test". additional data: error value: 2147942667.
when search error, find numerous hits path on "start in" shouldn't contain quotes "". don't have quotes in line, it's \\fileserver\scripts$. when run script command line, workes charm, has nothing rights. i've tried fqdn, , added trusted sites.
if tried knowledge, , times works, when don't use unc path local path or no path @ all. script fails because can't access functions , libraries.
i hope has solution.
Windows Server > Management
Comments
Post a Comment