SIGN UP MEMBER LOGIN:    
Blog

Enable xp_cmdshell in Sql Server 2008

Posted by Manish Dwivedi Blogs | SQL Server 2012 May 19, 2011
This blog will explain you, how to enable xp_cmdshell in Sql Server 2008.
By default xp_cmdshell option disable, you can enable this from server configuration. Commands are as follows:

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
--To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO 
share this blog :
post comment