<?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>Veronica Gong</title>
	<atom:link href="http://blogs.adobe.com/vgong/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.adobe.com/vgong</link>
	<description>Work @ Adobe</description>
	<lastBuildDate>Mon, 28 Mar 2011 09:18:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Schedule a task to run in Windows 7</title>
		<link>http://blogs.adobe.com/vgong/2011/03/28/schedule-a-task-to-run-in-windows-7-64-bit/</link>
		<comments>http://blogs.adobe.com/vgong/2011/03/28/schedule-a-task-to-run-in-windows-7-64-bit/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 09:13:43 +0000</pubDate>
		<dc:creator>Veronica</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[task scheduler]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blogs.adobe.com/vgong/?p=5</guid>
		<description><![CDATA[I&#8217;ve got a new machine installing Windows 7 64-bit version and it runs much faster than my old one. While I met some trouble when Scheduling some batch files to run in Task Scheduler. Those batch files work fine if I &#8230; <a href="http://blogs.adobe.com/vgong/2011/03/28/schedule-a-task-to-run-in-windows-7-64-bit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve got a new machine installing Windows 7 64-bit version and it runs much faster than my old one. While I met some trouble when Scheduling some batch files to run in Task Scheduler.</p>
<p>Those batch files work fine if I double-click them or run them from command line. However, after adding them as tasks to run in Task Scheduler, they never run no matter I manually click the Run button or set them to run at a scheduled time.</p>
<p>After searching on Internet, I found the reason:</p>
<p>When setting up task for the batch file, I selected &#8220;Run whether user is logged on or not&#8221; in Security options. As said in Task Scheduler help document, &#8220;If this radio button is selected, tasks will not run interactively. To make a task run interactively, select the <strong>Run only when user is  logged on</strong> radio button.&#8221;<br />
That means the tasks do run in my case, while they&#8217;re running in background without any UI that users can interact.</p>
<p>After changing the option to &#8220;Run only when user is logged on&#8221;, the command window pops up and my batch file runs as expected.</p>
<p>The answer was found from <a title="Windows 7 Forum" href="http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/c03d6691-b058-4f8d-961c-e8eba25bbaed">http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/c03d6691-b058-4f8d-961c-e8eba25bbaed</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.adobe.com/vgong/2011/03/28/schedule-a-task-to-run-in-windows-7-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
