Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: "at" command in cmd, Remote Scheduled Task for NOW

15 Dec 2011   #1
ThePrince

Windows 7
 
 
"at" command in cmd, Remote Scheduled Task for NOW

I want to create a scheduled job on a remote computer.


However, I want to create the scheduled job to run NOW, meaning the current time.

For example...

at \\COMPUTER now myCommand

I know that the time parameter has to be in a format like 00:12 or something, but how do I make the scheduled job run at the current time (aka immediately)?


Also, I wouldn't mind if my command ran, say, 5 seconds later. But the point is I want my command to run almost immediately after scheduling.


My intent behind this is simulating an instant remote execution of a program.


Any help much appreciated!!!
Prince


My System SpecsSystem Spec
.
16 Dec 2011   #2
Dave Atkin

Windows 7 Ultimate x64
 
 

Microsoft has a utility for executing jobs on remote systems - PsExec.

Have a look here:
PsExec



Dave
My System SpecsSystem Spec
20 Dec 2011   #3
ThePrince

Windows 7
 
 

Thank You. That tool does it.


Prince
My System SpecsSystem Spec
.

Reply

 "at" command in cmd, Remote Scheduled Task for NOW




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Run "cmd.exe" as a given user and "as administrator" in command line
Hello and thank you for reading my post. If I'm logged in Windows as user "u1", I can execute "cmd.exe" "as administrator" by choosing "Start" -> "cmd.exe" and right-click "Run as administrator".I would like to start another "cmd.exe" console as "u2" and "as administrator". (So, "u2" is not...
General Discussion
Can I stop UAC prompt for scheduled program (not "task" oriented)?
I have a TV capture app which required installing in legacy mode. With scheduled recordings a UAC prompt requires confirmation before initialization negating the usefulness of scheduling. I can leave the app open in the background and scheduled recordings will proceed as expected but with XP I...
System Security
W7 64bits Task Scheduler, the selected task "{0}" no longer exists
Hi, So I don't know when this: "the selected task "{0}" no longer exists. to see the current task, click refresh" error started but I don't know how to repair this. When I start task scheduler I first get this error and than no matter what folder I click the error pops up again. After this 2nd...
General Discussion
(Solution) No task manager/ No "run" command [Win 7]
I've been dealing with this problem for a few days and i finally got it after looking over different forums form random websites they all work for some people but I'm gonna try to put them all together the best i can. First of all I got this problem from a virus like I'm sure you did. The virus...
System Security
windows 7 scheduled task remote access
I recently upgraded my system to Windows 7 and I am unable to access scheduled taks on my remote servers. Before when I was running off win XP i had no problem with this. But now, even when opening up share folders on all my servers, i dont see the scheduled task folder; however, when i check on a...
Network & Sharing
the task bar "folder" pinned "program"
I usually use it by pinning my frequently use folder, so when I right click, the list of "pinned program (folder)" will be listed out, easy for me to access them in a click. and one day, all the pinned programs gone. so I attempted to "repin" all vanish folders, but even if I click to pin...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App