<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why don’t elevated applications receive environment variables set by non-elevated calling process?</title><link>http://blogs.msdn.com/cjacks/archive/2008/10/29/why-don-t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process.aspx</link><description>I had a conversation with a customer (via email) the other day, and I wanted to to into a bit of detail here explaining what is going on. Essentially, the customer was attempting to pass information to another application while launching it using environment</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Why don???t elevated applications receive environment variables set by non-elevated calling process? | MS Tech News</title><link>http://blogs.msdn.com/cjacks/archive/2008/10/29/why-don-t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process.aspx#9022498</link><pubDate>Wed, 29 Oct 2008 19:06:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9022498</guid><dc:creator>Why don???t elevated applications receive environment variables set by non-elevated calling process? | MS Tech News</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mstechnews.info/2008/10/why-don%e2%80%99t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process/"&gt;http://mstechnews.info/2008/10/why-don%e2%80%99t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Why don’t elevated applications receive environment variables set by non-elevated calling process?</title><link>http://blogs.msdn.com/cjacks/archive/2008/10/29/why-don-t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process.aspx#9027567</link><pubDate>Sat, 01 Nov 2008 03:37:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9027567</guid><dc:creator>Chris Corio</dc:creator><description>&lt;p&gt;If I recall correctly, we also decided to set the current working directory to %windir%\system32 for elevated processes. &amp;nbsp;I'm pretty sure this was for every elevated process but I can't recall whether there was optional logic in the App Info Service. &amp;nbsp;This behavior might come into play if you decided to do your IPC using files. &lt;/p&gt;
</description></item><item><title>re: Why don’t elevated applications receive environment variables set by non-elevated calling process?</title><link>http://blogs.msdn.com/cjacks/archive/2008/10/29/why-don-t-elevated-applications-receive-environment-variables-set-by-non-elevated-calling-process.aspx#9027774</link><pubDate>Sat, 01 Nov 2008 08:12:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9027774</guid><dc:creator>Chris Jackson</dc:creator><description>&lt;p&gt;Yes, we do set the working directory to system32 when we elevate, but that's orthogonal to what we do with the environment block...&lt;/p&gt;
</description></item></channel></rss>