Enable the xp_cmdshell and remote access
- In SQL Server Management Studio, right-click the registered server and select Facets.
- In the Facets list, select Surface Area Configuration.
- Under Facet properties, set the
XPCmdShellEnabledproperty to TRUE. - In the Facet list, select Server Configuration.
- Under Facet properties, set the
RemoteAccessEnabledproperty to TRUE. - From the Start menu, select .
- Right-click your database and select Restart to apply the changes.