A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old January 9th 12, 03:06 PM posted to microsoft.public.windowsxp.help_and_support
vfclists[_2_]
external usenet poster
 
Posts: 9
Default 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  
Old January 10th 12, 07:27 PM posted to microsoft.public.windowsxp.help_and_support
Zaphod Beeblebrox
external usenet poster
 
Posts: 868
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 08:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.