Change the mode of the domain on Windows server 2003 sp1
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Change the mode of the domain on Windows server 2003 sp1

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory
Author Message
Guest






PostPosted: Mon May 15, 2006 3:17 pm    Post subject: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

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!!!
Back to top
Laura E. Hunter [MVP]
Guest





PostPosted: Mon May 15, 2006 6:17 pm    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

What domain functional level is your domain currently at? Verify that it's
not already sitting at native mode, which would produce the error you're
reporting.

HTH


--
--
Laura E. Hunter: MVP Windows Server - Networking
All replies to newsgroup, please
Post provided as-is, no warranties expressed or implied

<chufall@gmail.com> wrote in message
news:1147691853.542174.227770@g10g2000cwb.googlegroups.com...
Quote:
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!!!
Back to top
Laura E. Hunter [MVP]
Guest





PostPosted: Mon May 15, 2006 6:19 pm    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

You might also want to try the following code from the book's website:

http://rallenhome.com/books/adcookbook/src/02.09-change_domain_mode.vbs.txt

HTH


--
--
Laura E. Hunter: MVP Windows Server - Networking
All replies to newsgroup, please
Post provided as-is, no warranties expressed or implied

<chufall@gmail.com> wrote in message
news:1147691853.542174.227770@g10g2000cwb.googlegroups.com...
Quote:
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!!!
Back to top
Joe Richards [MVP]
Guest





PostPosted: Mon May 15, 2006 8:54 pm    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

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@gmail.com wrote:
Quote:
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!!!
Back to top
Guest






PostPosted: Tue May 16, 2006 6:37 am    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

I cannot access the site :
http://www.joeware.net/win/free/tools/admod.htm !
Can you send this tool to my gmail:chufall@gmail.com ?

Thank you very much!
Back to top
Guest






PostPosted: Tue May 16, 2006 6:44 am    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

Thank you for your message!

But I cannot access the url you given to me:
http://www.joeware.net/win/free/tools/admod.htm

Can you send the admod tool to my gmail:chufall@gmail.com

Thank you very much

Joe Richards [MVP] wrote:
Quote:
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@gmail.com 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!!!
Back to top
Guest






PostPosted: Tue May 16, 2006 7:07 am    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

I have downloaded this tool through my firends!!!

I run this tools , but it successfully!

Why my script is failed?

Joe Richards [MVP] wrote:
Quote:
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@gmail.com 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!!!
Back to top
Joe Richards [MVP]
Guest





PostPosted: Tue May 16, 2006 8:57 am    Post subject: Re: Change the mode of the domain on Windows server 2003 sp1 Reply with quote

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@gmail.com wrote:
Quote:
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@gmail.com 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!!!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.active_directory All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory