[windows2000] Re: AD Change user name

  • From: "Sullivan, Glenn" <GSullivan@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 7 Sep 2004 15:16:33 -0400

I thought that the ADS&S Stuff was the "Lather"

ADS&S gets me all lathered up, that's for sure... ;-) 

BTW, Here is the script that I use to force all DC's that are in the
"Domain Controller" OU to synch with each other.

It requires IADSTools.dll to be installed.

<-------Start Script-------->
1. Option Explicit
2. Dim objRootDSE, objOU, comDLL
3. Dim strDomainName
4. Dim objDomainController, objDomainController2
5. Dim intResult
6. Set objRootDSE = GetObject("LDAP://rootDSE";)
7. strDomainName = objRootDSE.Get("defaultNamingContext")
8. wscript.echo "Beginning Synch for " & strDomainName
9. WScript.Echo "---------------------------------------------------"
10. WScript.Echo
11. Set objOU = GetObject("LDAP://OU=Domain Controllers," &
strDomainName)
12. Set comDLL = CreateObject("IADsTools.DCFunctions")
13. For Each objDomainController In objOU
14.  For Each objDomainController2 In objOU
15.   If objDomainController.cn <> objDomainController2.cn Then
16.    WScript.echo "  Requesting Synch between " &
objDomainController.cn & " and " & objDomainController2.cn
17.    intResult = comDLL.ReplicaSync(CStr(objDomainController.cn),
CStr(strDomainName), CStr(objDomainController2.cn))
18.    If intResult=0 Then 
19.     wscript.echo "     Completed successfully." 
20.    Else 
21.     wscript.echo "     Failed " & comDLL.LastErrorText
22.    End If
23.    WScript.Echo
24.   End If
25.  Next
26. Next
<--------End Script--------->

Remove the line numbers and save as a .vbs file...

HTH,

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Beckett
Posted At: Tuesday, September 07, 2004 2:59 PM
Posted To: Windows 2000
Conversation: [windows2000] Re: AD Change user name
Subject: [windows2000] Re: AD Change user name


Lather, Rinse and Repeat
 
You have to lather

-----Original Message-----
From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx]
Sent: Tuesday, September 07, 2004 2:58 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: AD Change user name


Open each of the servers in AD Sites and Services, and select the NTDS
Settings in the left pane.

In the right pane, right click on the NTDS Settings objects, and choose
"Replicate Now"

Rinse.  Repeat.

HTH,

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Tasita Ebacher
Posted
At: Tuesday, September 07, 2004 2:42 PM Posted To: Windows 2000
Conversation: [windows2000] Re: AD Change user name
Subject: [windows2000] Re: AD Change user name


I'm not aware of how to force a AD server to replicate... I tried
searching
for it and can't find it!

>>AD can be forced to sync immediately in active directory sites and
>>services.

How do you do this?  I only have 2 AD servers, so it won't be difficult
to
do this manually.

Thanks!

Tasita Ebacher
702 Communications
Data Systems Engineer
CCNA


-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sullivan, Glenn
Sent: Tuesday, September 07, 2004 12:34 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: AD Change user name

Is there an easier way than to "Replicate Now" for each server?

What if there are 30 DC's?

(I don't have 30... But what if?)

Maybe I'm missing something... Basically, I miss the old "Synchronize
Entire
Domain" option from Server Mangler... 


Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Chris Berry
Posted
At: Tuesday, September 07, 2004 1:25 PM Posted To: Windows 2000
Conversation: [windows2000] Re: AD Change user name
Subject: [windows2000] Re: AD Change user name


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sullivan, Glenn wrote:

| Let me know if you need me to expand upon any of this, or if you want
| a script to force domain synchronization...

AD can be forced to sync immediately in active directory sites and
services.

- --
Chris Berry
chris_berry@xxxxxxxxxxxxxxxxx
Systems Administrator
JM Associates & Coast Business Service

"This message written on our state-of-the-art beowulf cluster of
nitrogen
cooled, overclocked C64's" -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBPe7tkAS13ByzgbsRAg/6AKCnw57e2xtKZBVBT1P41JD73c5TQQCg6kL3
wdDFSa6vgXJ2kCZmfGScYJw=
=EGik
-----END PGP SIGNATURE-----
********************************************************
This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check
out
our games to relieve your stress. http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check
out
our games to relieve your stress. http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

********************************************************
This Weeks Sponsor StressedPuppy.com Games Feeling stressed out? Check
out
our games to relieve your stress. http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: