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
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

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.
Avatar of Qlemo
Qlemo
Flag of Germany image

I reckon the question is answered with my comment.
Avatar of _alias99
_alias99
Flag of United States of America image

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
Microsoft Legacy OS
Microsoft Legacy OS

The Microsoft Legacy Operating System topic includes legacy versions of Microsoft operating systems prior to Windows 2000: All versions of MS-DOS and other versions developed for specific manufacturers and Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions, and Windows Mobile.

55K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo