首页 热点资讯 义务教育 高等教育 出国留学 考研考公
您的当前位置:首页正文

turnon'xp_cmdshell'

2020-11-09 来源:华拓网

SQLServerblockedaccesstoproceduresys.xp_cmdshellofcomponentxp_cmdshellbecausethiscomponentisturnedoffaspartofthesecurityconfigurationforthisserver.Asystemadministratorcanenabletheuseofxp_cmdshellbyusingsp_configure. Refer:http://msdn.micros

SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure.

Refer: http://msdn.microsoft.com/en-us/library/ms190693(SQL.90).aspx <无>

源码与演示:源码出处

$velocityCount-->
use master
go
sp_configure 'show advanced options',1
reconfigure with override
go
sp_configure 'xp_cmdshell', 1
reconfigure with override
go
显示全文