Solved

My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell.  How do I get them back?

Posted on 2009-05-05
2
480 Views
Last Modified: 2012-06-21
My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell.  How do I get them back?   I'm not a SQL expert, we are running Everest Accounting system that uses MS SQL 2000.  There support person is the one who determined the missing procedures.

Thanks! In advance
0
Comment
Question by:Mr_Comdata
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
dportas earned 500 total points
ID: 24313052
Do you have a backup of the Master database?
http://msdn.microsoft.com/en-us/library/aa173515.aspx
If not, you may have to rebuild it if you really want those procs back. Although you can recreate xp_cmdshell I don't think you can do that without sp_addextendedproc.

Firstly, are you sure sp_addextendedproc isn't there? Check it yourself. Secondly, do you actually NEED either of these procs? They are not often used and in fact xp_cmdshell is very often removed by administrators for security reasons. It may well be that your system can work just fine without either of the procs.

If you really must fix it, then consider rebuilding master. Best to get some help from someone who has done it before. Make sure you have good backups of everything and be sure you know how to get your server up and working again. If you aren't confident of doing that then find or hire some help - it may only take less than an hour to do if all goes smoothly.
http://msdn.microsoft.com/en-us/library/aa214014(SQL.80).aspx
0
 
LVL 22

Expert Comment

by:dportas
ID: 24357868
Glad if that helped. I'm interested to know how you resolved this because I haven't heard of sp_addextendedproc being missing before. Was it really missing and did you have to rebuild master?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

740 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