xp_cmdshell


hi,

i want know how can check if xp_cmdshell enabled or not , if enabled, users has right execute it? using sql server 2012

regards




hello,

you can check sp_configure if xp_cmdshell enabled:

exec sp_configure 'xp_cmdshell'

see msdn xp_cmdshell (transact-sql) regarding required permissions, sysadmins can run command directly.


olaf helper

[ blog] [ xing] [ mvp]



SQL Server  >  SQL Server Database Engine



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........