If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Does the Windows Task Scheduler have a way to run a command a settime after the user logs on?
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 |
Ads |
#2
|
|||
|
|||
Does the Windows Task Scheduler have a way to run a command a set time after the user logs on?
vfclists wrote in
: 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. -- Zaphod Voted "Worst Dressed Sentient Being in the Known Universe" for seven years in a row. |
Thread Tools | |
Display Modes | |
|
|