On a Windows 2008 R2 member server (Win 2003 domain), I can run a batch file like this on command line:
"powershell.exe -noexit -noprofile -executionpolicy Unrestricted -file C:\Bin\Scripts\BitsTransfer-Server05.ps1"
However, the batch file fails as a scheduled task, with following error:
"Start-BitsTransfer : The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist."
The job is scheduled under a service account which is a member of Domain Admin group. And, yes, I have checked "Run whether user is logged on or not" and "run with highest privileges". Logging on as that account to the server did not make a difference.
I am able to run the scheduled jobs on other servers with the same account and same configuration without a problem. Thanks for any help.
Jay Kulsh


