Can anyone answer? schtasks...
-
Hello, I have tried unsuccessfully on many sites to find the answer to this so kudos if you have any insight. I am using schtasks schtasks /Create /S WS2 /RU Administrator /RP Foobar /SC ONSTART /TN MyTask /TR C:\Admin\RunMe.bat to create a task on a windows xp workstation remotely that runs a SYSTEM boot up. When I create the task remotely, occasionnaly it works fine, but usually i get a: "trust relationship for this workstation and the primary domain failed" error. I believe this might have something to do with the task trying to run before the network is fully set up etc, or somethign funky with active directory. If I run the task immedietly it works fine, only when I try to run the task on start, and only occasionally. The funny thing is, when I create the task I use the local Admin username and password, but I think it may fail because it seems to try to authenticate the credentials that I used to log into the machine to create the task FROM. Anyone know why this is happening and how to fix it? thanks steve
-
Hello, I have tried unsuccessfully on many sites to find the answer to this so kudos if you have any insight. I am using schtasks schtasks /Create /S WS2 /RU Administrator /RP Foobar /SC ONSTART /TN MyTask /TR C:\Admin\RunMe.bat to create a task on a windows xp workstation remotely that runs a SYSTEM boot up. When I create the task remotely, occasionnaly it works fine, but usually i get a: "trust relationship for this workstation and the primary domain failed" error. I believe this might have something to do with the task trying to run before the network is fully set up etc, or somethign funky with active directory. If I run the task immedietly it works fine, only when I try to run the task on start, and only occasionally. The funny thing is, when I create the task I use the local Admin username and password, but I think it may fail because it seems to try to authenticate the credentials that I used to log into the machine to create the task FROM. Anyone know why this is happening and how to fix it? thanks steve