首页 > 数据库技术 > 详细

SQL Server启动/关闭xp_cmdshell

时间:2019-10-23 19:17:24      阅读:94      评论:0      收藏:0      [点我收藏+]
 1 ==》启用xp_cmdshell
 2 USE master 
 3 EXEC sp_configure show advanced options, 1 
 4 RECONFIGURE WITH OVERRIDE 
 5 EXEC sp_configure xp_cmdshell, 1 
 6 RECONFIGURE WITH OVERRIDE 
 7 EXEC sp_configure   show advanced options, 0
 8 RECONFIGURE WITH OVERRIDE 
 9  
10  
11 ==》关闭xp_cmdshell
12 USE master 
13 EXEC sp_configure show advanced options, 1 
14 RECONFIGURE WITH OVERRIDE 
15 EXEC sp_configure xp_cmdshell, 0 
16 RECONFIGURE WITH OVERRIDE 
17 EXEC sp_configure   show advanced options, 0
18 RECONFIGURE WITH OVERRIDE 

原文链接:https://blog.csdn.net/l1028386804/article/details/85649049

SQL Server启动/关闭xp_cmdshell

原文:https://www.cnblogs.com/panisme/p/11727795.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!