Delete Configuration option 'xp_cmdshell' changed from 0 to 1. Run the RECONFIGURE statement to install

Hello,

How can I delete Configuration option 'xp_cmdshell' changed from 0 to 1. Run the RECONFIGURE statement to install on sqlcmd outputfile?

Thanks

Regards

bibi
bibi92Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ralmadaCommented:
Can you please rephrase your question? Please indicate what are you trying to do.
0
bibi92Author Commented:
Hello,

I try to remove the sqlserver messages in the sqlcmd output file.
For example, If I execute an sp_configure command, in the output file there is a message  Configuration option 'xp_cmdshell' changed from 0 to 1. Run the RECONFIGURE statement to install

Thanks

Regards

bibi
0
ralmadaCommented:
hmm, I'm not sure if that's possible. My question tough is why are you running that option as part of a script? you shouldn't change your server configuration every time you run a script.  Can you please explain why are you doing this? maybe there's a better approach to what you're doing.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

bibi92Author Commented:
sp_configure xp_cmdshell '1'
Thanks

bibi
0
ralmadaCommented:
I know that you're running that command, what I'm not sure is why the message you get from that command is bothering you. To my knowledge there's no way to get rid of that message.  Also remember that the complete command is
sp_configure xp_cmdshell '1'
reconfigure
0
bibi92Author Commented:
Exactly thanks, I think too that It isn't possible to remove it from the output file.

Thanks

regards

bibi
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.