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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I want to put a script , everytime

Status
Not open for further replies.

netwalker1

Programmer
Feb 5, 2000
1,241
EG
I want to put a script , everytime a user connects to my server , the script is start ..
how can I do this ?


Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
 
Add you scipt to usrlogn2.cmd and it will run for EVERY user EVERY time they log in.

Cheers,
Carl.
 
what if I used user.bat ?


Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
 
Add your script to the registry value HKLM\software\microsoft\windows nt\currentversion\winlogon\AppSetup
 
.bat files are 16 bit and would start under ntvdm so always use .cmd in Windows NT 4 or Windows 2000.

You can always call user.cmd from usrlogon.cmd

Cheers,
Carl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top