MSSQL Enable xp_cmdshell

Execute a query with a sysadmin grant user. EXEC sp_configure 'show advanced options', 1 GO RECONFIGURE GO EXEC sp_configure 'xp_cmdshell', 1 GO RECONFIGURE GO

18 June 2013 @ 05:00 · Updated: 30 June 2026 @ 03:28 · leo