SQL Server blocks the solution to the component xp_cmdshell process
Error description: SQL Server blocked access to the process ' Sys.xp_cmdshell ' for component ' xp_cmdshell '. Because this component has been shut down as part of this service's security configuration. System administrators can enable ' xp_cmdshell ' by using sp_configure. For more information about enabling ' xp_cmdshell ', see the SQL Help file.
"Analysis":
Querying network data and SQL Help shows that xp_cmdshell can let system administrators execute a given command string as an operating system command-line interpreter and return any output as text lines, which is a very powerful extended storage process. In general, xp_cmdshell is also unnecessary for administrators, and the removal of xp_cmdshell does not have any impact on the server. When performing certain SQL operations, the SQL system requires this service to be turned on, as in this example, the new establish accounts set of operations.
"Processing":
<span STYLE28 "style=" line-height:150% ">1, executing commands in Query Analyzer
Through Query Analyzer, select the master database and execute the following SQL content:
sp_configure ' show advanced options ', 1
Reconfigure
Go
sp_configure ' xp_cmdshell ', 1
Reconfigure
Go
Source: Snow Wolf (http://blog.sina.com.cn/xuelang1981)
SQL Server blocks the solution to the component xp_cmdshell process