 




<?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/"
		>
<channel>
	<title>Comments on: How to run a program only once per new user logon</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-run-a-program-only-once-per-new-user-logon/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-run-a-program-only-once-per-new-user-logon/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 03:16:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: kfaganjr</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-run-a-program-only-once-per-new-user-logon/#comment-87217</link>
		<dc:creator>kfaganjr</dc:creator>
		<pubDate>Fri, 28 Jan 2011 15:25:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-87217</guid>
		<description><![CDATA[This is an old question so I hope you figured it out already but I came across it looking for a solution for myself and thought it may help anyone else still looking.  I found this knowledge base on Microsoft that should help.  It sounds like the keys are deleted before the os get&#039;s to a point that will allow a script to run, so you need to prefix it with an ! to make it work correctly.
 
By default, the value of a RunOnce key is deleted before the command line is run. You can prefix a RunOnce value name with an exclamation point (!) to defer deletion of the value until after the command runs. Without the exclamation point prefix, if the RunOnce operation fails the associated program will not be asked to run the next time you start the computer.

&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa376977%28VS.85%29.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa376977%28VS.85%29.aspx&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>This is an old question so I hope you figured it out already but I came across it looking for a solution for myself and thought it may help anyone else still looking.  I found this knowledge base on Microsoft that should help.  It sounds like the keys are deleted before the os get&#8217;s to a point that will allow a script to run, so you need to prefix it with an ! to make it work correctly.</p>
<p>By default, the value of a RunOnce key is deleted before the command line is run. You can prefix a RunOnce value name with an exclamation point (!) to defer deletion of the value until after the command runs. Without the exclamation point prefix, if the RunOnce operation fails the associated program will not be asked to run the next time you start the computer.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa376977%28VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/aa376977%28VS.85%29.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shellie</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-run-a-program-only-once-per-new-user-logon/#comment-49559</link>
		<dc:creator>shellie</dc:creator>
		<pubDate>Wed, 30 Nov 2005 08:22:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-49559</guid>
		<description><![CDATA[Thanks for the reply, is this the key you suggest using:

HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionRunOnce
If so I did try that and it did not run. I created a value called test.bat and just pointed it to c:test.bat.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the reply, is this the key you suggest using:</p>
<p>HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionRunOnce<br />
If so I did try that and it did not run. I created a value called test.bat and just pointed it to c:test.bat.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 04:55:56 -->