Help with login scripts!

My office has installed a new win 2003 server. We have copied all users and groups to the new server and data. The server is a domain of the same domain (office) and we demonted the old server. My problem is the login scripts still point to the old server and when I manually try to make a drive letter from a workstation I get an error 67 network name cannot be found. I searched the new server for scripts and cannot find any. What should I do about this?
plenahanAsked:
Who is Participating?
 
DaSpugConnect With a Mentor Commented:
In the top of the script put in: net use * /del /y

That'll delete all entries, then run the script manually. If it works all mapped drives will disappear, then the new ones will reappear.

Log off and on and see what happens. Might be useful to put a PAUSE at the end so you can see if it errors whilst running.

DaSpug
0
 
DaSpugCommented:
Hi,
When you 'make' a drive letter do you point it at the new server? If it says the name cannot be found then you have one of several problems:

1. The server is not being seen correctly on the network. Check DNS/WINS
2. You haven't shared the directory.
3. You are incorrectly typing the server/share name.

If the scripts were previously held in the SYSVOL share then these should have replicated, if they did not then you didn't leave it long enough before demoting the old server, which could lead to many problems.

Where were the scripts previously?

Can you re-create the scripts/restore them from backup?

DaSpug
0
 
plenahanAuthor Commented:
the scripts are simple

net use f:\\capital\data /y
net use g:\\capital\win2000 /y
net use h:\\capital\users /y

that's it. I made a new login.bat in the users containter on the new server but for some reason they are not comming up on the xp boxes. It still shows the  old login scripts which point to \\server (which that is the name of the server)
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
trenesCommented:
Hi DaSpug,

Check grouppolicy management console from there try to find wich GPO applies to you users.
If you have found that find the entry where the login.bat is configured. Now choose browse.
You should end up in the folder holding your login script. Now you can right click the login script to edit it to your needs.

Hope that helps

Cheers!
regards,

Trenes
0
 
tomerleiCommented:
How did you move all the users from the old domain to the new one?
maybe you didn't change the logon script path in the user object and when it boots it still runs the script from the old server?
open active directory users and computers and click on one of the users to check their logon script path, maybe it is still pointing to the old server?
0
 
plenahanAuthor Commented:
The login.bat file is correct. It points to the new server but it seems that windozes is still not making a new connection to this server.
0
 
tomerleiCommented:
try to run the script that are in the Logon script path textbox manually, see if it does the same problem.
0
 
plenahanAuthor Commented:
it worked! thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.