Windows 2000 Login Script Problem

  • Thread starter Thread starter Melvin Golder
  • Start date Start date
M

Melvin Golder

I have a production location and an offsite DR location.
At my offsite location, I have a file and print server
that I want clients to map to when they login from the
offsite location. All of our workstations at that
location start with a prefix of "SP-". In our login
script I placed the following statement:

if %COMPUTERNAME:~0,3%=="SP-" goto splogon

:splogon
call sp-logon.bat
goto end

:end

This seemed to have worked in the lab, but when I got it
to production, anyone who logs in gets remapped to the
offsite server. Does anyone have any ideas what the
problem is? Does anyone have any other suggestions?

Thank you.
 
I have a production location and an offsite DR location.
At my offsite location, I have a file and print server
that I want clients to map to when they login from the
offsite location. All of our workstations at that
location start with a prefix of "SP-". In our login
script I placed the following statement:

if %COMPUTERNAME:~0,3%=="SP-" goto splogon

:splogon
call sp-logon.bat
goto end

:end

This seemed to have worked in the lab, but when I got it
to production, anyone who logs in gets remapped to the
offsite server. Does anyone have any ideas what the
problem is? Does anyone have any other suggestions?

Thank you.

If you don't have a goto end just before the splogon label,
these will flow to splogon.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.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

Back
Top