[ Need Info ] Logon Script

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top