Does the Windows Task Scheduler have a way to run a command a settime after the user logs on?

V

vfclists

Does the Windows Task Scheduler have a way to run a command a set time
after the user logs on?

I prefer it to run the first time anybody logs on, whether manually or
if the computer is set to logon a particular user automatically.

/vfclistsGUY
 
Z

Zaphod Beeblebrox

:
Does the Windows Task Scheduler have a way to run a command a set
time after the user logs on?

I prefer it to run the first time anybody logs on, whether
manually or if the computer is set to logon a particular user
automatically.

Not directly as far as I know, but you could wrap the command in a .bat
file that uses a ping command to delay it. For example, to delay 30
seconds use:

ping 127.0.0.1 -n 31

That is, add 1 to the number of seconds and use that as the setting for
the -n parameter. Not particularly accurate, but should work reliably.

Then, since I don't know of a way for a Scheduled Task to apply to all
users at logon, either configure a default logon script for all users
with group policy editor or add it to the LocalMachine Run registry
entry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top