[ Need Info ] Logon Script

  • Thread starter Thread starter Martin Panggabean
  • Start date Start date
M

Martin Panggabean

Dear Friends,

I need a knowladge base and if necessary a tutorial where i could find
through internet about Logon Script. I have difficulties when I create a
logon script with notepad and saved it as file.bat, which I made so that all
users that login to my server ( windows 2000 adv server ) have their mapped
drive on server. The script is like this:

net use u: \\jipserver\%USERNAME%$
net use h: \\jipserver\public

but unfortunately the script does not work well on clients running on
windows 98. The mapped drive U: doesn't appear whe the user login to server.
It only shows drive H:. But it works well in computer running windows 2000
pro. My question is : do windows 98 recognize variable %username% and other
variable that windows 2000 has ? or should i install a supporting file(s) to
windows 98 so that windows 98 recognize system variables that windows 2000
has ?


Thank YOu
 
Dear Friends,

I need a knowladge base and if necessary a tutorial where i could find
through internet about Logon Script. I have difficulties when I create a
logon script with notepad and saved it as file.bat, which I made so that all
users that login to my server ( windows 2000 adv server ) have their mapped
drive on server. The script is like this:

net use u: \\jipserver\%USERNAME%$
net use h: \\jipserver\public

but unfortunately the script does not work well on clients running on
windows 98. The mapped drive U: doesn't appear whe the user login to server.
It only shows drive H:. But it works well in computer running windows 2000
pro. My question is : do windows 98 recognize variable %username% and other
variable that windows 2000 has ? or should i install a supporting file(s) to
windows 98 so that windows 98 recognize system variables that windows 2000
has ?


Thank YOu

W98 does not recognize the variables.

See tip 1786 » Another way to set %UserName%, %ComputerName%, and %LogonServer% for W9x.
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Back
Top