mssql 开启xp_cmdshell

开启 

sp_configure 'show advanced options',1
reconfigure
go
sp_configure 'xp_cmdshell',1
reconfigure
go

 

关闭一样.只是将上面的后面的那个"1"改成"0"就可以了. 

sp_configure 'show advanced options',0
reconfigure
go
sp_configure 'xp_cmdshell',0
reconfigure
go

posted @ 2020-01-10 16:31  那个ノ花开不败的夏天  阅读(180)  评论(0编辑  收藏  举报