Solved

Help with login scripts!

Posted on 2006-11-11
8
216 Views
Last Modified: 2010-04-18
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?
0
Comment
Question by:plenahan
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Expert Comment

by:DaSpug
ID: 17923348
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
 

Author Comment

by:plenahan
ID: 17924190
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
 
LVL 9

Expert Comment

by:trenes
ID: 17924804
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 4

Expert Comment

by:tomerlei
ID: 17925010
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
 

Author Comment

by:plenahan
ID: 17926832
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
 
LVL 4

Expert Comment

by:tomerlei
ID: 17928576
try to run the script that are in the Logon script path textbox manually, see if it does the same problem.
0
 
LVL 3

Accepted Solution

by:
DaSpug earned 500 total points
ID: 17928707
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
 

Author Comment

by:plenahan
ID: 17929670
it worked! thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question