启用、关闭xp_cmdshell
来源:互联网 发布:甲醛检测仪数据怎么看 编辑:程序博客网 时间:2024/05/19 23:54
--启用xp_cmdshell
USE master
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
RECONFIGURE WITH OVERRIDE
--关闭xp_cmdshell
USE master
EXEC sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
EXEC sp_configure 'xp_cmdshell', 0
RECONFIGURE WITH OVERRIDE
EXEC sp_configure 'show advanced options', 0
USE master
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
RECONFIGURE WITH OVERRIDE
--关闭xp_cmdshell
USE master
EXEC sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
EXEC sp_configure 'xp_cmdshell', 0
RECONFIGURE WITH OVERRIDE
EXEC sp_configure 'show advanced options', 0
RECONFIGURE WITH OVERRIDE
输出:(关闭时)
配置选项 'show advanced options' 已从 1 更改为 1。请运行 RECONFIGURE 语句进行安装。
配置选项 'xp_cmdshell' 已从 1 更改为 0。请运行 RECONFIGURE 语句进行安装。
配置选项 'show advanced options' 已从 1 更改为 0。请运行 RECONFIGURE 语句进行安装。
- 启用与关闭xp_cmdshell
- 启用、关闭xp_cmdshell
- SQL SERVER 启用和关闭xp_cmdshell
- 启用xp_cmdshell
- MSsql2005如何启用xp_cmdshell
- 启用SQL2005 xp_cmdshell
- Mssql2005如何启用xp_cmdshell
- MSsql2005如何启用xp_cmdshell
- MSsql2005如何启用xp_cmdshell
- MSSQL2008一句话启用xp_cmdshell
- MSSQL2008一句话启用xp_cmdshell
- 关闭/开启XP_CMDSHELL
- 关闭 sp_OACreate 与 xp_cmdshell
- SQL Server 2005 启用 xp_cmdshell
- Dos打开sp_configure启用xp_cmdshell
- sql server 启用xp_cmdshell 重启pcanywhere
- SQL Server如何启用xp_cmdshell组件
- SQL Server如何启用xp_cmdshell组件
- SharePoint 2010中托管元数据
- poj 1840 (hash)
- zoj 1100
- C#的throw异常处理语句
- tomcat startup.bat 无法启动问题解决方法
- 启用、关闭xp_cmdshell
- 数据库中的存储过程在C#项目中的使用举例
- 泛型方法
- 一、从HelloWord开始
- (int)a、&a、(int)&a、(int&)a的区别
- Teamviewer:远程协助工具
- yum install 程序的一种方法
- Python字符集编码和文件读写
- 东方时尚驾校-科目三-雪铁龙-考试技巧