<?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>Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx</link><description>Welcome to another installment of the Windows Vista UAC Blog! Let’s dig a little deeper into the area of how Windows Vista knows which applications need to run with administrator privileges. We’ll use the term “Elevation” to describe the process by which</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#512781</link><pubDate>Sat, 14 Jan 2006 05:19:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:512781</guid><dc:creator>Brian</dc:creator><description>Uh, isn't this a huge gaping security hole?  If I was a malware author wouldn't it be easily within my capabilities to duplicate a number of those heuristics (such as including a bunch of installshield string resources and naming the executable setup.exe) and thus trick the system into running my badness with elevated privileges?  How in the world is this not ripe for abuse?&lt;br&gt;&lt;br&gt;On Raymond Chen's blog he's talked in detail in the past about how when they were designing some of the shell APIs for windows 95 they made it easy for a program to place itself preferentially on the start menu.  And then authors abused the heck out of that, placing themselves at the top of the menu instead of the standard place, which forced MS to add code in XP so that programs couldn't manipulate the start menu any more.  And similarly for &amp;quot;bring to front&amp;quot;, which necessitated the &amp;quot;don't let programs steal focus&amp;quot; flashing taskbar added in 2k.  Won't this just be another thing that lazy/malicious software will use to get around a well-meaning restriction?&lt;br&gt;&lt;br&gt;How does running with dropped privileges by default achieve anything if all a program has to do to get the &amp;quot;SUID bit&amp;quot; is to call itself setup.exe?&lt;br&gt;</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#512787</link><pubDate>Sat, 14 Jan 2006 05:33:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:512787</guid><dc:creator>Mr. FACT</dc:creator><description>This is very helpful</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#512859</link><pubDate>Sat, 14 Jan 2006 16:56:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:512859</guid><dc:creator>mgm</dc:creator><description>If I have documents located in a folder with rights only given to the Administrators group, is there any way from within an unprivileged application, such as Word, for a user in the Administrators group to open and edit documents in that folder? Will the File Open dialog prompt if you try and open a file in that folder?</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#513710</link><pubDate>Tue, 17 Jan 2006 12:38:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:513710</guid><dc:creator>Andy C</dc:creator><description>Brian: Not it's not a security hole, because it doesn't work like SUID. By default all executables will run with limited privileges, the above conditions just identify the situations in which Vista will prompt you to allow elevated execution - you still get the chance to say no.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#513892</link><pubDate>Tue, 17 Jan 2006 21:54:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:513892</guid><dc:creator>hn</dc:creator><description>Is there a way to prompt the permission dialog programmatical way?  So my application still running fine with regular permission.  Once my API which requires Administrator privilliege is called, I will call windows API to ask for the permission?</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#515137</link><pubDate>Fri, 20 Jan 2006 03:32:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:515137</guid><dc:creator>User Account Control Team</dc:creator><description>I'll respond to a couple of the comments. &lt;br&gt;&lt;br&gt;mqm's question:  If the ACLs are set on a file to only allow access by Administrators, then when running with your non-admin token, you would not have access to these files.  One solution is to ACL the files so they are owned by the user not by the Administrators group.&lt;br&gt;&lt;br&gt;hn's question: There is no way to obtain admin privs for a process once it is created.  If your app needs to perform an admin operation, you'll need to launch the program elevated up front.&lt;br&gt;&lt;br&gt; </description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#516656</link><pubDate>Tue, 24 Jan 2006 09:17:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516656</guid><dc:creator>UAC</dc:creator><description>Where do I find documentation for CoCreateInstanceAdmin()?</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#516868</link><pubDate>Tue, 24 Jan 2006 19:39:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516868</guid><dc:creator>User Account Control Team</dc:creator><description>You can find info about CoCreateInstanceAdmin() here:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/AccProtVista.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/AccProtVista.asp&lt;/a&gt; &lt;br&gt;&lt;br&gt;Thanks, &lt;br&gt;Jenn</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#516932</link><pubDate>Tue, 24 Jan 2006 21:15:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:516932</guid><dc:creator>UAC</dc:creator><description>Funny... That doesn't tell me if it initializes the COM objects in Proc or out of Proc and the paramters for the function. I can't find anything on in the 5270 CTP release of the platform SDK.</description></item><item><title>Vista LUA (or now UAC)</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#519159</link><pubDate>Mon, 30 Jan 2006 15:10:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:519159</guid><dc:creator>Dinis Cruz @ Owasp .Net Project</dc:creator><description>&lt;br&gt;Note: LUA (Least User Access) has been&lt;br&gt;renamed UAC (User Access Control) which is a much better name...</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#529941</link><pubDate>Sat, 11 Feb 2006 03:04:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:529941</guid><dc:creator>Anonymous</dc:creator><description>This is a great idea in general, but it doesn't seem perfect to me. You give full admin rights to anything that requests them, and all installers are going to do.&lt;br&gt;&lt;br&gt;Some commercial apps habe been bundled with spyware and the like, some others have a broken installer that does damage or leaves trash.&lt;br&gt;&lt;br&gt;So, letting an regular app installer run with full admin rights is dangerous. A better course of action would be:&lt;br&gt;&lt;br&gt;* Let it create a NEW dir in Program Files and write ONLY inside it. If it tries to wite DLLs to Windows or System32, &amp;quot;virtualize&amp;quot; them.&lt;br&gt;&lt;br&gt;* Let it CREATE new shoucuts, registry settings, and whatever is needed to create an uninstaller.&lt;br&gt;&lt;br&gt;But that's it. No driver installs. No changes to the system folders. No changes on the program files of other installed applications. No changes on system-wide settings. No adding to startup/autorun. You get the idea.&lt;br&gt;&lt;br&gt;There's an &amp;quot;advanced user&amp;quot; or something like that account in 2000/XP that is something similar, I think. Never looked into it.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#532955</link><pubDate>Thu, 16 Feb 2006 05:59:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532955</guid><dc:creator>kevin</dc:creator><description>If one of threads of a process calls Impersonate() or LogonAsUser() API to elevate itself to a privileged user and access some system resource and I don't provide explicit declaration in menifest file that this application need to run with elevation mode, then what will happen if a standard users or a admin user launch this application? Thanks</description></item><item><title>ShellExtensions and UAC</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#568874</link><pubDate>Wed, 05 Apr 2006 14:57:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:568874</guid><dc:creator>Hermann Schinagl</dc:creator><description>Hi&lt;br&gt;&lt;br&gt;Can you give me a hint how to let my shellextension create symbolic links?&lt;br&gt;&lt;br&gt;More in Detail: May ShellExtension calls CreateSymbolicLink, which needs at least a manifest containing 'requestedExecutionLevel level=&amp;quot;highestAvailable&amp;quot;' or you get GetLastError=ERROR_PRIVILEGE_NOT_HELD&lt;br&gt; from CreateSymbolicLink. ok, added the manifest, copied the shellextension to the right place, restarted explorer.exe... and...&lt;br&gt;Nothing. &lt;br&gt;&lt;br&gt;Taking a look at the privileges available for explorer.exe via procexp from sysinternals, I can see, that explorer still has its crappy least privileges assigned to it.&lt;br&gt;&lt;br&gt;How do I proceed?&lt;br&gt;&lt;br&gt;BTW: It is stupid to have 'requestedExecutionLevel level=&amp;quot;highestAvailable&amp;quot;' in the manifest, when I only need SeCreateSymbolicLink. Why is there now finer granularity?&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ciao Hermann&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#580648</link><pubDate>Fri, 21 Apr 2006 17:39:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580648</guid><dc:creator>Robert Barnett</dc:creator><description>Can we use this with web applications?</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#586122</link><pubDate>Fri, 28 Apr 2006 19:52:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:586122</guid><dc:creator>David</dc:creator><description>I agree with hn. &amp;nbsp;There really needs to be an API that will prompt the user to move the application to an elevated privilege status. &amp;nbsp;Consider an application that has no installer, but the application has menu items for &amp;quot;Register file types&amp;quot; and &amp;quot;Unregister file types.&amp;quot; &amp;nbsp;There could also be an API for restoring the application to its previous privilege status after completing a couple privileged operations.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#597482</link><pubDate>Sun, 14 May 2006 20:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:597482</guid><dc:creator>Will</dc:creator><description>(experimenting with Build 5380 atm)&lt;br&gt;&lt;br&gt;THere appears to be no way of running an application that says it needs admin mode in a non admin mode. &amp;nbsp;e.g. something that is detected by heuristics &amp;nbsp;- for example a file called setup.exe) but you don't want to run it with admin.&lt;br&gt;&lt;br&gt;Are you guys planning to put this in?&lt;br&gt;&lt;br&gt;Will</description></item><item><title>IS THERE AN ELEVATION WITHOUT ANY PROMPTS ?</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#616724</link><pubDate>Sun, 04 Jun 2006 13:29:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:616724</guid><dc:creator>security</dc:creator><description>&amp;quot;Run this program as administrator&amp;quot; &lt;br&gt;&lt;br&gt;I am having troubles understanding this feature. In Beta2 , If I mark certain app with &amp;quot;Run this program as administrator&amp;quot; , it always asks me for Elevation!!! Is this the correct behavior ? . I thought the intention of this feature was to mark certain app to start administratively without prompting a user ??? &lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;</description></item><item><title>PLEASE HELP - "Run this program as administrator" </title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#616725</link><pubDate>Sun, 04 Jun 2006 13:30:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:616725</guid><dc:creator>security</dc:creator><description>&amp;quot;Run this program as administrator&amp;quot; &lt;br&gt;&lt;br&gt;I am having troubles understanding this feature. In Beta2 , If I mark certain app with &amp;quot;Run this program as administrator&amp;quot; , it always asks me for Elevation!!! Is this the correct behavior ? . I thought the intention of this feature was to mark certain app to start administratively without prompting a user ??? &lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#617514</link><pubDate>Mon, 05 Jun 2006 05:05:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:617514</guid><dc:creator>Aaron Margosis</dc:creator><description>To &amp;quot;security&amp;quot; - marking the program to run as administrator means that you will ALWAYS be prompted before it starts. &amp;nbsp;You're saying, in effect, &amp;quot;this app needs elevated privileges - don't even bother running it if it can't run elevated.&amp;quot; &amp;nbsp;Nothing runs elevated without a protected interactive consent from an administrator. &amp;nbsp;The behavior you're describing is akin to the SUID behavior in Unix, and that is not implemented in Windows. &amp;nbsp;SUID has been a major source of EoP (elevation of privilege) security issues on Unix platforms, because it is *incredibly* hard to ensure that an app with the SUID bit set will perform ONLY the operations its designers (or the SUID-bit setter) intended, and that those operations don't have any undesired side-effects.</description></item><item><title>UAP is blocking my ASP application</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#657776</link><pubDate>Thu, 06 Jul 2006 14:53:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:657776</guid><dc:creator>John</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;I have an ASP (not an ASP.NET) application accessing Sql Server 2005 database installed in Vista Beta 2 (Build : 5384). I am unable to access my application in server. UAP is blocking my application. I dont want to change system level UAP configuration using msconfig or secpol.msc. &lt;br&gt;Can any one suggest me some idea to change application level UAP configuration.&lt;br&gt;&lt;br&gt;Thanks in Advance.&lt;br&gt;&lt;br&gt;-John-</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#663075</link><pubDate>Wed, 12 Jul 2006 10:32:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663075</guid><dc:creator>JianFei Liao</dc:creator><description>Can I mark an application to &amp;quot;run as admin&amp;quot; by putting the manifest file into the same folder with the .exe file ( I mean, not use the mt.exe to embed the manifest into the .exe file)? &lt;br&gt;&lt;br&gt;It seems work sometimes but not always. Is this a feature of Vista by design? Or just some heritage &amp;quot;bonus&amp;quot; from XP so we can't count on it...</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#663620</link><pubDate>Wed, 12 Jul 2006 21:47:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663620</guid><dc:creator>Paul Sanders</dc:creator><description>Does anybody know if there actually is an API hidden away somewhere to (temporarily) elevate an application's privileges so that it can, for example, write something to the HKLM registry tree? &amp;nbsp;If not, there certainly should be.&lt;br&gt;&lt;br&gt;LogonUser does not fit the bill as the caller has to provide account credentials (user ID and password), whereas UAC prompts the user for these (if appropriate).&lt;br&gt;&lt;br&gt;I have noticed that the User Accounts Control Panel seems to behave as if such an API exists (try clicking on 'Manage Another Account').</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#663626</link><pubDate>Wed, 12 Jul 2006 21:54:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:663626</guid><dc:creator>Paul Sanders</dc:creator><description>Does anybody know if there actually is an API hidden away somewhere to (temporarily) elevate an application's privileges so that it can, for example, write something to the HKLM registry tree? &amp;nbsp;If not, there certainly should be.&lt;br&gt;&lt;br&gt;LogonUser does not fit the bill as the caller has to provide account credentials (user ID and password), whereas UAC prompts the user for these (if appropriate).&lt;br&gt;&lt;br&gt;I have noticed that the User Accounts Control Panel seems to behave as if such an API exists (try clicking on 'Manage Another Account').</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#676580</link><pubDate>Mon, 24 Jul 2006 15:03:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:676580</guid><dc:creator>Daniel Sinclair</dc:creator><description>When launching certain (legacy) apps Vista uses hueristics to establish whether it needs to run as admin or not if its not specifically tagged. Applications like Sql Managment Studio, the Windows MMC.exe and Orca all look like they're using the kinds of APIs that need admin privs but in fact non of them do (although it depends on the command line or snap in loaded with MMC).&lt;br&gt;&lt;br&gt;When Vista asks me whether I'd like to elevate this application, I'd like to have a checkbox that remembered if my selection was, &amp;quot;No this app doesn't need to run as admin, despite what it might look like, so don't ask me again&amp;quot;.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#676591</link><pubDate>Mon, 24 Jul 2006 15:15:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:676591</guid><dc:creator>Aaron Margosis</dc:creator><description>@Daniel Sinclair: &amp;nbsp;That checkbox won't happen in Vista. &amp;nbsp;It would be too open for abuse, just like SUID in *nix platforms.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#676685</link><pubDate>Mon, 24 Jul 2006 17:18:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:676685</guid><dc:creator>Daniel Sinclair</dc:creator><description>With regard to the UAC dialog asking me whether I want to run as admin or not, I should have said that I'd like three choices, not two. One to run as admin, another to run as non-admin and finally not to run at all. I'd like a checkbox that allows me to 'remember' whether a legacy application (that Vista has failed to successfully identity using heuristics needs admin privs) can run without admin privs, and not ask me next time. &lt;br&gt;&lt;br&gt;In the current implementation I find that I'm having to run some apps as admin when they don't need to. Without UAC, and running as non-admin by default I had a choice, so UAC is less secure for those organisations already embracing runnig as non-admin on XP.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#676933</link><pubDate>Mon, 24 Jul 2006 21:00:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:676933</guid><dc:creator>Aaron Margosis</dc:creator><description>@Daniel Sinclair: &amp;nbsp;actually, tools like RegEdit and MMC.exe are marked to run as &amp;quot;highestAvailable&amp;quot;, not as &amp;quot;requireAdministrator&amp;quot;. &amp;nbsp;If the current user is a member of the Administrators group, s/he will be prompted for elevation - the app will run elevated or not at all. &amp;nbsp;But if the user is a Standard User and cannot elevate in-place without using a different account, the tool will simply run with Standard User privileges. &amp;nbsp;The tool can still be run elevated by right-clicking it and choosing &amp;quot;Run as administrator&amp;quot;. &amp;nbsp;So a solution to your problem could be to run as Standard User, and use a separate admin account for running apps elevated.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#679066</link><pubDate>Wed, 26 Jul 2006 18:16:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:679066</guid><dc:creator>Andy Champ</dc:creator><description>Aaron,&lt;br&gt;you're missing the point. &amp;nbsp;There are legacy apps that don't have a manifest, and which Vista looks at and decides need elevated rights.&lt;br&gt;&lt;br&gt;Daniel has asked for a feature I've wanted too - I want to be able to say &amp;quot;YOU might think this app needs elevation, but you're wrong. &amp;nbsp;Run it without&amp;quot;. &amp;nbsp;Having a checkbox saying &amp;quot;... and I never want it to be elevated&amp;quot; also seems a good idea.&lt;br&gt;&lt;br&gt;You seem to be saying this is a security risk. &amp;nbsp;Having a box that says &amp;quot;Run this guy elevated every time, and don't ask me&amp;quot; is a risk. &amp;nbsp;How can a feature that says &amp;quot;do NOT elevate&amp;quot; be a security risk? &amp;nbsp;It's no more a security risk than planting a manifest in the same folder!&lt;br&gt;&lt;br&gt;Andy</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#679959</link><pubDate>Thu, 27 Jul 2006 10:30:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:679959</guid><dc:creator>Aaron Margosis</dc:creator><description>@Andy Champ - you're right, I misread the previous messsage.</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#688167</link><pubDate>Fri, 04 Aug 2006 06:25:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:688167</guid><dc:creator>HF Kok</dc:creator><description>Hi Guys,&lt;br&gt;I'm having problem on copying .sys file into the System32/drivers folder. Is there anyway that i could make this happen? &lt;br&gt;&lt;br&gt;The error msg pop out is&lt;br&gt;&amp;quot;You need to provide administrator credentials to copy to this folder&amp;quot;&lt;br&gt;&lt;br&gt;Can anyone how can i get the admin privileges? </description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1182545</link><pubDate>Fri, 01 Dec 2006 13:06:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1182545</guid><dc:creator>Shajeer</dc:creator><description>&lt;P&gt;Application fails to start under Vista after implementing the manifest.It displays the error "A referral was returned from the server."&lt;/P&gt;
&lt;P&gt;The manifest rights is &lt;/P&gt;
&lt;P&gt;&amp;lt;requestedExecutionLevel &amp;nbsp; level="requireAdministrator"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uiAccess="true"/&amp;gt;&lt;/P&gt;
&lt;P&gt;It works fine if the access rights for uiAcess is set to false&lt;/P&gt;
&lt;P&gt;&amp;lt;requestedExecutionLevel &amp;nbsp; level="requireAdministrator"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; uiAccess="false"/&amp;gt;&lt;/P&gt;
&lt;P&gt;Kindly advice...&lt;/P&gt;
&lt;P&gt;-Shaj&lt;/P&gt;
&lt;DIV class=uacReply&gt;
&lt;P&gt;Do you really need uiAccess=true?&amp;nbsp; That capability is generally intended only for accessibility utilities.&amp;nbsp; If you do need uiAccess enabled, then the executable needs to be digitally signed, and must be installed under %windir% or %ProgramFiles%.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;-- Aaron Margosis&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1203959</link><pubDate>Mon, 04 Dec 2006 12:39:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1203959</guid><dc:creator>Shajeer</dc:creator><description>&lt;P&gt;Thanks for your quick reply..&lt;/P&gt;
&lt;P&gt;How to get our software digitally signed?&lt;/P&gt;
&lt;P&gt;Let us know whether any functionality will fail if the uiAccess is set to false?&lt;/P&gt;
&lt;P&gt;(Detailed Explanation will be helpful)&lt;/P&gt;
&lt;P&gt;We are installing our application in &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %ProgramFiles% path only.&lt;/P&gt;
&lt;P&gt;Basically our intention is, whenever our application is launched it should launch in administrator mode without any hassle for the users.&lt;/P&gt;
&lt;P&gt;Kindly help us resolve our issue..&lt;/P&gt;
&lt;DIV class=uacReply&gt;
&lt;P&gt;What does your app do that requires it to run with administrator privileges?&amp;nbsp; Does it perform system-administrative tasks, or is it just a regular application that happens to write to protected, system-wide&amp;nbsp;locations in the registry and file system?&amp;nbsp; If it's the latter, you and your users would be much better off changing the app so that it doesn't need admin privileges to begin with.&lt;/P&gt;
&lt;P&gt;If by "without any hassle for the users" you mean "without being prompted for elevation", you can't do it.&lt;/P&gt;
&lt;P&gt;Various developer-oriented UAC issues are written up &lt;A class="" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/AccProtVista.asp" target=_blank&gt;here&lt;/A&gt;, including this bit about uiAccess ("false" is the right setting for the vast majority of apps):&lt;/P&gt;
&lt;P&gt;&lt;B&gt;uiAccess&lt;/B&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;B&gt;false&lt;/B&gt;—The application does not need to drive input to the UI of another window on the desktop. Applications that are not providing accessibility should set this flag to false. Applications that are required to drive input to other windows on the desktop (on-screen keyboard, for example) should set this value to true. 
&lt;LI&gt;&lt;B&gt;true&lt;/B&gt;—The application is allowed to bypass UI protection levels to drive input to higher privilege windows on the desktop. This setting should only be used for UI Accessibility applications. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;-- Aaron Margosis&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1210970</link><pubDate>Tue, 05 Dec 2006 15:05:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1210970</guid><dc:creator>Shajeer</dc:creator><description>&lt;p&gt;Question No 1:&lt;/p&gt;
&lt;p&gt;--------------&lt;/p&gt;
&lt;p&gt;We need the administrator rights because&lt;/p&gt;
&lt;p&gt;1) We are getting the harkdisk number for registration purpose.&lt;/p&gt;
&lt;p&gt;2) We are writing the values in registry under HKEY_CLASSES_ROOT and also in HKEY_CURRENT_USER,HKEY_LOCAL_MACHINE &lt;/p&gt;
&lt;p&gt;for various purposes.&lt;/p&gt;
&lt;p&gt;3) We use SendMessage and PostMessage APIs to send messages to other applications.&lt;/p&gt;
&lt;p&gt;4) We use hooks for setting keyboard shorcuts.&lt;/p&gt;
&lt;p&gt;5) We do send requests to our servers to check for updates and then downloads the updated components if any.&lt;/p&gt;
&lt;p&gt;Let us know whether all the above can be accomplished with setting uiAccess = false.&lt;/p&gt;
&lt;p&gt;Question No 2:&lt;/p&gt;
&lt;p&gt;--------------&lt;/p&gt;
&lt;p&gt;If we install our software in some other path say D:\TestApplication rather than installing in %programfiles% will it create any problem in performing any tasks.&lt;/p&gt;
&lt;p&gt;Kindly advice.&lt;/p&gt;
</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1236817</link><pubDate>Fri, 08 Dec 2006 08:54:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1236817</guid><dc:creator>Shajeer</dc:creator><description>&lt;p&gt;Hello Aaron Margosis&lt;/p&gt;
&lt;p&gt;I have another problem.&lt;/p&gt;
&lt;p&gt;With repect to one application even if i had specified in the manifest file as &amp;quot;require amninistrator&amp;quot;, it is not asking for require elevation. It just opens in standard user rights.&lt;/p&gt;
&lt;p&gt;But it works for all other appliacation, except one which is a larger application when compared to others.&lt;/p&gt;
&lt;p&gt;Kindly advice.&lt;/p&gt;
</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1268059</link><pubDate>Tue, 12 Dec 2006 22:23:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1268059</guid><dc:creator>Henryk Birecki</dc:creator><description>&lt;p&gt;Where do I find CoCreateInstanceAdmin. The most recent SDK (Oct (Nov?) 2006) does not have it. No information on it seems to exist except on one MSDN page that directs one to use it.&lt;/p&gt;
</description></item><item><title>re: Identification of Administrative Applications</title><link>http://blogs.msdn.com/uac/archive/2006/01/13/512776.aspx#1483557</link><pubDate>Wed, 17 Jan 2007 15:38:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1483557</guid><dc:creator>Shajeer</dc:creator><description>&lt;p&gt;My Manifest file not working&lt;/p&gt;
&lt;p&gt;I have included the following lines in &amp;quot;MyApplication.rc2&amp;quot;&lt;/p&gt;
&lt;p&gt;#define MANIFEST_RESOURCE_ID 1&lt;/p&gt;
&lt;p&gt;MANIFEST_RESOURCE_ID RT_MANIFEST &amp;quot;MyApplication.exe.manifest&amp;quot;&lt;/p&gt;
&lt;p&gt;And the contents of manifest file is as follows&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;yes&amp;quot;?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;assembly xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; manifestVersion=&amp;quot;1.0&amp;quot;&amp;gt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;assemblyIdentity version=&amp;quot;1.0.0.0&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; processorArchitecture=&amp;quot;X86&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; name=&amp;quot;MyApplication&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; type=&amp;quot;win32&amp;quot;/&amp;gt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;description&amp;gt; MyApplication requires the administravtive priveligaes&amp;lt;/description&amp;gt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;!-- Identify the application security requirements. --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;trustInfo xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v3&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;security&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;requestedPrivileges&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;requestedExecutionLevel&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;level=&amp;quot;requireAdministrator&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;uiAccess=&amp;quot;false&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/requestedPrivileges&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/security&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/trustInfo&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/assembly&amp;gt;&lt;/p&gt;
&lt;p&gt;But when I try to launch the application it is still launching in StandardUser Mode, and the Admin Shield is missing. &lt;/p&gt;
&lt;p&gt;Please do help to fix the problem.&lt;/p&gt;
</description></item></channel></rss>