Solved

Changed domain controller still using login script off old one

Posted on 2013-12-04
11
1,929 Views
Last Modified: 2014-01-06
I added a 2008 server and made it a domain controller and them transferred the FMSO roles to it. I'm trying to make an adjustment to the login scripts and it wasn't working. I ran %logonserver%\netlogon and it shows the path as looking toward the old domain controller. its still online for the moment I have some file shares to move off of it. how to I get the PC's to look to the new DC for the login scripts?
0
Comment
Question by:Axis52401
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 35

Accepted Solution

by:
Mahesh earned 500 total points
Comment Utility
Are both servers in same site?
Just run %logonserver% on client machines and new DC itself and check to which server they are pointing as a logon DC
may be they can point to old server as both servers in same site.
In that case you can add GPO on OU containing users with mentioning new DC path for logon script
For Ex: \\newDC\netlogon\xyz.bat

Or
else you can try by pasting above path in all user properties logon script path.
I have not tested this. Please try on one user 1st.

Mahesh
0
 
LVL 2

Author Comment

by:Axis52401
Comment Utility
Yes they are both at the same office
Running %logonserver% on the new server gives itself
Running it on  PC gives the old domain controller thats what I'm trying to figure out how to change before I take out the old server

I don't know much about creating GPOs so I don't know how to create and link one to mention the new path.
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
You must be having OU that contains all required users

Check below links to create logon script GPO
http://homepages.ius.edu/JHOLLY/a247/labs/LogonScript.htm
http://www.youtube.com/watch?v=5E34QVxdcGQ

Do not forget to set script path as I suggested in earlier comment.

OR

just try below
Go to user properties \ profiles tab and in "logon script" paste path mentioned above.
Check if it allow to do so.
If it works, then select all users and right click and go to properties \ profiles Tab and in "logon script" paste path mentioned above.

Mahesh
0
 
LVL 2

Author Comment

by:Axis52401
Comment Utility
I know how to create a login script we already have that done. In fact all the stations are using that script but its pulling it from  the Old server. What I'm trying to do is get the machines to utilize the script from the new DC or login server so I can shut down the old server.
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
You cannot stop clients from getting old server as logon server, since both servers are in same site.

just change the logon script path to reflect new server as my earlier comment may be through GPO

Mahesh
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Author Comment

by:Axis52401
Comment Utility
Yes but I don't know how to add GPO on OU containing users with mentioning new DC path for logon script
For Ex: \\newDC\netlogon\xyz.bat

What does that mean? I can add a GPO but where in those settings do I make that setting to get them to see the new server for the login script.
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
In new GPO when you are trying to add logon script, in user configuration, instead of browsing the script path, just type path of script manually
Ex: \\newdcname\netlogon\scriptname

Mahesh
0
 
LVL 2

Author Comment

by:Axis52401
Comment Utility
Ye thats the way I did it and its not applying
0
 
LVL 19

Expert Comment

by:compdigit44
Comment Utility
Here are a copy of points.

1) In AD all DC's are equal members meaning they can service log on request for clients in their given subnet. Just because to transferred FSMO roles from server to the other will not stop client from connecting to the old server since it is still hosting AD and the Sysvol share.

2) When you want to apply a GP you need to assigned it to the OU that contains the target user or computer accounts. You can also apply GP at the domain level.

3) Even if you change the path of the login script to run from the new server clients still may be authenticated by the old server but then run the script from the new server.

Are you trying to retire the old server. IF so why not run dcpomo on it and make it a regular member server. I would suggest buying an addtional server though since your should always have two DC's for redundancy.
0
 
LVL 24

Expert Comment

by:Sandeshdubey
Comment Utility
How have you applied the script is it on user properties/OU/domain etc.You need to check the same and point the UNC path to new DC.To get the clear view can you post the screenshot of the policy.Also change the dns setting preferred dns setting on client computer to new DC this may be in DHCP or TCP/IP setting.
0
 
LVL 19

Expert Comment

by:compdigit44
Comment Utility
If you are still having problems can you upload the following information.
1) Screen shot of your GP login script settings including script path
2) Screen shot of GP placing in AD structure
3) TCP/IP settings on the server
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

762 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