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

Win2K Server and Default Policies

Status
Not open for further replies.

axslinger

IS-IT--Management
Jul 10, 2000
103
US
Greetings,

I have a new Win2k Server set up with 10 Win2k workstations attached. The first problem is that I keep getting messages at the server saying it's out of licenses. I have 15 licenses and only 10 workstations attached. It is set up for "per server". As a temporary fix I added licenses but would like to get to the bottom of it.

Second and more important problem: I used the User and Computer Manager (or whatever it's called) to set a default login script for the domain. The script is a batch file. The first thing it does is map network drives. That part works fine. After that it executes a command similar to this:

If %computername%==W1 GOTO 1
If %computername%==W2 GOTO 2
etc. through W10

then
:1
set WS=W1

:2
set WS=W2


:END


This is not verbatim, as I am doing it from memory. The point is, the batch file is not fully executing. If I browse to, and double-click on the batch file, it will map the network drives, but nothing else. If I copy the batch file to the local machine, then double-click on it, same thing. But If I copy the batch file to the local machine then run it from a command prompt, it does everything! Just as it should.

An additional problem: Early on, when I first set up these workstations, I had added system Environmental Variables using the advanced properties of My Computer. I have since then removed them. But every time I launch a command shell using Start|run|CMD then execute a Set command, the EV's are back! I have checked the Autoexec.nt and Config.nt and there is nothing in them.

Any help is greatly appreciated.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top