现在的位置: 首页 > 综合 > 正文

sql server 2005恢复xp_cmdshell的办法

2013年01月05日 ⁄ 综合 ⁄ 共 332字 ⁄ 字号 评论关闭
sql server 2005恢复xp_cmdshell的办法

SQL Server 已封鎖元件 'xp_cmdshell' 的 程序 'sys.xp_cmdshell' 之存取,因為此元件已經由此伺服器的安全性組態關閉。系統管理員可以使用 sp_configure 來啟用 'xp_cmdshell' 的使用。如需有關啟用 'xp_cmdshell' 的詳細資訊,請參閱《SQL Server 線上叢書》中的<介面區組態>(Surface Area Configuration)。
用下面一句话就可以了解决了。
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
 

抱歉!评论已关闭.