<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Enable xp_cmdshell using sp_configure</title>
	<atom:link href="http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: neeraj singhal</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-449808</link>
		<dc:creator><![CDATA[neeraj singhal]]></dc:creator>
		<pubDate>Thu, 04 Apr 2013 12:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-449808</guid>
		<description><![CDATA[thanx....]]></description>
		<content:encoded><![CDATA[<p>thanx&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-421762</link>
		<dc:creator><![CDATA[Hasan]]></dc:creator>
		<pubDate>Thu, 14 Feb 2013 14:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-421762</guid>
		<description><![CDATA[hi
please help me i am transfering file from my sql sever to Client FTP file is transfering successfully but

FTP sendinng an empty file though records are there in the source file!!!

i am using xp_cmdShell store procedure 2005

Any help

Thanks]]></description>
		<content:encoded><![CDATA[<p>hi<br />
please help me i am transfering file from my sql sever to Client FTP file is transfering successfully but</p>
<p>FTP sendinng an empty file though records are there in the source file!!!</p>
<p>i am using xp_cmdShell store procedure 2005</p>
<p>Any help</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webcat5</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-416562</link>
		<dc:creator><![CDATA[webcat5]]></dc:creator>
		<pubDate>Sat, 02 Feb 2013 02:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-416562</guid>
		<description><![CDATA[it would be really nice if you would FIX the squotes on this, it works fine if the single quotes are correct.  It DOES not work with the the incorrect symbols you have listed for squotes -- THEY are not recognized.   it should be &#039;&#039;&#039;&#039;&#039;&#039;&#039;  not ```````  c&#039;mon FIX IT ALREADY!]]></description>
		<content:encoded><![CDATA[<p>it would be really nice if you would FIX the squotes on this, it works fine if the single quotes are correct.  It DOES not work with the the incorrect symbols you have listed for squotes &#8212; THEY are not recognized.   it should be &#8221;&#8221;&#8221;&#8217;  not &#8220;&#8220;&#8220;`  c&#8217;mon FIX IT ALREADY!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webcat5</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-410547</link>
		<dc:creator><![CDATA[webcat5]]></dc:creator>
		<pubDate>Mon, 21 Jan 2013 04:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-410547</guid>
		<description><![CDATA[Nirav,
If you run an executable such as mspaint from SQL server cmd shell, it cannot finish because you have opened a document and it just waits.  There is no end to this, because it is like you opened up Microsoft Word and expect it to do something ?  try running your cmdshell dos commands in DOS first, as it will give you an idea of what that command accomplishes.  MSPAINT opens MS paint and then the application is open, there is no DOS return or end.  This is why your query doesn&#039;t end -- you have opened a process that has no end until you interact with it as a user.

CMDSHELL is meant for DOS commands that run with a finite end, such as dir or del or md, rd.  You can&#039;t just run any executable file unless you have written these executables or .bat files and know that they have a finite end and a return of control, thus ending the cmdshell session.]]></description>
		<content:encoded><![CDATA[<p>Nirav,<br />
If you run an executable such as mspaint from SQL server cmd shell, it cannot finish because you have opened a document and it just waits.  There is no end to this, because it is like you opened up Microsoft Word and expect it to do something ?  try running your cmdshell dos commands in DOS first, as it will give you an idea of what that command accomplishes.  MSPAINT opens MS paint and then the application is open, there is no DOS return or end.  This is why your query doesn&#8217;t end &#8212; you have opened a process that has no end until you interact with it as a user.</p>
<p>CMDSHELL is meant for DOS commands that run with a finite end, such as dir or del or md, rd.  You can&#8217;t just run any executable file unless you have written these executables or .bat files and know that they have a finite end and a return of control, thus ending the cmdshell session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineet</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-392983</link>
		<dc:creator><![CDATA[vineet]]></dc:creator>
		<pubDate>Fri, 14 Dec 2012 07:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-392983</guid>
		<description><![CDATA[this is only work on sql server 2008]]></description>
		<content:encoded><![CDATA[<p>this is only work on sql server 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirav Vyas</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-388453</link>
		<dc:creator><![CDATA[Nirav Vyas]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 23:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-388453</guid>
		<description><![CDATA[HI,
    I am able to enable the xp_cmdshell on my sql server 2008 but when I run the procedure like

    Exec master.dbo.xp_cmdshell ‘C:\Windows\system32\mspaint.exe’

    It will start executing but never get complete I mean its keeps on executing the query I waited for some 15 mins but it wont run. Can anyone shade light on the issue Any help is appreicated.

    Thanks
    Nirav]]></description>
		<content:encoded><![CDATA[<p>HI,<br />
    I am able to enable the xp_cmdshell on my sql server 2008 but when I run the procedure like</p>
<p>    Exec master.dbo.xp_cmdshell ‘C:\Windows\system32\mspaint.exe’</p>
<p>    It will start executing but never get complete I mean its keeps on executing the query I waited for some 15 mins but it wont run. Can anyone shade light on the issue Any help is appreicated.</p>
<p>    Thanks<br />
    Nirav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirav VyasNirav</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-388452</link>
		<dc:creator><![CDATA[Nirav VyasNirav]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 23:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-388452</guid>
		<description><![CDATA[HI, 
I am able to enable the xp_cmdshell on my sql server 2008 but when I run the procedure like 

Exec master.dbo.xp_cmdshell &#039;C:\Windows\system32\mspaint.exe&#039;

It will start executing but never get complete I mean its keeps on executing the query I waited for some 15 mins but it wont run. Can anyone shade light on the issue Any help is appreicated.

Thanks
Nirav]]></description>
		<content:encoded><![CDATA[<p>HI,<br />
I am able to enable the xp_cmdshell on my sql server 2008 but when I run the procedure like </p>
<p>Exec master.dbo.xp_cmdshell &#8216;C:\Windows\system32\mspaint.exe&#8217;</p>
<p>It will start executing but never get complete I mean its keeps on executing the query I waited for some 15 mins but it wont run. Can anyone shade light on the issue Any help is appreicated.</p>
<p>Thanks<br />
Nirav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salu</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-328921</link>
		<dc:creator><![CDATA[Salu]]></dc:creator>
		<pubDate>Sat, 11 Aug 2012 17:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-328921</guid>
		<description><![CDATA[Pinal I ran your above commands word to word, recycled SQL Server 2000, still I am not seening xp_cmdshell option. What could be wrong. I appreciate your help.

HERE IS THE ERROR.

Msg 15123, Level 16, State 1, Procedure sp_configure, Line 78
The configuration option &#039;xp_cmdshell&#039; does not exist, or it may be an advanced option.



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]]></description>
		<content:encoded><![CDATA[<p>Pinal I ran your above commands word to word, recycled SQL Server 2000, still I am not seening xp_cmdshell option. What could be wrong. I appreciate your help.</p>
<p>HERE IS THE ERROR.</p>
<p>Msg 15123, Level 16, State 1, Procedure sp_configure, Line 78<br />
The configuration option &#8216;xp_cmdshell&#8217; does not exist, or it may be an advanced option.</p>
<p>EXEC sp_configure ‘show advanced options’, 1</p>
<p>GO</p>
<p>—- To update the currently configured value for advanced options.</p>
<p>RECONFIGURE</p>
<p>GO</p>
<p>—- To enable the feature.</p>
<p>EXEC sp_configure ‘xp_cmdshell’, 1</p>
<p>GO</p>
<p>—- To update the currently configured value for this feature.</p>
<p>RECONFIGURE</p>
<p>GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darnell Dudley</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-268988</link>
		<dc:creator><![CDATA[Darnell Dudley]]></dc:creator>
		<pubDate>Wed, 28 Mar 2012 14:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-268988</guid>
		<description><![CDATA[Below when I executing the stored procedure in either code or in sql server management studio 2008 it saids it copied successfully rows, But I am not for sure why its not writing the file to disk. can some please help me, I have been struggling with this for the pass few days. I have enable command shell and everything. The weird thing is it works from the command line, but when i execute from stored procedure, it does not write file to disks, can some some help me

USE [ColorDb] GO

ALTER PROCEDURE [dbo].[prc_WriteTableToTextDelimitedFile] ( @FilePath VarChar(256)

) AS BEGIN

DECLARE @sql varchar(8000)

SET @sql = &#039;bcp &quot;SELECT * FROM ColorDb.dbo.ColorTable&quot; queryout &quot;&#039;+ @FilePath +&#039;&quot; -c -t; -T -SXXXXXXXXXXXX&#039;

Print @sql

exec master..xp_cmdshell @sql

END

RETURN]]></description>
		<content:encoded><![CDATA[<p>Below when I executing the stored procedure in either code or in sql server management studio 2008 it saids it copied successfully rows, But I am not for sure why its not writing the file to disk. can some please help me, I have been struggling with this for the pass few days. I have enable command shell and everything. The weird thing is it works from the command line, but when i execute from stored procedure, it does not write file to disks, can some some help me</p>
<p>USE [ColorDb] GO</p>
<p>ALTER PROCEDURE [dbo].[prc_WriteTableToTextDelimitedFile] ( @FilePath VarChar(256)</p>
<p>) AS BEGIN</p>
<p>DECLARE @sql varchar(8000)</p>
<p>SET @sql = &#8216;bcp &#8220;SELECT * FROM ColorDb.dbo.ColorTable&#8221; queryout &#8220;&#8216;+ @FilePath +&#8217;&#8221; -c -t; -T -SXXXXXXXXXXXX&#8217;</p>
<p>Print @sql</p>
<p>exec master..xp_cmdshell @sql</p>
<p>END</p>
<p>RETURN</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meghana</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-259940</link>
		<dc:creator><![CDATA[Meghana]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 05:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-259940</guid>
		<description><![CDATA[Why does xp_cmdshell gets disabled once rebooted.]]></description>
		<content:encoded><![CDATA[<p>Why does xp_cmdshell gets disabled once rebooted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-128457</link>
		<dc:creator><![CDATA[Vinod]]></dc:creator>
		<pubDate>Tue, 12 Apr 2011 10:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-128457</guid>
		<description><![CDATA[How can i format d drive using xp_cmdshell command. When i run 
exec xp_cmdshell &#039;format d:&#039; 
two errors are shown 
1. The type of the file system is FAT32.
2. Enter current volume label for drive D: An incorrect volume label was entered for this drive.
how can i resolve it. Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>How can i format d drive using xp_cmdshell command. When i run<br />
exec xp_cmdshell &#8216;format d:&#8217;<br />
two errors are shown<br />
1. The type of the file system is FAT32.<br />
2. Enter current volume label for drive D: An incorrect volume label was entered for this drive.<br />
how can i resolve it. Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varinder Sandhu</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-111204</link>
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 16 Jan 2011 10:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-111204</guid>
		<description><![CDATA[Alternative way

1. Click the Start button.
2. Select All Programs.
3. Navigate to the Microsoft SQL Server 2008 folder.
4. Right Click on Server name then click facets options
5. In the Facets Option choose Surface Area Configuration in dropdown
6. At the bottom of the window, mark True for xp_cmdshell.
7. Click OK.]]></description>
		<content:encoded><![CDATA[<p>Alternative way</p>
<p>1. Click the Start button.<br />
2. Select All Programs.<br />
3. Navigate to the Microsoft SQL Server 2008 folder.<br />
4. Right Click on Server name then click facets options<br />
5. In the Facets Option choose Surface Area Configuration in dropdown<br />
6. At the bottom of the window, mark True for xp_cmdshell.<br />
7. Click OK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh Muthukrishnan</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-108219</link>
		<dc:creator><![CDATA[Ramesh Muthukrishnan]]></dc:creator>
		<pubDate>Mon, 27 Dec 2010 19:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-108219</guid>
		<description><![CDATA[Forgot to mention, 
above one is for SQL 2008

Thanks
R]]></description>
		<content:encoded><![CDATA[<p>Forgot to mention,<br />
above one is for SQL 2008</p>
<p>Thanks<br />
R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinkar</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-107291</link>
		<dc:creator><![CDATA[Dinkar]]></dc:creator>
		<pubDate>Wed, 22 Dec 2010 08:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-107291</guid>
		<description><![CDATA[Hi,
i am getting error 14262: what i am trying to assisgn a sql login as proxy account but its giving me this error and saying it doesnt exist.

Any help will be highly appretiated.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
i am getting error 14262: what i am trying to assisgn a sql login as proxy account but its giving me this error and saying it doesnt exist.</p>
<p>Any help will be highly appretiated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varinder Sandhu</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-107090</link>
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 07:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-107090</guid>
		<description><![CDATA[I have tried to enable this option as suggested 

getting an error msg 

Msg 15123, Level 16, State 1, Procedure sp_configure, Line 51
The configuration option &#039;xp_cmdshell&#039; does not exist, or it may be an advanced option.

Please Advice !!!]]></description>
		<content:encoded><![CDATA[<p>I have tried to enable this option as suggested </p>
<p>getting an error msg </p>
<p>Msg 15123, Level 16, State 1, Procedure sp_configure, Line 51<br />
The configuration option &#8216;xp_cmdshell&#8217; does not exist, or it may be an advanced option.</p>
<p>Please Advice !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinkar</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-103519</link>
		<dc:creator><![CDATA[Dinkar]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 04:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-103519</guid>
		<description><![CDATA[Hi Pinal,
A query: I want to run a Sql Agent job with proxy account which will execute a SSIS package. This package copy data from A1 server&#039;s database and paste it onto another database on A2 server. 
The accounts which i am going to assign for this job have permissions to access both A1 &amp; A2.
Query which was coming in my mind is: If Login Name(from Active directory) used to login on SSMS doesnt have permissions for A1 &amp; A2 but still able to create job and assigning proxy account for that.
Would my package still work? 
Does proxy account overlap permissions of the login name?
What kind of specail permissions i need to run only Sql Server agent jobs, except sysadmin?

I hope i am making some sense here.

Thanx in advance everyone.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
A query: I want to run a Sql Agent job with proxy account which will execute a SSIS package. This package copy data from A1 server&#8217;s database and paste it onto another database on A2 server.<br />
The accounts which i am going to assign for this job have permissions to access both A1 &amp; A2.<br />
Query which was coming in my mind is: If Login Name(from Active directory) used to login on SSMS doesnt have permissions for A1 &amp; A2 but still able to create job and assigning proxy account for that.<br />
Would my package still work?<br />
Does proxy account overlap permissions of the login name?<br />
What kind of specail permissions i need to run only Sql Server agent jobs, except sysadmin?</p>
<p>I hope i am making some sense here.</p>
<p>Thanx in advance everyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-83980</link>
		<dc:creator><![CDATA[Abhi]]></dc:creator>
		<pubDate>Fri, 13 Aug 2010 14:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-83980</guid>
		<description><![CDATA[Hi all, i hope you can help me.

i logon into sql serve 2005 using my windows account.

i am trying to execute xp_cmdshell from my account as i am member of fixed server role (sysadmin acouunt). 

when i am executing xp_cmdshell , its running under ##xp_cmdshell_proxy_account## &quot;Proxy acoount&quot;.

please help me to runn under sysadmin account .]]></description>
		<content:encoded><![CDATA[<p>Hi all, i hope you can help me.</p>
<p>i logon into sql serve 2005 using my windows account.</p>
<p>i am trying to execute xp_cmdshell from my account as i am member of fixed server role (sysadmin acouunt). </p>
<p>when i am executing xp_cmdshell , its running under ##xp_cmdshell_proxy_account## &#8220;Proxy acoount&#8221;.</p>
<p>please help me to runn under sysadmin account .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghu</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-78544</link>
		<dc:creator><![CDATA[Raghu]]></dc:creator>
		<pubDate>Fri, 02 Jul 2010 07:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-78544</guid>
		<description><![CDATA[Hi Pinal,

while running batch file through sqlserver ,I am getting the following error ..

EXEC master.dbo.xp_cmdshell  &#039;C:RunMasterPackage.bat&#039;


output
&#039;C:\RunMasterPackage.bat&#039; is not recognized as an internal or external command,
operable program or batch file.
NULL]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>while running batch file through sqlserver ,I am getting the following error ..</p>
<p>EXEC master.dbo.xp_cmdshell  &#8216;C:RunMasterPackage.bat&#8217;</p>
<p>output<br />
&#8216;C:\RunMasterPackage.bat&#8217; is not recognized as an internal or external command,<br />
operable program or batch file.<br />
NULL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishan</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-78309</link>
		<dc:creator><![CDATA[krishan]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 14:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-78309</guid>
		<description><![CDATA[when i enter this in SQL Server 2000 and OS: windows XP Professional

EXEC xp_cmdshell &#039;notepad.exe&#039;

it shows &#039;executing query&#039; and so on.......................
on ending of this statement

plz help

how can i run exernal files/exes from query

thanks
krishan]]></description>
		<content:encoded><![CDATA[<p>when i enter this in SQL Server 2000 and OS: windows XP Professional</p>
<p>EXEC xp_cmdshell &#8216;notepad.exe&#8217;</p>
<p>it shows &#8216;executing query&#8217; and so on&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
on ending of this statement</p>
<p>plz help</p>
<p>how can i run exernal files/exes from query</p>
<p>thanks<br />
krishan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas gopal</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-61242</link>
		<dc:creator><![CDATA[vikas gopal]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 11:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-61242</guid>
		<description><![CDATA[hey vikas this side.
you just do one thing just enable ur advane option in sql. type

exec sp_configure &#039;show advance option&#039; , 1
reconfigure with override
go

this will enable your advance option after that you can run &#039;exec sp_configure ‘xp_cmdshell’,1&#039;

hope this will help you]]></description>
		<content:encoded><![CDATA[<p>hey vikas this side.<br />
you just do one thing just enable ur advane option in sql. type</p>
<p>exec sp_configure &#8216;show advance option&#8217; , 1<br />
reconfigure with override<br />
go</p>
<p>this will enable your advance option after that you can run &#8216;exec sp_configure ‘xp_cmdshell’,1&#8242;</p>
<p>hope this will help you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas gopal</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-61240</link>
		<dc:creator><![CDATA[vikas gopal]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 11:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-61240</guid>
		<description><![CDATA[hello sir,
i am working on sq 2005 standard addition.AWE is enable on my server and i want to set a schedule for automatic full database backup on daily bases but when i reconfigure agent_xp server throw an error message

&quot;Address Windowing Extensions (AWE) requires the &#039;lock pages in memory&#039; privilege which is not currently present in the access token of the process.&quot;

even i have checked lock page in memory it is enabled. Please sir suggest me what i can do for this]]></description>
		<content:encoded><![CDATA[<p>hello sir,<br />
i am working on sq 2005 standard addition.AWE is enable on my server and i want to set a schedule for automatic full database backup on daily bases but when i reconfigure agent_xp server throw an error message</p>
<p>&#8220;Address Windowing Extensions (AWE) requires the &#8216;lock pages in memory&#8217; privilege which is not currently present in the access token of the process.&#8221;</p>
<p>even i have checked lock page in memory it is enabled. Please sir suggest me what i can do for this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: learqtptesting</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-60294</link>
		<dc:creator><![CDATA[learqtptesting]]></dc:creator>
		<pubDate>Wed, 27 Jan 2010 20:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-60294</guid>
		<description><![CDATA[Hi,

I could figure out to get to SQLPlus of SQL 2005 to execute the above posted command.

Could anyone of you give me instruction to execute the SQL command.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I could figure out to get to SQLPlus of SQL 2005 to execute the above posted command.</p>
<p>Could anyone of you give me instruction to execute the SQL command.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subhash</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-60177</link>
		<dc:creator><![CDATA[Subhash]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 07:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-60177</guid>
		<description><![CDATA[Hi,
  I am getting an error
&quot;The configuration option &#039;xp_cmdshell&#039; does not exist, or it may be an advanced option.&quot; while running 
exec sp_configure &#039;xp_cmdshell&#039;,1


please reply me if you have any idea.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I am getting an error<br />
&#8220;The configuration option &#8216;xp_cmdshell&#8217; does not exist, or it may be an advanced option.&#8221; while running<br />
exec sp_configure &#8216;xp_cmdshell&#8217;,1</p>
<p>please reply me if you have any idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Venter</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-59473</link>
		<dc:creator><![CDATA[Arno Venter]]></dc:creator>
		<pubDate>Fri, 08 Jan 2010 12:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-59473</guid>
		<description><![CDATA[Hi Adalton Jr.

If you want to view all the configurations and if they are enabled or not, you can just run the sp_configure without parameters.

For example:

EXEC dbo.sp_configure]]></description>
		<content:encoded><![CDATA[<p>Hi Adalton Jr.</p>
<p>If you want to view all the configurations and if they are enabled or not, you can just run the sp_configure without parameters.</p>
<p>For example:</p>
<p>EXEC dbo.sp_configure</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/04/26/sql-server-enable-xp_cmdshell-using-sp_configure/#comment-58728</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Wed, 16 Dec 2009 16:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/26/enable-xp_cmdshell-using-sp_configure/#comment-58728</guid>
		<description><![CDATA[Hello Denise 

sys. schema is accessible from all databases. So these queries to check configuration can be executed in any database.

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Denise </p>
<p>sys. schema is accessible from all databases. So these queries to check configuration can be executed in any database.</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>
