Quantcast
Channel: Symantec Connect - Backup and Recovery - Discussions
Viewing all articles
Browse latest Browse all 6307

xp_cmdshell

$
0
0
I need a solution

Hi,

I have this problem: I have BE installed on a 2003 server, where I run a software based on SQL 2005 too. This software needs xp_cmdshell to be activated, but occasionally this function gets disabled. I searched on event viewer and SQL logs, and I found that the command change after some BE operations, so I need to turn it on launching those queries:

1

USE master

GO

EXEC sp_configure 'show advanced option', '1'

GO

RECONFIGURE

GO

EXEC sp_configure 'xp_cmdshell', 1

GO

RECONFIGURE

GO

2

use master

GRANT EXECUTE ON xp_cmdshell TO [dominio\gruppo di active directory]

3

use master

EXEC sp_xp_cmdshell_proxy_account 'dominio\utenteamministratore', 'password

I have 4-5 customers with this problem, so i created a scheduled task which launch the queries periodically, but I don't like this solution. I really need to solve this problem: does anyone have a solution?

Thanks a lot,

Leonardo Germinario


Viewing all articles
Browse latest Browse all 6307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>