Solved

Help with login scripts!

Posted on 2006-11-11
8
213 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 4

Expert Comment

by:tomerlei
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:plenahan
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
it worked! thanks.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Learn about cloud computing and its benefits for small business owners.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now