logon script for win98 WS and W2K terminal server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've been trying to figure out how/where to put a simple MS-DOS script with a net use command to redirect LPT1. I'm running W2K server. I'm using W98 clients to access terminal services. Each TS client needs to have a unique net use command to redirect LPT1 to a shared "local printer". My manual talks about Winnt\sysvol being the default location. I don't have a c:\winnt\sysvol directory. The W2K installation was run with all default file locations- nothing custom. This has been very frustrating! What I want to do is very simple if I just knew where to put the login.bat. Any help would be much appreciated.
 
Pat Jacques said:
I've been trying to figure out how/where to put a simple MS-DOS script
with a net use command to redirect LPT1. I'm running W2K server. I'm using
W98 clients to access terminal services. Each TS client needs to have a
unique net use command to redirect LPT1 to a shared "local printer". My
manual talks about Winnt\sysvol being the default location. I don't have a
c:\winnt\sysvol directory. The W2K installation was run with all default
file locations- nothing custom. This has been very frustrating! What I
want to do is very simple if I just knew where to put the login.bat. Any
help would be much appreciated.

========================
If your clients are validated by a WinNT domain then you can do this:

- Specify a script name in the profile for each user acccount on the domain
controller, e.g. "netlogon.bat".

- Create some suitable folder on the server that acts as a domain
controller, e.g. "C:\LogonScripts".

- Create a share on this server. Its name must be "netlogon", and it must
point at "C:\LogonScripts".

- Create a file "c:\LogonScripts\netlogon.bat". Into this file you place the
commands that you want to be executed as your users log on.
 
Back
Top