troubleshooting Question

Remote execute a Windows batch file

Avatar of Gary Fuqua, CISSP
Gary Fuqua, CISSPFlag for United States of America asked on
Microsoft DOSProgramming
5 Comments1 Solution595 ViewsLast Modified:
I am trying to execute a scheduled job on a remote computer using the schtasks utility.    

I keep getting an error saying that "There are no scheduled tasks present on the system" when I use the following command to query tasks on a remote system:

schtasks /query  /s lapxp2.lab.local   /u lab\gary   p/ password  

I have two tasks on the remote machine (labxp2.lab.local) that were created with the user/pw that is also used in the schtasks command line.  

Any idea why tasks would not be listed.  
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros