Link to home
Start Free TrialLog in
Avatar of dspencercl
dspencercl

asked on

XP_CMDSHELL

I am attempting to give access to the xp_cmdshell to two windows groups on my server.

What I have set up is this:

In The master database, I have given my user ( which is actually a group...DOMAIN\GroupName ) Execute permission on the xp_cmdshell object.

I have enabled the actual xp_cmdshell feature via the script:

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO

When I attempt to access the xp_cmdshell via my application, I recieve the following error:

System.Data.SQLCLient.SQLEXception The xp_cmdshell proxy account information cannot be reteieved or is invalid

The other item of not here is that this only occurs on windows 7.  When i install this app on XP all flavors, I never run into this, and have not had to create a proxy account, and i do not even know what that refers to.

Could anyone point me in the right direction?

Thanks,

Doug

ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
I reckon the question is answered with my comment.
All,
 
Following an 'Objection' by Qlemo (at https://www.experts-exchange.com/questions/27291782/Automated-Request-for-Review-Objection-to-Delete-Q-27249491.html) to the intended closure of this question, it has been reviewed by at least one Moderator and is being closed as recommended by the Expert.
 
At this point I am going to re-start the auto-close procedure.
 
Thank you,
 
_alias99
Community Support Moderator