Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 Removing AD from 2003SBS server with 2005SQL

Author  Topic 

rswift
Starting Member

3 Posts

Posted - 2011-05-10 : 17:32:05
We have a 2003 server that was in a domain that has been closed down.
2 of the offices remain and have a domain controller in a different domain. They want me to save the server as a member server to access the old data. I have done a good bit of research and tried to remove the sql from the Active Directory before I do a dcpromo to remove it and I get an error: error 2812 could not find stored procedure 'master.dbo.xp_cmdshell'. Has anyone got any idea how to work around this, or a better process to get the task done?
Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-10 : 17:51:08
Why are you trying to do it via xp_cmdshell?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

rswift
Starting Member

3 Posts

Posted - 2011-05-11 : 11:33:26
I went to the SQL server properties, active directory tab, and clicked on the remove sql from active directory button and that error is what popped up.
Rswift
quote:
Originally posted by tkizer

Why are you trying to do it via xp_cmdshell?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-11 : 12:43:57
What tool are you using to do this? I'm so confused as I don't see anything like this in the SQL Server properties of the SQL tools. Are you talking about an Active Directory tool? Why would it need xp_cmdshell? That is so bizarre.

You likely have xp_cmdshell disabled and will need to enable it to get past the error: http://weblogs.sqlteam.com/tarad/archive/2006/09/14/12103.aspx



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

rswift
Starting Member

3 Posts

Posted - 2011-05-11 : 13:35:36
In SQL Server Enterprise Manager>console root>Microsoft SQL Servers>SQL Servers Group>name of Server>properties>active Directory.
Hey the instance has been removed from AD after a reboot I guess. After the error I thought it did not go through.

Anyway is there any better way to remove this server from the domain than DCpromo, so as not to upset SQL or it's working condition?
Rswift

quote:
Originally posted by tkizer

What tool are you using to do this? I'm so confused as I don't see anything like this in the SQL Server properties of the SQL tools. Are you talking about an Active Directory tool? Why would it need xp_cmdshell? That is so bizarre.

You likely have xp_cmdshell disabled and will need to enable it to get past the error: http://weblogs.sqlteam.com/tarad/archive/2006/09/14/12103.aspx



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-11 : 14:14:24
Ah well, I don't have SQL Server 2000 client tools installed anymore, so I wasn't able to check Enterprise Manager. It's not available in Management Studio, which is where I checked.

Glad you got it resolved.

That method does not need to be followed though, you'd just change the service to a local account and ensure your users are local or SQL accounts.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -