Re: Change the mode of the domain on Windows server 2003 sp1



Not sure, it looks like it should have, but without a network trace, no way to be sure because you can't get at the good error messages through script.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



chufall@xxxxxxxxx wrote:
I have downloaded this tool through my firends!!!

I run this tools , but it successfully!

Why my script is failed?

Joe Richards [MVP] wrote:
Try to use admod to make the modification, make sure you use -exterr switch as
it will kick out a better error than scripts will. Post the error. At a guess,
you haven't matched the req's for going into native mode or don't have proper
permissions.


The command would be

admod -b dc=miti,dc=com ntmixeddomain::0 -exterr


Get it here

http://www.joeware.net/win/free/tools/admod.htm


--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



chufall@xxxxxxxxx wrote:
I used a script to changed the mode of the domain which is on the
windows server 2003 sp1.
the script is:

const DS_DOMAINMODE_NATIVE = 0

set objdefaultNamingContextContainer =
GetObject("LDAP://dc=miti,dc=com";)
objdefaultNamingContextContainer.Put
"nTMixedDomain",DS_DOMAINMODE_NATIVE
objdefaultNamingContextContainer.SetInfo

The server returns a message : "The server is unwilling to process the
request!"
(The script is founded on the book "Active Directory
Cookbook,O'Reilly")

Please do me a favour to tell me what's wrong with the script !
thank you very much!!!


.



Relevant Pages

  • Re: Script to find accounts with the password never expires checked
    ... Microsoft MVP Windows Server - Active Directory ... > line--I coppied what you have and saved it as .vbs but it ... >>This script does this. ...
    (microsoft.public.win2000.active_directory)
  • Re: Change the mode of the domain on Windows server 2003 sp1
    ... Try to use admod to make the modification, make sure you use -exterr switch as it will kick out a better error than scripts will. ... Joe Richards Microsoft MVP Windows Server Directory Services ... Author of O'Reilly Active Directory Third Edition ... (The script is founded on the book "Active Directory ...
    (microsoft.public.windows.server.active_directory)
  • Re: Unable to Use AD User after scripting
    ... Error messages? ... > I just finished using a script to add over 200 Users to my new AD Domain ... > Windows Server 2003. ... > to Login to my Domain. ...
    (microsoft.public.windows.server.scripting)
  • Export Active Directory
    ... different organisational units within Active Directory. ... this script to be able to run on Windows XP SP2 and Windows Server ...
    (microsoft.public.scripting.vbscript)
  • RE: 3 MUD Migration Strategy thoughts please
    ... Active Directory Operations Overview ... Once you have decided to implement an in-place upgrade process will go like ... you can install Exchange server and transfer mailbox etc. ... Why Upgrade from Windows NT 4.0 to Windows Server 2003 ...
    (microsoft.public.windows.server.migration)

Quantcast