遇到sql server 2005 ,恢复xp_cmdshell的办法
2008-11-13 13:44
609 查看
遇到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;
关闭一样.只是将上面的后面的那个"1"改成"0"就可以了.
EXEC sp_configure ’show advanced options’, 1;RECONFIGURE;EXEC sp_configure ’xp_cmdshell’, 0;RECONFIGURE;
########################################################################################
两种方式:
EXEC sp_configure ’show advanced options’, 1;RECONFIGURE;EXEC sp_configure ’xp_cmdshell’, 1;RECONFIGURE;--
OR :
;EXEC sp_configure ’show advanced options’, 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure ’xp_cmdshell’, 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure ’show advanced options’, 0 --
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;
关闭一样.只是将上面的后面的那个"1"改成"0"就可以了.
EXEC sp_configure ’show advanced options’, 1;RECONFIGURE;EXEC sp_configure ’xp_cmdshell’, 0;RECONFIGURE;
########################################################################################
两种方式:
EXEC sp_configure ’show advanced options’, 1;RECONFIGURE;EXEC sp_configure ’xp_cmdshell’, 1;RECONFIGURE;--
OR :
;EXEC sp_configure ’show advanced options’, 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure ’xp_cmdshell’, 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure ’show advanced options’, 0 --
相关文章推荐
- sql server 2005 ,恢复xp_cmdshell的办法
- sql server 2005恢复xp_cmdshell的办法
- SQL Server 2005 2008 xp_cmdshell 恢复与禁用
- SQL Server 2005 2008 xp_cmdshell 恢复与禁用
- sql server 2005下开启xp_cmdshell的办法
- sql server 2005下开启xp_cmdshell的办法
- sql server 2005下开启xp_cmdshell的办法
- sql server 2005下开启xp_cmdshell的办法
- 恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用
- SQL Server 2005 启用 xp_cmdshell
- SQL Server 2005如何起用“xp_cmdshell”
- SQL SERVER 2005开启xp_cmdshell的方法
- SQL Server 2005 恢复数据库时遇到的问题
- 恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用
- 恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用
- GridView连接SQL Server 2005实现增加、更新、删除按钮时遇到的两个错误及解决办法
- SQL Server 2005如何起用 xp_cmdshell
- SQL Server 2005 启用 xp_cmdshell 使用T-SQL语句导出数据到文件
- 恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用
- SQL Server 2005如何起用“xp_cmdshell”