<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for UAC - What. How. Why. (Going Deep on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/shows/going+deep/uac-what-how-why/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for UAC - What. How. Why. (Going Deep on Channel 9)</title><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/</link></image><description>UAC - What. How. Why.</description><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/</link><language>en-us</language><pubDate>Fri, 18 Sep 2009 12:02:29 GMT</pubDate><lastBuildDate>Fri, 18 Sep 2009 12:02:29 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: UAC - What. How. Why.</title><description>&lt;p&gt;Whether it can happen on XP or not, we would hope that Vista and beyond would be better :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm new to Vista/Windows 7 (i.e. UAC), I just installed Windows 7 a few weeks ago on my Wife's computer, and today I took the plunge and installed Windows 2008 R2 on a new computer I bought for myself. I'm a developer.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So far, I must heartily agree with the second post in this thread, that there is something messed up with fileshares. I'm seeing more or less the same behavior as he descirbed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I've created a user on the Windows 7 computer, and added him to the administrators group and every other group on the computer, and then I gave all of these groups read/write access to a new fileshare.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, the only way I can access the share is if use the "Administrator" account for the credentials to access the fileshare.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The other account can access the public share, but not the additional shares.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm not looking for a solution - this is a home network, I'll just login with the Administrator account and be happy ever after - but I'm just trying to underscore a problem and provide some agreeance with that poster, even if it is 2 years later :)&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=492708</link><pubDate>Fri, 18 Sep 2009 11:57:54 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=492708</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/492708/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Whether it can happen on XP or not, we would hope that Vista and beyond would be better :)
&amp;nbsp;
I'm new to Vista/Windows 7 (i.e. UAC), I just installed Windows 7 a few weeks ago on my Wife's computer, and today I took the plunge and installed Windows 2008 R2 on a new computer I bought for myself.&amp;#8230;</evnet:previewtext><dc:creator>Jason Foster</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/492708/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>My Protected Mode is always Off even tought I set it Enabled in every Zone&lt;BR&gt;No I'm not running IE in Administrator mode&lt;BR&gt;Yes my UAC is enabled&lt;BR&gt;Yes I'm using Windows Vista Home Premium SP1 Everything is up to date&lt;BR&gt;No I didn't change anything in my IE setting since this has happened last month only&lt;BR&gt;Yes I did try&amp;nbsp;a full IE Reset&lt;BR&gt;&lt;BR&gt;Oh and its IE7 :)&lt;BR&gt;What else ?&lt;BR&gt;&lt;BR&gt;Thank you for your help</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=420569</link><pubDate>Sat, 09 Aug 2008 10:21:26 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=420569</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/420569/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>My Protected Mode is always Off even tought I set it Enabled in every ZoneNo I'm not running IE in Administrator modeYes my UAC is enabledYes I'm using Windows Vista Home Premium SP1 Everything is up to dateNo I didn't change anything in my IE setting since this has happened last month onlyYes I did&amp;#8230;</evnet:previewtext><dc:creator>Marc Roussel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/420569/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;STRONG&gt;avgroenink:&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;This is actually unrelated to UAC.&amp;nbsp; The system will set the owner of objects created by admin/elevated tokens to the Administrators group; this prevents any non-elevated malware running as you from coming along later on and being able to modify the object (which it would be able to do if your user SID was set to the owner instead).&lt;BR&gt;&lt;BR&gt;Since you're a member of the Administrators group, this is the behavior you'll get in the case with UAC turned off (since you're running as a full admin).&lt;BR&gt;&lt;BR&gt;With UAC on, my suspicion is that you somehow ended up with Explorer running elevated (e.g., it died and you restarted it from an elevated instance of Task Manager, etc), and that's why you ended up with the unexpected ACL there.&lt;BR&gt;&lt;BR&gt;Let me know if I'm reading the config or folder locations incorrectly, in which case I'll go back to the drawing board for the answer :)&lt;BR&gt;&lt;BR&gt;--Jonathan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397744</link><pubDate>Mon, 14 Apr 2008 14:34:22 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397744</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/397744/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>avgroenink:This is actually unrelated to UAC.&amp;nbsp; The system will set the owner of objects created by admin/elevated tokens to the Administrators group; this prevents any non-elevated malware running as you from coming along later on and being able to modify the object (which it would be able to&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/397744/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Addition to my previous post: when I create a new folder on the desktop, it is owned by "Administrators" (plural) and the group is Domain Users.&amp;nbsp; It has no permissions:&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;cygwin$ ls -l ~/Desktop&lt;BR&gt;&lt;/STRONG&gt;d---------+ 2 Administrators Domain Users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 Apr 12 10:19 New folder&lt;BR&gt;&lt;STRONG&gt;&lt;BR&gt;cygwin$ ls -lad ~/Desktop/&lt;/STRONG&gt;&lt;BR&gt;drwxrwxrwx+ 6 annius Domain Users 12288 Apr 12 10:19 /home/annius/Desktop/&lt;BR&gt;&lt;BR&gt;(permissions 777 set on Desktop is probably due to one of my previous attempts to get full ownership of the files on my desktop).&lt;BR&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397721</link><pubDate>Sat, 12 Apr 2008 08:24:54 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397721</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/397721/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Addition to my previous post: when I create a new folder on the desktop, it is owned by "Administrators" (plural) and the group is Domain Users.&amp;nbsp; It has no permissions:cygwin$ ls -l ~/Desktopd---------+ 2 Administrators Domain Users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 Apr 12 10:19 New foldercygwin$ ls&amp;#8230;</evnet:previewtext><dc:creator>avgroenink</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/397721/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;I am not sure what I am experienced has anything to do with UAC, but I suspect it does.&lt;/P&gt;
&lt;P&gt;I am logged in as a regular user ("annius") and I am in the&amp;nbsp;administrators group.&amp;nbsp; When I create a folder in my Documents folder, it is owned by "annius" as I would expect.&amp;nbsp; When I create a folder on the desktop, it ends up owned by "Administrator" (I don't need to answer any prompts to get it owned by Administrator).&amp;nbsp; Subsequently, I can't rename it or put anything inside it.&lt;/P&gt;
&lt;P&gt;Could this be because I once "elevated" and as of that moment I my Windows explorer runs as "Administrator"?&lt;/P&gt;
&lt;P&gt;This happens regardless of whether I have UAC enabled or disabled.&lt;/P&gt;
&lt;P&gt;The only thing that is special is that this happens on a laptop machine that operates inside the windows domain at work when I am at work, then I put it to sleep, and take it out of sleep at home where the domain "is not there".&amp;nbsp; Again, not sure that that has anything to do with the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397705</link><pubDate>Fri, 11 Apr 2008 15:45:11 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=397705</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/397705/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I am not sure what I am experienced has anything to do with UAC, but I suspect it does.
I am logged in as a regular user ("annius") and I am in the&amp;nbsp;administrators group.&amp;nbsp; When I create a folder in my Documents folder, it is owned by "annius" as I would expect.&amp;nbsp; When I create a folder&amp;#8230;</evnet:previewtext><dc:creator>avgroenink</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/397705/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;Thanks for your response Jonathan!&amp;nbsp; Some great detail there.&lt;/P&gt;
&lt;P&gt;A quick follow-up on some of the questions:&lt;/P&gt;
&lt;P&gt;2) Good details regarding communication with Outlook.&amp;nbsp; But I think creating a script which launches via Scheduled tasks which then picks up message contents via an intermediate INI file or through some kind of listening code is beyond the reach of most administrators.&amp;nbsp; Unless Microsoft provides some guidance/sample code to support this approach, I think most admins will simply end up elevating Outlook.&amp;nbsp; However, if COM is as strict as you say it is, elevation of Outlook may not be the end of the world.&amp;nbsp; I think another valid approach would be to find a third-party e-mail package that isn’t quite so strict.&amp;nbsp; I assume that if I am elevating a tool it would still be able to communicate with any application operating at the user level – such as a third-party e-mail product.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;3) Yes, I’ve seen the Consent vs. Credentials security settings before, but that is not a very friendly solution.&amp;nbsp; The problem is that the consent approach is great for 98% of a user’s experience – particularly when they have legacy apps that need local admin rights in order to run.&amp;nbsp; It’s just that remaining 2% where there is no way to elevate to another admin account at all.&amp;nbsp; It wouldn’t be very nice if we make someone suffer 98% of the time by forcing credentials just to make the remaining 2% possible.&amp;nbsp; There are two things that I would like to see change – either of which would greatly improve my situation.&amp;nbsp; One would be to offer a button on the consent prompt such as “enter credentials” so that the user can choose to enter credentials for another account for only the 2% of the time when it is required.&amp;nbsp; I also really miss the “Run As…” option on the context menu.&amp;nbsp; As discussed, the “Run as administrator…” prompt has its limitations.&lt;/P&gt;
&lt;P&gt;Currently, most of our administrators have resorted to using the RUN AS command from a CMD window in order to get their work done.&amp;nbsp; It’s funny to have this beautiful OS, but to spend all our time in a black DOS screen.&amp;nbsp; This problem would go away if we could get a RUN AS on the context menu (I just might try to write one).&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;While I’ve got your ear, I’d love it if you would explain to everyone the behavior of the Windows Explorer (file manager).&amp;nbsp; It clearly doesn’t follow the usual application elevation rules.&amp;nbsp; We now use the “Launch folder windows in a separate process” option to allow us to elevate Explorer, but even with that option it will not allow us to elevate to another admin account.&amp;nbsp; If we travel to a user’s desk, it is not possible to elevate Explorer with an admin account and perform functions reserved for administrators.&amp;nbsp; In fact, Explorer is downright misleading on the whole subject.&amp;nbsp; If we try to manage files in the System32 folder with a user account, Explorer will prompt for all sorts of credentials and things as if it will elevate us, but in the end we don’t get what we need.&amp;nbsp; Either nothing happens or we get messages unrelated to what is really happening.&amp;nbsp; This has been very frustrating and has cost many people time as they scratch their heads trying to figure out what is happening.&amp;nbsp; What is happening?&amp;nbsp; Could you tell us?&lt;/P&gt;
&lt;P&gt;At the moment, the only way we have been able to do our jobs has been to perform things like&amp;nbsp; system32 file management from the DOS prompt.&amp;nbsp; Lately we have actually been finding third-party file management programs on administrator PCs.&amp;nbsp; It was surprising, but actually makes sense.&amp;nbsp; Third-party file managers look like normal applications to Vista and therefore elevates normally.&amp;nbsp; It then becomes possible for administrators to do a lot of their work without resorting to a DOS CMD window.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Thanks for your time Jonathan, it is much appreciated,&lt;BR&gt;&lt;BR&gt;Gordon Martin&lt;BR&gt;&lt;a href="http://VistaVitals.blogspot.com"&gt;http://VistaVitals.blogspot.com&lt;/a&gt;&lt;BR&gt;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=368673</link><pubDate>Fri, 30 Nov 2007 21:49:07 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=368673</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/368673/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks for your response Jonathan!&amp;nbsp; Some great detail there.
A quick follow-up on some of the questions:
2) Good details regarding communication with Outlook.&amp;nbsp; But I think creating a script which launches via Scheduled tasks which then picks up message contents via an intermediate INI&amp;#8230;</evnet:previewtext><dc:creator>Gordon Martin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/368673/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;Yup -- still monitoring the forum actively :)&lt;BR&gt;&lt;BR&gt;Some great questions there -- here goes:&lt;BR&gt;&lt;BR&gt;1)&amp;nbsp; Mapped drives get interesting in combination with the "split-token" account, because of a weird&amp;nbsp;dichotomy in the system (in large part historical) --&amp;nbsp;the drive &lt;U&gt;letters&lt;/U&gt; are per-user, but the underlying drive &lt;U&gt;mappings&lt;/U&gt; are per-LUID (i.e., distinct for each individual logon, even for the same user).&amp;nbsp; This is why the mappings disappear when you elevate, and the setting you found tells the OS that you want the mappings you make non-elevated to be mirrored into your elevated context as well -- under the covers, the NTLanman network provider maps the drive and then asks the LSA to find the associated elevated token and use it to mirror the mapping.&amp;nbsp; Technically, it opens a small loophole since non-elevated malware&amp;nbsp;can now&amp;nbsp;"pre-seed" a drive letter + mapping into the elevated context -- that should be low-risk unless you end up with something that's specifically tailored to your environment.&lt;BR&gt;&lt;BR&gt;2)&amp;nbsp; For COM servers configured as "Activate as Activator," COM does some very strict matching to ensure that the client/caller and the COM server have the same security attributes -- this was actually the case pre-Vista as well (e.g., blocked from clients started with runas.exe, running in a different TS session, running with a filtered token, etc).&amp;nbsp; It's done to prevent attacks against the client both via spoofing (i.e., malware can spoof the class/ROT registration) and COM callbacks (from the lower-privileged server).&amp;nbsp; One possible solution for you would be to route the&amp;nbsp;script to something running as the interactive user, and then to call Outlook from there --&amp;nbsp;the simplest solution that comes to mind would be to&amp;nbsp;use a Scheduled Task for this (i.e., script passes the information to the task, which invokes Outlook).&lt;BR&gt;&lt;BR&gt;3)&amp;nbsp; You can actually configure the UAC policies to change the prompt type from "Consent" to "Credentials" for cases where users have (effectively) multiple admin accounts.&amp;nbsp; Take a look at &lt;a href="http://blogs.msdn.com/uac/archive/2006/01/22/516066.aspx"&gt;http://blogs.msdn.com/uac/archive/2006/01/22/516066.aspx&lt;/a&gt;&amp;nbsp;for a good walk-through and screenshots with secpol.msc.&lt;BR&gt;&lt;BR&gt;4)&amp;nbsp; If the program is marked as "requireAdministrator," we won't accept anything less than a full admin token -- in the example you gave, the user will actually get a credential prompt (rather than consent) since the user's elevated token doesn't contain the "Administrators" SID.&lt;BR&gt;&lt;BR&gt;--Jonathan&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=364021</link><pubDate>Tue, 13 Nov 2007 16:51:36 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=364021</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/364021/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Yup -- still monitoring the forum actively :)Some great questions there -- here goes:1)&amp;nbsp; Mapped drives get interesting in combination with the "split-token" account, because of a weird&amp;nbsp;dichotomy in the system (in large part historical) --&amp;nbsp;the drive letters are per-user, but the&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/364021/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Hello Jonathan and Chris,&lt;BR&gt;&lt;BR&gt;I hope you are still monitoring this forum thread even if it is getting a bit stale.&lt;BR&gt;&lt;BR&gt;I just watched your video and absolutley loved it.&amp;nbsp; It is great to be able to get insight into what the developers of such a critical feature were/are thinking.&amp;nbsp; It has refreshed a lot of the random bits I have collected in the past and put them into context quite nicely.&lt;BR&gt;&lt;BR&gt;I love what UAC is trying to do, unfortunately I am one of those that isn't a big fan of the cost incurred by&amp;nbsp;me and my company by allowing UAC to run.&amp;nbsp; I totally get Vista trying to compartmentalize things and not letting things run roughshod over the whol OS - a long overdue feature.&amp;nbsp; I understand that once developers are retrained to create applications that are obediant, life will be good.&amp;nbsp; But in the mean time my life is much more difficult and the cost to my organization is likely to be high.&lt;BR&gt;&lt;BR&gt;I'd like you to convince me that I am wrong.&amp;nbsp; Here are a few issues I'd love clarified and I have yet to find anyone knowledgeable enough to answer (you look knowledgeable enough&amp;nbsp; :-)&lt;BR&gt;&lt;BR&gt;1) I have network admin scripts and tools that are located on network shares&amp;nbsp;which also&amp;nbsp;store logs there.&amp;nbsp; When I try to&amp;nbsp;elevate these tools with my admin account (which they need to run), they fail because the drive mappings disappear.&amp;nbsp; This is because of the mappings being associated with my filtered token and my full token not being able to access them - if I understand things properly.&amp;nbsp; I found KB article 937624 which describes creating the key HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLinkedConnections = 1 to allow the mappings to be visible from every priviledge level.&amp;nbsp; BUt I have not found any information to describe what is actually happening technically or if this opens any kind of UAC loopholes.&amp;nbsp; Can you comment?&lt;BR&gt;&lt;BR&gt;2) Some of the elevated tools I run must send e-mails via Outlook.&amp;nbsp; I have found that the scripts are only able to interact with Outlook if they first elevate Outlook as well.&amp;nbsp; This obviously scares the hell out of me.&amp;nbsp; Why is it necessary to do this?&amp;nbsp; Why isn't my elevated script allowed to talk to an instance of Outlook operating at a lower level?&lt;BR&gt;&lt;BR&gt;3) We have had to give some user accounts local admin priveledges in order to be able to properly install and use some older products that don't obey the new rules yet.&amp;nbsp; The problem is that some of these users like to use domain admin tools that require their seperate domain admin account.&amp;nbsp; However, when they go to&amp;nbsp; elevate&amp;nbsp;these admin tools, they are only given the UAC Consent prompt rather than the UAC Credentials prompt.&amp;nbsp; Obviously Vista sees the full token for the Local admin and thinks that is good enough when clearly it isn't.&amp;nbsp; How do we work around this?&amp;nbsp; Is a better solution coming? (i.e. a button in the corner of the Consent dialog that lets us choose to enter credentials).&lt;BR&gt;&lt;BR&gt;4)&amp;nbsp;An extension of number 3) above... UAC is obviously being fooled by the presense of a full token - any full token.&amp;nbsp; Will UAC make the same mistake if a program needs a full admin token, but the best the user has is Print Manager priviledges for his full token?&amp;nbsp; Will UAC notice that the user falls short and ask for Credentials instead of Consent?&lt;BR&gt;&lt;BR&gt;Sorry for the long e-mail but it looks like I might finally have someone knowledgeable to answer my questions here.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Sincerely,&lt;BR&gt;&lt;BR&gt;Gordon Martin&lt;BR&gt;&lt;a href="http://VistaVitals.blogspot.com"&gt;http://VistaVitals.blogspot.com&lt;/a&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=362543</link><pubDate>Wed, 07 Nov 2007 21:19:22 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=362543</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/362543/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hello Jonathan and Chris,I hope you are still monitoring this forum thread even if it is getting a bit stale.I just watched your video and absolutley loved it.&amp;nbsp; It is great to be able to get insight into what the developers of such a critical feature were/are thinking.&amp;nbsp; It has refreshed a&amp;#8230;</evnet:previewtext><dc:creator>Gordon Martin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/362543/Trackback.aspx</trackback:ping></item><item><title>Re: MMC Snap-in:  UAC - What. How. Why.</title><description>&lt;P&gt;&lt;STRONG&gt;sz204:&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;From the description, the problem&amp;nbsp;hits because MMC is running elevated while your second app is not; as a result, the COM server runs elevated when started from MMC and the non-elevated app can't access its ROT entries.&lt;BR&gt;&lt;BR&gt;I asked the COM folks for suggestions, and they mentioned two possible ways to solve this:&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; The COM server can register in the ROT using&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ROTFLAGS_ALLOWANYCLIENT -- this is described&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; towards the end of&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms679687.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms679687.aspx&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; You can configure the COM server to RunAs&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Interactive User" -- note that this solution assumes&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that the COM server itself doesn't need any admin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; privileges and will&amp;nbsp;always be used in a scenario where&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a user is logged on (else it will fail to CoCreate).&lt;BR&gt;&lt;BR&gt;--Jonathan&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=348259</link><pubDate>Thu, 23 Aug 2007 15:05:21 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=348259</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/348259/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>sz204:From the description, the problem&amp;nbsp;hits because MMC is running elevated while your second app is not; as a result, the COM server runs elevated when started from MMC and the non-elevated app can't access its ROT entries.I asked the COM folks for suggestions, and they mentioned two possible&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/348259/Trackback.aspx</trackback:ping></item><item><title>MMC Snap-in:  UAC - What. How. Why.</title><description>Hi,&lt;br&gt;&lt;br&gt;We have a COM based application written in C++, and have difficulty to make it work on Vista. Will you please give guidance? &lt;br&gt;&lt;br&gt;Our application talks to a COM exe, we also have a MMC snap-in talks to this COM exe, i.e. the application communicate with MMC(snap-in) via this COM exe.&amp;nbsp; &lt;br&gt;&lt;br&gt;Both the application and MMC(Snap-in) can start an instance of the COM exe if non-existence, and then share between each other.&lt;br&gt;&lt;br&gt;On Vista,&amp;nbsp; if the COM exe is started by either of them, the other one will &lt;b&gt;fail to connect to the running COM exe&lt;/b&gt;, i.e. the code hr = GetActiveObject(...)&amp;nbsp; returns faiure. &lt;br&gt;&lt;br&gt;Following "Windows Vista Application Development Requirements for User Account Control Compatibility" document, I rebuilt the application embeding a manifest file with "level="requireAdministrator" uiAccess="false", the problem is gone.&lt;br&gt;&lt;br&gt;However, we do not want to give the application "Administrator" right. so I tried to embed the manifest file to the snap-in DLL. No effect, the problem returns, GetActiveObject(...) gives me failure.&lt;br&gt;&lt;br&gt;What is the best way to deal with this problem?&lt;br&gt;&lt;br&gt;Thanks in advance.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=347419</link><pubDate>Mon, 20 Aug 2007 09:32:23 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=347419</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/347419/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi,We have a COM based application written in C++, and have difficulty to make it work on Vista. Will you please give guidance? Our application talks to a COM exe, we also have a MMC snap-in talks to this COM exe, i.e. the application communicate with MMC(snap-in) via this COM exe.&amp;nbsp; Both the&amp;#8230;</evnet:previewtext><dc:creator>sz204</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/347419/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P dir=ltr&gt;&lt;STRONG&gt;jbarklage&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;How is the error manifesting (e.g., "error dialog through the Shell that says xxxx")?&lt;BR&gt;&lt;BR&gt;It's possible that the error is due to lower permissions due to UAC, but it's unlikely.&amp;nbsp; UAC would&amp;nbsp;be affecting things only if all of the following are true:&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1.&amp;nbsp; Your users were running as members of the Administrators&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;group&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp; The share is ACLed such that only admins can write to it&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.&amp;nbsp; The file share&amp;nbsp;is also a&amp;nbsp;Vista machine&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.&amp;nbsp; Your users&amp;nbsp;have local accounts, rather than domain accounts&lt;BR&gt;&lt;BR&gt;#1 + #2 would be required for a permission problem, since your users wouldn't be running as full admins unless they explicitly elevate.&amp;nbsp; However, #3 + #4 would also be required for the token filtering to propagate on the wire -- by default, filtered admins using domain accounts get their full token on the target (Vista) machine to allow for remote administration.&lt;BR&gt;&lt;BR&gt;One last thought -- could it be due to the firewall (either the one shipped in the box or a different one that you install on your client machines)?&lt;BR&gt;&lt;BR&gt;--Jonathan&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=308974</link><pubDate>Thu, 10 May 2007 14:34:51 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=308974</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/308974/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>jbarklageHow is the error manifesting (e.g., "error dialog through the Shell that says xxxx")?It's possible that the error is due to lower permissions due to UAC, but it's unlikely.&amp;nbsp; UAC would&amp;nbsp;be affecting things only if all of the following are&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/308974/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;I have nothing against UAC, i don't hate it, i don't love it.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;I am a network admin for a consulting firm and some of our clients are starting to get Vista machines.&amp;nbsp; We had one the other day tell us that they are unable to save files to the network shares.&amp;nbsp; Tells them Unable to save files, does not matter what file type.&amp;nbsp; :s&lt;BR&gt;&lt;BR&gt;Is this issue caused by UAC?&amp;nbsp; Would turning it off correct this or is this question for a different forum?&amp;nbsp; Many thanks for your assistance.&lt;BR&gt;&lt;BR&gt;Justin [H]&lt;BR&gt;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=308879</link><pubDate>Wed, 09 May 2007 22:08:55 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=308879</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/308879/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I have nothing against UAC, i don't hate it, i don't love it.&amp;nbsp; I am a network admin for a consulting firm and some of our clients are starting to get Vista machines.&amp;nbsp; We had one the other day tell us that they are unable to save files to the network shares.&amp;nbsp; Tells them Unable to save&amp;#8230;</evnet:previewtext><dc:creator>jbarklage</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/308879/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Jason,&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I dug into this one and it ends up being due to legacy behavior in the filesystem, where it returns ERROR_ACCESS_DENIED from MoveFile(Ex) in this case, rather than ERROR_SHARING_VIOLATION (or something similar).&amp;nbsp; As a result, the Shell thinks that it needs to elevate (which it now has the ability to do via UAC, vs. XP when it could simply fail out), even though it's doomed to failure.&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The filesystem folks are currently thinking through some ideas for what we can do here moving forward.&amp;nbsp; It gets tricky since&amp;nbsp;this particular case has existed in the filesystem since (at least) NT4, so simply changing the error code becomes very risky in terms of App Compat.&lt;BR&gt;&lt;BR&gt;--Jonathan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=306343</link><pubDate>Wed, 25 Apr 2007 21:29:07 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=306343</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/306343/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Jason,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I dug into this one and it ends up being due to legacy behavior in the filesystem, where it returns ERROR_ACCESS_DENIED from MoveFile(Ex) in this case, rather than ERROR_SHARING_VIOLATION (or something similar).&amp;nbsp; As a result, the Shell thinks&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/306343/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Jon:&lt;BR&gt;&lt;BR&gt;Thank you for your replies.&amp;nbsp; It's great to see you take such a proactive, enthusiastic stance with both the technology and your customers.&lt;BR&gt;&lt;BR&gt;On another note, I ran into a behavior I'm not so sure is a bug but rather just misleading.&amp;nbsp; I created a folder on the desktop and then later tried to rename it.&amp;nbsp; I received three prompts including a UAC prompt.&amp;nbsp; Finally, the rename failed.&amp;nbsp; I was logged in as admin and had adequate permissions.&amp;nbsp; After a google or two, I realized I had a word doc open that was in the folder.&amp;nbsp; I closed the documents and renamed the folder without any prompts.&amp;nbsp;&amp;nbsp; In other words, the interaction I had with the system gave me the impression it was a security restriction of some kind and nothing about open file or anything of that sort.&amp;nbsp; I know this may not be in your area but the access denied and UAC prompt was confusing.&amp;nbsp; In XP it's real clear: "close down any open programs."&lt;BR&gt;&lt;BR&gt;For what it's worth . . .</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305625</link><pubDate>Sat, 21 Apr 2007 18:38:14 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305625</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/305625/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Jon:Thank you for your replies.&amp;nbsp; It's great to see you take such a proactive, enthusiastic stance with both the technology and your customers.On another note, I ran into a behavior I'm not so sure is a bug but rather just misleading.&amp;nbsp; I created a folder on the desktop and then later tried&amp;#8230;</evnet:previewtext><dc:creator>jasony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/305625/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Stefan,&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remember that the case where the standard user actually knows the administrator's credentials is not the norm (except for folks like us&amp;nbsp;:) ).&amp;nbsp; Generally, the administrator needs to come over to the machine and&amp;nbsp;enter her credentials to run the application; think of the example of a child in the home needing to get his parent to install a per-machine application (or alternatively, to get an exception to Parental Controls), or an enterprise desktop user who needs that same permission from an enterprise (or Help Desk) administrator to make machine-wide changes.&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As for application installers that currently launch the application at the end of the setup both elevated and in the wrong context, I agree.&amp;nbsp; We're actively working with the associated ISVs to get that fixed in the next release of their app and have published developer guidance to the same effect.&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The design suggestion here is that developers structure their "install + first run" with the autorun (or initial stub) EXE acting like a bootstrapper that launches both the setup EXE (elevated) and then the application itself (in the same context as the autorun/stub) once the setup completes.&amp;nbsp; This keeps things robust to any future changes and also covers any/all edge cases w.r.t. the initial context for the autorun/stub (e.g., running in Protected-Mode IE, running with a custom filtered token, etc).&lt;BR&gt;&lt;BR&gt;--Jonathan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305377</link><pubDate>Fri, 20 Apr 2007 15:37:49 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305377</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/305377/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Stefan,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remember that the case where the standard user actually knows the administrator's credentials is not the norm (except for folks like us&amp;nbsp;:) ).&amp;nbsp; Generally, the administrator needs to come over to the machine and&amp;nbsp;enter her credentials to&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/305377/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;Hello Jon,&lt;/P&gt;
&lt;P&gt;let me get this straight: You are worried that an user who has the credentials of an admin-user, could expose data of other users on the same pc? Hmm, I *think* that user can do that anyway.&lt;BR&gt;&lt;BR&gt;I think it's more dangerous to start&amp;nbsp;a newly installed application as an admin user. Why?&lt;BR&gt;The&amp;nbsp;standard-user thinks he has not the right or power to do any real damage to the OS. But the first "playing around" with a new application could possibly kill of the OS or can do real damage because it's the enviroment of an admin-user.&lt;BR&gt;&lt;BR&gt;From&amp;nbsp;this point of view, the UAC is not much more than a nicer "run as ..." feature. Why can't the "UAC-Service" sense the end of an installation and the first start of the application?&lt;BR&gt;&lt;BR&gt;Stefan&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305331</link><pubDate>Fri, 20 Apr 2007 10:46:41 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305331</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/305331/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hello Jon,
let me get this straight: You are worried that an user who has the credentials of an admin-user, could expose data of other users on the same pc? Hmm, I *think* that user can do that anyway.I think it's more dangerous to start&amp;nbsp;a newly installed application as an admin user.&amp;#8230;</evnet:previewtext><dc:creator>StefanT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/305331/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;STRONG&gt;StefanT&lt;/STRONG&gt;:&lt;BR&gt;&lt;BR&gt;For the elevations, we&amp;nbsp;needed to make sure that we didn't end up with users stepping outside of their groups/roles as part of the elevation, since that can lead to vulnerabilities or information disclosure as a result.&amp;nbsp; For example, anything the elevated application (running as "standard user + admin SID") would save in its user profile&amp;nbsp;would&amp;nbsp;be accessible to the standard user later on and could expose data to which they otherwise wouldn't (and shouldn't) have access (e.g., results of a system scan that enumerates other users' files, etc).&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;JasonY&lt;/STRONG&gt;:&lt;BR&gt;&lt;BR&gt;You're correct about Windows Meeting Space being in the same bucket as IE.&amp;nbsp; As for why we used the "unidentified" dialog in that case, it's primarily because the description and guidance is almost&amp;nbsp;exactly what we'd want to say for a dialog specific to this category of system EXEs.&amp;nbsp; That said, if we were to get feedback that multiple customers were seeing this dialog as part of a normal use scenario and getting confused/misled as a result, we'd definitely look into a new flavor of the dialog with more specific text.&lt;BR&gt;&lt;BR&gt;I just verified that the bug you mentioned is on the Firewall team's radar.&amp;nbsp; Very nice catch -- definitely let me know if you run into other spots like that!&lt;BR&gt;&lt;BR&gt;--Jonathan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305262</link><pubDate>Fri, 20 Apr 2007 00:41:26 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=305262</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/305262/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>StefanT:For the elevations, we&amp;nbsp;needed to make sure that we didn't end up with users stepping outside of their groups/roles as part of the elevation, since that can lead to vulnerabilities or information disclosure as a result.&amp;nbsp; For example, anything the elevated application (running as&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/305262/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>I watched your video again and caught a reply to my own comment-- some programs you don't want to run as admin even windows programs-- so they get the "more dramatic" UI.&amp;nbsp; You used IE as an example.&amp;nbsp; I'm assuming Meeting Place would also fit.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;The only thing I would add is the fact that the title of these pop-ups state's that it's an unidentified application.&amp;nbsp; Do you really want Windows not identifying IE or Meeting Place?</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304870</link><pubDate>Wed, 18 Apr 2007 17:08:24 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304870</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/304870/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I watched your video again and caught a reply to my own comment-- some programs you don't want to run as admin even windows programs-- so they get the "more dramatic" UI.&amp;nbsp; You used IE as an example.&amp;nbsp; I'm assuming Meeting Place would also fit.&amp;nbsp; The only thing I would add is the fact&amp;#8230;</evnet:previewtext><dc:creator>jasony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/304870/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;I may have found another bug.&amp;nbsp; Running Vista Business.&amp;nbsp; I disabled elevation prompts for standard users.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a standard user, I get the expected dialog box denying my account access and not prompting me except when I try to change Windows Firewall settings.&amp;nbsp; Instead, it just sits there.&amp;nbsp; Specifically, I navigated to CP and selected Windows Firewall.&amp;nbsp; From there, I'm selecting Change Settings.&amp;nbsp; It has the Security shield next to it so I'd expect one of those "you-can't-do-this" window but I get nothing.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;FYI . . .&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304867</link><pubDate>Wed, 18 Apr 2007 17:02:01 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304867</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/304867/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I may have found another bug.&amp;nbsp; Running Vista Business.&amp;nbsp; I disabled elevation prompts for standard users.
&amp;nbsp;
As a standard user, I get the expected dialog box denying my account access and not prompting me except when I try to change Windows Firewall settings.&amp;nbsp; Instead, it just&amp;#8230;</evnet:previewtext><dc:creator>jasony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/304867/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;P&gt;Just have to say- EXCELLENT stuff.&amp;nbsp; Love Channel 9.&amp;nbsp; Keep it up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FOR JOHN or CHRIS:&amp;nbsp; I started right-clicking a bit to see the different credential windows and I noticed that when I run as elevated against Windows Meeting Space i get a unidentified program prompt saying it's an unrecognized and unsigned app.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normal?&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304743</link><pubDate>Wed, 18 Apr 2007 05:06:20 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=304743</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/304743/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Just have to say- EXCELLENT stuff.&amp;nbsp; Love Channel 9.&amp;nbsp; Keep it up.
&amp;nbsp;
FOR JOHN or CHRIS:&amp;nbsp; I started right-clicking a bit to see the different credential windows and I noticed that when I run as elevated against Windows Meeting Space i get a unidentified program prompt saying it's&amp;#8230;</evnet:previewtext><dc:creator>jasony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/304743/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Hi, this video was very interesting. I'm using Vista as a standard user since I got my new notebook and found the UAC-popups annoying in the beginning but since most of the installations are done, it's ok for me.&lt;BR&gt;&lt;BR&gt;My proplem with UAC is: When I install an application I have to provide the credentials of an administrator. After doing so, the installer runs as administrator-user.&lt;BR&gt;&lt;BR&gt;Why is that? Shouldn't&amp;nbsp;the standard user getting&amp;nbsp;an "admin-token" and run the installation?&lt;BR&gt;&lt;BR&gt;The next problem is the little checkbox at the end of&amp;nbsp;the installer saying: "Launch Application now". If this checkbox is set, the first start of&amp;nbsp;the new&amp;nbsp;application runs as admin-user. I did have to configure some software twice because the first time I did it with the wrong user! That's at least annoying.&lt;BR&gt;&lt;BR&gt;Maybe I'm getting this completly wrong but after watching the video I find this behaviour strange.&lt;BR&gt;&lt;BR&gt;Greetings from Germany,&lt;BR&gt;Stefan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=303277</link><pubDate>Thu, 12 Apr 2007 15:51:17 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=303277</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/303277/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi, this video was very interesting. I'm using Vista as a standard user since I got my new notebook and found the UAC-popups annoying in the beginning but since most of the installations are done, it's ok for me.My proplem with UAC is: When I install an application I have to provide the credentials&amp;#8230;</evnet:previewtext><dc:creator>StefanT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/303277/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Just a quick update on the Gadget download experience -- it turns out that the third prompt in the sequence is actually an IE security prompt, rather than a UAC prompt.&amp;nbsp; Unfortunately, the IE dialog uses the same coloring as one of the UAC prompt variations, which has caused some confusion in cases like this one.&lt;BR&gt;&lt;BR&gt;That being said,&amp;nbsp;I'm currently chatting with the IE and Sidebar teams to get the experience here improved.&lt;BR&gt;&lt;BR&gt;--Jonathan</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=303020</link><pubDate>Wed, 11 Apr 2007 15:56:13 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=303020</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/303020/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Just a quick update on the Gadget download experience -- it turns out that the third prompt in the sequence is actually an IE security prompt, rather than a UAC prompt.&amp;nbsp; Unfortunately, the IE dialog uses the same coloring as one of the UAC prompt variations, which has caused some confusion in&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/303020/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>&lt;STRONG&gt;SmallTalk&lt;/STRONG&gt;:&lt;BR&gt;&lt;BR&gt;Nice catch -- bad repro steps on my part.&amp;nbsp; Ironically enough, I'm very familiar with the SKU differentiation around secpol.msc -- I just&amp;nbsp;ended up being&amp;nbsp;careless there, since all of my office machines are currently running business SKUs :(&lt;BR&gt;&lt;BR&gt;For those who are looking to modify the policies with RegEdit, the following values map to the policies I mentioned earlier:&lt;BR&gt;&lt;BR&gt;Key: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System&lt;BR&gt;&lt;BR&gt;Values:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConsentPromptBehaviorAdmin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 -- elevate without prompting&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 -- prompt for credentials to elevate&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 -- prompt for consent to elevate (default)&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptOnSecureDesktop&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 -- prompt on user desktop&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 -- prompt on secure desktop (default)&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;evildictaitor&lt;/STRONG&gt;:&lt;BR&gt;&lt;BR&gt;Thanks for the heads-up on the Gadget download experience.&amp;nbsp; I'll look into it and make sure the right folks are on it.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Wodei&lt;/STRONG&gt;:&lt;BR&gt;&lt;BR&gt;The times you've needed to run an MSI from an elevated CMD window are actually bugs in the MSIs themselves.&amp;nbsp; Essentially, each MSI action can be marked as running as the user (i.e., non-elevated) or as the machine (i.e., elevated).&amp;nbsp; Over the course of Vista, we saw quite a few MSIs that had per-machine custom actions mismarked as per-user -- we shimmed them (via MSI transforms, which&amp;nbsp;get installed to&amp;nbsp;%WinDir%\AppPatch\msimain.sdb as part of the OS shim infrastructure), but some obviously managed to fall through the cracks.&amp;nbsp; If you can point me at the problematic MSIs, I can make sure the ISV knows what needs to be done (and potentially get them shimmed for SP1).&lt;BR&gt;&lt;BR&gt;Note that not all MSIs require elevation, since MSI packages can be marked as entirely per-user.&amp;nbsp; I expect to see much more of this moving forward (e.g., it would be ideal for a game demo or "try and buy" software).&lt;BR&gt;&lt;BR&gt;For WinRAR, version 3.7 should be fully Vista-compliant, including elevation only when necessary (e.g., unpacking to an admin-only folder, vs. your user profile) and fixing the issue with the context menu handler.&amp;nbsp; The Visual Studio team, similarly, has their elevation behavior at the top of their list right now.&lt;BR&gt;&lt;BR&gt;In theory, the shield should automatically be appearing on any EXE that's marked to require elevation -- any inconsistency there, like you said, makes the marking nearly valueless.&amp;nbsp; I'll see if we can repro that on-site with the VS and WinRAR settings you described.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302633</link><pubDate>Mon, 09 Apr 2007 18:23:33 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302633</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302633/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>SmallTalk:Nice catch -- bad repro steps on my part.&amp;nbsp; Ironically enough, I'm very familiar with the SKU differentiation around secpol.msc -- I just&amp;nbsp;ended up being&amp;nbsp;careless there, since all of my office machines are currently running business SKUs :(For those who are looking to modify&amp;#8230;</evnet:previewtext><dc:creator>JonSchwartz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302633/Trackback.aspx</trackback:ping></item><item><title>Re: UAC - What. How. Why.</title><description>Sadly, it appears that the Microsoft Engineers responsible for UAC aren't even aware that secpol.msc is not included in Home versions of Vista.&lt;br&gt;&lt;br&gt;Did you guys get a say in that decision? I assume not since you don't even know it is a missing feature.&lt;br&gt;&lt;br&gt;Fortunately for the very high tech home users (like grandma) they can simply use RegEdit to change UAC policies. User friendly &lt;b&gt;and &lt;/b&gt;very efficient.&lt;br&gt;&lt;br&gt;Confirms my suspiscions that the "user community" that was asked to review the UAC design was mostly MS marketing managers. ;)&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302606</link><pubDate>Mon, 09 Apr 2007 16:51:44 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302606</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302606/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Sadly, it appears that the Microsoft Engineers responsible for UAC aren't even aware that secpol.msc is not included in Home versions of Vista.Did you guys get a say in that decision? I assume not since you don't even know it is a missing feature.Fortunately for the very high tech home users (like&amp;#8230;</evnet:previewtext><dc:creator>smalltalk</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302606/Trackback.aspx</trackback:ping></item><item><title>Lots of prompts</title><description>You mention in the video that you'd like information where lots of prompts come up, so I thought you'd appreciate this one, although only one is a UAC UI prompt:&lt;BR&gt;&lt;BR&gt;Downloading a new gadget to the sidebar:&lt;BR&gt;&lt;BR&gt;1. From the site, where you find a nice gadget to download, you click it. Microsoft's website then queries that you are about to download another persons code. Click OK. Dialog1.&lt;BR&gt;&lt;BR&gt;2. You are now redirected to the download itself. It asks you if you'd like to save/run it. Click Run. Dialog2.&lt;BR&gt;&lt;BR&gt;3. The program downloads, but it's a dot-gadget file, so you need to click Open. Dialog3.&lt;BR&gt;&lt;BR&gt;4. But the dot-gadget file was from a website. In comes UAC to tell you of the fact, and we answer OK or stick in a password. Dialog4.&lt;BR&gt;&lt;BR&gt;The sidebar finally installs it's gadget.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302456</link><pubDate>Sun, 08 Apr 2007 16:10:27 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/UAC-What-How-Why/?CommentID=302456</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/302456/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>You mention in the video that you'd like information where lots of prompts come up, so I thought you'd appreciate this one, although only one is a UAC UI prompt:Downloading a new gadget to the sidebar:1. From the site, where you find a nice gadget to download, you click it. Microsoft's website then&amp;#8230;</evnet:previewtext><dc:creator>evildictaitor</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/302456/Trackback.aspx</trackback:ping></item></channel></rss>