







SQL Server Setup Help | |
Surface Area Configuration for Features (xp_cmdshell) - Database Engine | |
![]() |
![]() ![]() |
Configuring a SQL Server Installation > SQL Server Surface Area Configuration > Surface Area Configuration for Features > |
The xp_cmdshell extended stored procedure executes a command string as an operating-system command shell and returns any output as rows of text. Use the xp_cmdshell dialog in Surface Area Configuration to configure xp_cmdshell support.
Options
- Enable xp_cmdshell
-
If checked, the xp_cmdshell extended stored procedure is enabled. If unchecked, the xp_cmdshell extended stored procedure cannot be used.
For more information about xp_cmdshell, see xp_cmdshell (Transact-SQL) in Microsoft SQL Server Books Online.
For more information about configuring server options, see Setting Server Configuration Options in SQL Server Books Online.