Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netlogon scrpt

Status
Not open for further replies.

zxmax

Technical User
Nov 24, 2003
179
CA
Greeting,
i have this simple .bat file with this line it:
net start netlogon

is there anyway i could run this after a specific time , eg : 2 mintues after windows logon >?

the reason is, my netlogon service doesn't start when windows starts (windows 2003 server) even if i put that .bat file in my startup files, still doesn't start, but when winodws completely finish loading, i could start the service. I spent too much time tring to figure out this puzzle, and came up with the above solution

Any help , either fix the script, or find out why my netlogon service doesn't start. Thanks
 
Hello zxmax,

Is it in .vbs? If yes, I'd opte for simple sleep:
wscript.sleep 2*60*1000

regards - tsuji
 
i'm not a too export in scritping, but what i've done is i created a text file, renamed to .bat extension, and i added the netlogon line,
can i change the extension to .vbs, and it would work just like .bat extension ?
 
zxmax,

In bat, use ping to simulate it.
@echo off
ping -n 121 127.0.0.1 > nul

- tsuji
 
i found an answer, i found this file called sleep.exe, that does what i wanted to do ,

Thanks anyways,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top