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

Logon Scripts 1

Status
Not open for further replies.

faisul

IS-IT--Management
Nov 17, 2000
30
NO
Can I make an application start automatically when users login to the system.

I was told It could be done through the logon script. Is this true and if so could anyone give me an example of the script.

Thanks

Faisul
 
a script is the same thing that a batch file, like autoexec.bat on a windows 9X

an example

net use H: \\server1\EGBA
net use I: \\server1\GRAFICA
net use J: \\server1\logs
net use K: \\server2\logs
net use L: \\server1\admin$\repair
net use M: \\server2\admin$\repair


ntbackup backup H: /v /t normal
ntbackup backup d:\correspondencias /v /t normal /a
ntbackup backup I: /v /t normal /a
ntbackup backup d:\Basedado_Producao\I-One /v /t normal /a
ntbackup backup d:\Basedado_Producao\backup /v /t normal /a
ntbackup backup d:\Fonte_Producao /v /t normal /a
ntbackup backup d:\Executavel_Producao /v /t normal /a
ntbackup backup C:\WINNT\system32\Repl\Import\Scripts /v /t normal /a
ntbackup backup J: /v /t normal /a
ntbackup backup e:\logs /v /t normal /a
ntbackup backup K: /v /t normal /a
ntbackup backup L: /v /t normal /a
ntbackup backup c:\winnt\repair /v /t normal /a
ntbackup backup M: /v /t normal /a



this script make backup

you save at \winnt\system32\repl\import\Scripts, named as file.cmd
this is the path of the NETLOGON sharing

put the file name on your user proprieties on the user manager in perfil/logon script (may be a diferente name, i am usin a portuguese version trying to traduce)


i hope that it was helpfull
 
Thanks,

That explains alot!

I persume I can make Microsoft Outlook to launch when people login!!!

Faisul

 
yes, if in all machines have the outlook, you may put the the complete local of the outlook.
 
Alternatively,

You can place an Outlook shortcut in the Startup folder located C:\Winnt\Profiles\All Users\Start Menu\Programs\Startup when you image the machines. I believe that this can be “pushed” down across the LAN if it wasn’t done at that time.
Thanks,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top