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

MySQL ServerMicrosoft Legacy OSWindows 7

Avatar of undefined
Last Comment
_alias99

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Qlemo

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
LeeTutor

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.
Qlemo

I reckon the question is answered with my comment.
_alias99

All,
 
Following an 'Objection' by Qlemo (at https://www.experts-exchange.com/Q_27291782.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
Your help has saved me hundreds of hours of internet surfing.
fblack61