Friday, 12 September 2008

How to turn [master].dbo.[xp_cmdshell] on - SQL Server 2005/2008 ...

EXECUTE sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
GO
EXECUTE sp_configure 'xp_cmdshell', '1'
RECONFIGURE WITH OVERRIDE
GO
EXECUTE sp_configure 'show advanced options', 0
RECONFIGURE WITH OVERRIDE
GO

No comments:

Post a Comment