<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edwin M Sarmiento&gt;Can&#8217;t run your batch files from Scheduled Tasks? Try this &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/cant-run-your-batch-files-from-scheduled-tasks-try-this/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>&gt;Can&#8217;t run your batch files from Scheduled Tasks? Try this</title>
		<link>https://www.edwinmsarmiento.com/cant-run-your-batch-files-from-scheduled-tasks-try-this/</link>
		<comments>https://www.edwinmsarmiento.com/cant-run-your-batch-files-from-scheduled-tasks-try-this/#respond</comments>
		<pubDate>Mon, 01 Sep 2008 04:42:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2008/09/01/cant-run-your-batch-files-from-scheduled-tasks-try-this</guid>

				<description><![CDATA[&#62;I was asked by a friend of mine to check why a specific batch file was not being called by a job in Task Scheduler. The first thing I did was to check if the account that was used to run the job had the appropriate permissions. The account used was a domain account with [&#8230;]]]></description>
					<content:encoded><![CDATA[<p>&gt;<span style="font-family:arial;">I was asked by a friend of mine to check why a specific batch file was not being called by a job in Task Scheduler. The first thing I did was to check if the account that was used to run the job had the appropriate permissions. The account used was a domain account with limited privileges. The same account can run jobs on other servers but not on this one. Making it a member of the local <strong><span style="font-size:85%;">Administrators</span></strong> group gave it the permissions to run the job but not as a member of the <strong><span style="font-size:85%;">Power Users</span></strong> group. The former not being an option forced me to check the ACLs on other servers and found out that the account does not have permissions on the <strong><span style="font-size:85%;">CMD.EXE</span></strong> file on my <strong><span style="font-size:85%;">%windir%system32</span></strong> folder. After giving the <strong><span style="font-size:85%;">Read and Execute</span></strong> permissions to this account, it was able to run the job using <strong><span style="font-size:85%;">Task Scheduler</span></strong>. </span><br /><span style="font-family:arial;"></span><br /><span style="font-family:arial;">I&#8217;ve seen systems where the <strong><span style="font-size:85%;">Everyone</span></strong> group is granted the same permissions on the <strong><span style="font-size:85%;">CMD.EXE</span></strong> file and such is not a recommended practice due to security vulnerabilities. I&#8217;ll work on a PowerShell script to check a machine for this and remove the <strong><span style="font-size:85%;">Everyone</span></strong> group, if it exists.</span></p>
<div class="blogger-post-footer"><img width='1' height='1' src='' alt='' /></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/cant-run-your-batch-files-from-scheduled-tasks-try-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">136</post-id>	</item>
	</channel>
</rss>