<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx</link><description>Dave Solomon was on campus a couple of weeks ago presenting a Windows internals seminar to Microsoft developers. Before I joined Microsoft I taught the classes here at Microsoft with him, but now with my other responsibilities here I step into the class</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>A couple of editor notes</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460414</link><pubDate>Mon, 02 Oct 2006 08:11:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460414</guid><dc:creator>Nic</dc:creator><description>Hi Mark,&lt;br&gt;&lt;br&gt;As usual, a very nice writeup that's so helpful to us who sometimes have to investigate why Windows does what it does. I just wanted to warn you that there are two editor's notes (in brackets) still embedded in your entry.&lt;br&gt;&lt;br&gt;Thanks, and keep up the good work!</description></item><item><title>Smells of old microsft style a mile away</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460503</link><pubDate>Mon, 02 Oct 2006 13:42:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460503</guid><dc:creator>Gaetano Giunta</dc:creator><description>Thanks a lot for your article, which lives up to the usual standard (ie. the best windows insight ever, period).&lt;br&gt;&lt;br&gt;There are a couple of things that I found really interesting here, which are:&lt;br&gt;&lt;br&gt;- a small, simple piece of software as notepad refusing to run without any kind of error message because its does not find language-specific locales. I hope it is an RC-XX kind of problem, but I have huge fears it will not be as easy as that: I have just been confronted by a (poorly coded?) .aspx app that refused to load and gave strange error messages on users that had their IE preference language set up as &amp;quot;en-securid&amp;quot; (most likely some braindead bsecurity sw was to blame here for th e change, but what about the warped mind of the api designers that let web apps be designed without a fallback language?)&lt;br&gt;&lt;br&gt;- the doc about uac was illuminating, in its description of the mechanism used for detecting when an executable is an installer and when it is not. I really cannot find any way to define it other than 'laughable': poor design that will lead to security headaches for years to come. Can't MS just stick to common security methodologies that have been in the field for decades? eg. let the user run whatever frickin' executable he wants, and make sure that user-level executables cannot do system-level damage, ever. Was it too hard asking for admin credentials at the very moment when the app tries to access critical section of the system, intead to guestimating 'what it might look likely to try to do'?&lt;br&gt;&lt;br&gt;Just my 2c.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460504</link><pubDate>Mon, 02 Oct 2006 13:45:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460504</guid><dc:creator>Norman Diamond</dc:creator><description>&amp;gt; Then I launched it, expecting to see a &lt;BR&gt;&amp;gt; Consent dialog like the one below ask me to &lt;BR&gt;&amp;gt; grant the renamed Notepad administrative &lt;BR&gt;&amp;gt; rights: &lt;BR&gt;&lt;BR&gt;Yikes. &amp;nbsp;I thought that dialog was only asking for consent to run the program. &lt;BR&gt;&lt;BR&gt;For safety that dialog ought to be modified to provide three possibilities: &lt;BR&gt;Run the program with administrative rights. &lt;BR&gt;Run the program with ordinary rights. &lt;BR&gt;Don't run the program. &lt;BR&gt;&lt;BR&gt;For a lesser amount of safety, just change the wording to say what it will do in each case: &lt;BR&gt;Run the program with administrative rights. &lt;BR&gt;Don't run the program. &lt;BR&gt;&lt;BR&gt;The reason the latter change is less safe is that users who want to run the program will surely choose to run it as administrator rather than not running it. &lt;BR&gt;&lt;BR&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460512</link><pubDate>Mon, 02 Oct 2006 14:10:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460512</guid><dc:creator>Ilya</dc:creator><description>Interesting, but I did not catch how new Vista technology would provide better security? Is it somehow restricted to run all these things (to become an admin for some particular file) in scripts. &lt;BR&gt;</description></item><item><title>The case of the Notepad which wouldn&amp;#8217;t run &amp;laquo; MogBlog</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460745</link><pubDate>Mon, 02 Oct 2006 23:45:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460745</guid><dc:creator>The case of the Notepad which wouldn’t run « MogBlog</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://dancmorgan.wordpress.com/2006/10/02/the-case-of-the-notepad-which-wouldnt-run/"&gt;http://dancmorgan.wordpress.com/2006/10/02/the-case-of-the-notepad-which-wouldnt-run/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460814</link><pubDate>Tue, 03 Oct 2006 00:28:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460814</guid><dc:creator>catfish</dc:creator><description>Thanks again for another great post. It does bring up a question.

Why is there an assumption that all setup programs require admin access? Since there is no limitations on running programs from your profile (although that would be interesting) as long as the program doesn't enhanced access why single out installers? There may be a few situations where you want to install a program just on one user or test out a program in the relative safety of limited user.

I also wonder that since limited user only has full write access to their profile, where should an program should be install into by default? Create a %USERPROFILE%\Program Files\... ? Thinking about any nt based windows, not just vista. And not just .msi files.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460815</link><pubDate>Tue, 03 Oct 2006 00:31:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460815</guid><dc:creator>Mike Dimmick</dc:creator><description>Gaetano: how would you stop an application constantly trying to perform administrative functions and spamming the user with consent dialogs? How would you handle programs which work fine on Windows XP as a limited user, which correctly handle the error return values when attempting to perform some administrative task? UAC creates a consent dialog at the start of a program, and that's it.

Ilya: UAC only kicks in when a program is run from Explorer. No consent dialogs appear when running a program from a command prompt, from within a script, or programmatically. They run with the permissions of the parent process (typically CMD.EXE). To perform administrative tasks from a command window, right-click a Command Prompt shortcut and select Run As Administrator.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#460925</link><pubDate>Tue, 03 Oct 2006 05:44:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:460925</guid><dc:creator>Norman Diamond</dc:creator><description>Monday, October 02, 2006 5:31 PM by Mike Dimmick
&gt; Gaetano: how would you stop an application
&gt; constantly trying to perform administrative
&gt; functions and spamming the user with consent
&gt; dialogs?

Not being Gaetano, my answer might be different.

When an application tries to perform an administrative function, Windows will ask the user.  If the user approves, the application gets the privileges.  If the user disapproves, the application gets the denial.  If the user asks to be asked again later, then Windows will make some decision about this time but will ask the user again the next time the program tries to perform an administrative task.

There is precedent for this.  When a program tries to access the network, Windows Firewall asks the user.  The user can say to approve, disapprove, or be asked again later.  If the user chooses to be asked again later then Windows decides whether or not to grant the access this particular time.

Of course the precedent also shows an improvement that could be made:  the user could be given a chance to deny this time but be asked again later.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#461073</link><pubDate>Tue, 03 Oct 2006 11:11:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:461073</guid><dc:creator>Gaetano Giunta</dc:creator><description>Mike: I would imagine that a sort of granted-security-permissions cache is present, so that after an app. has triggered a 'need more perms' dialog once, subsequent provileged calls will not trigger it anymore (afaict both sudo and macosx do it).

I also strongly agree with catfish: why should a security dialog pop up if the software just wants to be installed in the user folders / reg hive, and needs no special admin privileges?
Besides, I can only imagine that the 'bad guys' will immediately make sure their self-installing code has the correct name and resource strings to escape this basic security anlysis, so there seems to be little security added in doing the 'guestimate'.

Also, I do not see how asking beforehand for admin privileges would change with apps "which correctly handle the error return values when attempting to perform some administrative task".

I am not too versed in windows development, but I can imagine keeping backwards compatibility with 'bad' apps can be a gret hinderance. Isn't the introduction of a new OS the best (only?) opportunity to deprecate old habits and  force third party developers to straighten up their act?

ps: Note to self: always count to a hundred before posting flames.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#461113</link><pubDate>Tue, 03 Oct 2006 12:13:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:461113</guid><dc:creator>kiwiblue</dc:creator><description>So the next piece of malware is going to come as email message with 'windows_update.exe' attachment. User gives the consent with UAC, and puff, there's a cloud of orange smoke.</description></item><item><title>Where's the real benefit of UAC?</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#461394</link><pubDate>Tue, 03 Oct 2006 22:46:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:461394</guid><dc:creator>bluvg</dc:creator><description>I have the same concern that many others have--if users weren't stopped from clicking through warnings on running unknown executables on XP SP2, why should we expect them not to click through the dialogs to allow an install of a piece of malware with the filename "setup.exe"?</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462231</link><pubDate>Thu, 05 Oct 2006 03:06:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462231</guid><dc:creator>Dean Harding</dc:creator><description>&gt; I have the same concern that many others have--if users weren't stopped from clicking through
&gt; warnings on running unknown executables on XP SP2, why should we expect them not to click through
&gt; the dialogs to allow an install of a piece of malware with the filename "setup.exe"?

There are only so many hoops that you can make people jump though. Internet Explorer (and I assume Outlook Express?) run in Protected mode which provides more, well, protection, than running a program from windows explorer. But there's still nothing stopping a user from download a malware application, saving it to their desktop, double-clicking it, and clicking on "Allow". As Larry Osterman says, if people want to see the dancing bunnies, they damnit, they'll SEE the dancing bunnies.

&gt; I am not too versed in windows development, but I can imagine
&gt; keeping backwards compatibility with 'bad' apps can be a gret hinderance

It's actually a GOOD app that would correctly handle an "access denied" error and degrade gracefully. It's the bad apps that would require the prompt as soon as they tried to do something admin-y.

Good apps that ARE admin-y should be asked up-front (to provide a better experience). Good apps that do not need to be admin-y should not get asked at all.

Now the better experience I mentioned was that if you launch an admin-y app, and if the admin-consent dialog only popped up on your first admin-y thing, then each time you run it, the admin-consent dialog would pop up in seemingly random places (depending on what admin-y thing you did first). Popping it up at the start provides a consistent experience.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462357</link><pubDate>Thu, 05 Oct 2006 11:03:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462357</guid><dc:creator>Scotlandard</dc:creator><description>I like your article Mark, very informative. But in next articles can you turn off some strong colors like you do in this article. They look pretty much like flowers. 

</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462427</link><pubDate>Thu, 05 Oct 2006 13:47:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462427</guid><dc:creator>kiwiblue</dc:creator><description>"Popping it up at the start provides a consistent experience."

Agree, but it looks like UAC itself is not providing _any_ new protection in such case. You only need to give the consent once at program startup, through dialog confirmation - just like you do today.

Given the extremely intrusive nature of UAC, the question is: was it worth implementing in the first place?</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462631</link><pubDate>Thu, 05 Oct 2006 19:49:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462631</guid><dc:creator>Gaetano Giunta</dc:creator><description>"Popping it up at the start provides a consistent experience."
It probably does.

I have not downloaded and tested vista myself (yet), but there are many, many blogs that complain about how the UAC dialogs always pop up at unexpected times / are very hard to correlate to the specific permission that is being asked to the user. Otoh I have tested ubuntu and macOsX, and every single time the root pwd is asked, it easy very easy to tell why (of course, I'm an it guy, not avg. joe).

I think this reflects a very common ui strategy on the part of microsoft: every time something is deemed too hard to understand by the user, "hide it". Note that is is very different from "make it simpler" or "remove it alogether".
This is sadly a great burden for everybody, because users are never pushed towards learning the way their computer works / why things happen, but instead get accustomed to use a magical-mysterious-tool that works almost ok 50% of the time and the other 50% is just plain crazy.
A golden standard of this was removal of filename extension from the default view in explorer: the extension part is still there, and it is what is actually being used by the os to take decisions, but it is not shown to the user anymore. Sense is lost forever. No new user will ever learn that renaming a file changing the extension will change its icon and make it open with a different app.

I still am convinced that in this case "sense" is lost, too: uac dialogs are there to augment security. renaming an app to setup.exe has nothing to do with security. uac dialogs should not be triggered. as easy as aristotle would have had it...</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462652</link><pubDate>Thu, 05 Oct 2006 20:54:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462652</guid><dc:creator>andy vt</dc:creator><description>The real benefit of UAC is that the user account is running as a user instead of an administrator, unless they opt-in to an escalated context. 

It is true that you cannot stop someone from destroying their PC if they really want to.  Installing a piece of software is always a risk, even from established vendors (never had an Office install go horribly awry?).  But UAC adds real value because it adds a tangible layer of protection when not installing software.

When the majority of applications that a user runs don't prompt them to authorize the application, they should realize there is a difference between normal applications and the one that's asking for permission and think twice about why the application is causing the computer to look funny.

I have issues with UAC, but I've learned to live with it for the most part.  It is annoying, but there are enormous benefits to not having admin rights all the time.  Trust me, it beats the snot out of running as a user in XP.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#462682</link><pubDate>Thu, 05 Oct 2006 22:18:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:462682</guid><dc:creator>kiwiblue</dc:creator><description>"But UAC adds real value because it adds a tangible layer of protection when not installing software."

As you can see above, it's trivial to make UAC think you're installing something. 'setup' or 'update' in the filename is enough. Maybe there are some benefits of UAC, but malware will easily work around its "protection".



</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#463187</link><pubDate>Fri, 06 Oct 2006 19:22:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:463187</guid><dc:creator>David Levine</dc:creator><description>The reason why it did not launch the app should be logged to the event log. It should not take a person of Mark's capbilities just to figure out why an application did not run. A failure like that should leave some breadcrumbs somewhere in the system to help diagnose the problem.

</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#463213</link><pubDate>Fri, 06 Oct 2006 20:28:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:463213</guid><dc:creator>kshipper</dc:creator><description>Another good one Mark! May I suggest you do the same investiagtion on Adobe Reader next time? Even the full version 7.0 seems to bring even the best PCs to it's knees. What is this program doing that causes the long delays?</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#466512</link><pubDate>Wed, 11 Oct 2006 03:32:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:466512</guid><dc:creator>b</dc:creator><description>Scotlandard: Those colors are from Windiff.</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#468125</link><pubDate>Fri, 13 Oct 2006 15:13:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:468125</guid><dc:creator>sandeep kumar</dc:creator><description>&lt;p&gt;Interesting!!! &amp;nbsp;I went one step ahead to find what is in an exe that lets UAC decide that this is setup or not and i could find this by opening the file I named notepad-setup.exe in notepad itself. &amp;nbsp;I noticed that it had something like &amp;quot;I n t e r n a l N a m e &amp;nbsp; N o t e p a d&amp;quot; in this file. Which when i replaced by &amp;quot;I n t e r n a l N a m e &amp;nbsp; S e t u p &amp;nbsp;&amp;quot; (Taking care of not removing white spaces, assuming they are mere white spaces) and saved this file.&lt;/p&gt;
&lt;p&gt;Next time running notepad-setup.exe i could see the Consent UI launching.&lt;/p&gt;
&lt;p&gt;Last thing i wanted to point here is a correction/addition to your article that when you copy .mui file to your profiles directory then you also need to change the name to notepad-setup.exe.mui to get things working.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#468153</link><pubDate>Fri, 13 Oct 2006 16:24:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:468153</guid><dc:creator>Ruy Lopez</dc:creator><description>&lt;p&gt;This is really an echoing of catfish's sentiments regarding &amp;quot;/Program Files.&amp;quot; Is there really a pressing need for every setup.exe to use this directory? And why isn't there, as catfish says, some userland version of &amp;quot;Program Files&amp;quot;, for applcations which, in their normal execution, don't require elevated privileges. I guess it redounds upon the developers to isolate aspects of their applications which require privileges - the execution of which would prompt a user for his admin password - from the run-of-the-mill processes that don't need elevation. Mark's investions, as always, are comprehensive. But I can't see my neice following the debugging output wheneven her ponys.exe doesn't work.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#475671</link><pubDate>Mon, 23 Oct 2006 02:12:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:475671</guid><dc:creator>Vince P</dc:creator><description>&lt;p&gt;It's funny reading the complaints about Notepad's original code not handling these errors gracefully or to some silly n'th degree.&lt;/p&gt;
&lt;p&gt;Did it occur to you people that Notepad was coded with some assumptions in mind so that the errors that Mark forced to happen probably didn't justify the cost involved in handling them.&lt;/p&gt;
&lt;p&gt;I'd love to see some of your code and then see how you live up to your own expectation of others.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#476944</link><pubDate>Mon, 23 Oct 2006 17:59:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:476944</guid><dc:creator>Henrik Brandbye</dc:creator><description>&lt;p&gt;Sandeep: &lt;/p&gt;
&lt;p&gt;When you made the change of &amp;nbsp;&amp;quot;I n t e r n a l N a m e &amp;nbsp; S e t u p &amp;nbsp;&amp;quot; in the file, you probably messed up the signing (hash value, or whatever), making the new .exe appear to NOT be an orriginal MS program (which it isn't anymore).&lt;/p&gt;
&lt;p&gt;That is why you saw the Consent UI.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#479420</link><pubDate>Wed, 25 Oct 2006 23:52:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:479420</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;Mark, this is a bit off topic, but I would be interested to see you blog about the controversy over &amp;quot;Patch-Guard&amp;quot; that has been publicized in the last month. &amp;nbsp;I'd like to see an unbiased opinion of whether patch-guard is something that will improve Window's security or whether it will cripple security solutions' ability to fight malware.&lt;/p&gt;
&lt;p&gt;Just a suggestion.&lt;/p&gt;
&lt;p&gt;~Aaron~&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#486175</link><pubDate>Mon, 30 Oct 2006 00:59:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:486175</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;Mike Dimmick:&lt;/p&gt;
&lt;p&gt;Try running diskpart.exe in command prompt and you will get a UAC prompt.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#488134</link><pubDate>Tue, 31 Oct 2006 09:02:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:488134</guid><dc:creator>Stanislav</dc:creator><description>&lt;p&gt;Mark - nice article! It is pitty you do not write more often. Does it mean, that now when in Microsoft, you see there are so many things to fix(?)...- and therefore do not have time for blogging?.&lt;/p&gt;
&lt;p&gt;Anyway, thanks for any upcomming articles! Stanislav&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#491667</link><pubDate>Thu, 02 Nov 2006 05:08:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:491667</guid><dc:creator>Cheong</dc:creator><description>&lt;p&gt;Preheps it'll be better if certain warning message will show up if ther mui file cannot be found.&lt;/p&gt;
&lt;p&gt;Or perheps if Windows treat it as the &amp;quot;.file&amp;quot; content folder when you save a webpage in IE with &amp;quot;Webpage, complete&amp;quot; option, that if you move it around, the folder will be moved too.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#509420</link><pubDate>Wed, 08 Nov 2006 19:52:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:509420</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;What I want to know, is whether regedit.exe still opens a UAC prompt.&lt;/p&gt;
&lt;p&gt;Under Vista beta 1 (i think) I was /unable/ to run regedit as a limited user.&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#513786</link><pubDate>Mon, 13 Nov 2006 01:55:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:513786</guid><dc:creator>Deimos</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;I just did realize that you have moved into Microsoft. &lt;/p&gt;
&lt;p&gt;First thought i had when I realized that it wasn't a mistake when i tried to reach your old site, was that you somehow had betrayed all of&lt;/p&gt;
&lt;p&gt;us, but now i'm considering the idea that this could bennefit all of us. For you i guess is a great oportunity, and for us because sure you will mark a difference inside there.&lt;/p&gt;
&lt;p&gt;I want to thank you for all the GREAT work you have bring to us, and i hope that with you inside microsof, it will finally become a OS, an OS that really works the way it should!&lt;/p&gt;
&lt;p&gt;Best regards and whishes,&lt;/p&gt;
&lt;p&gt;Deimos&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#537560</link><pubDate>Sat, 02 Dec 2006 00:37:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:537560</guid><dc:creator>moodjbow</dc:creator><description>&lt;p&gt;====================&lt;/p&gt;
&lt;p&gt;&amp;quot;that heuristic setup detection only applies to files that don’t have an embedded manifest that specifies a security TrustLevel. Notepad, like all the Windows executables in Windows Vista, does include a manifest.&amp;quot;&lt;/p&gt;
&lt;p&gt;So what would stop the bad guy to write the same manifest in a malicious software?&lt;/p&gt;</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#726732</link><pubDate>Thu, 05 Apr 2007 00:15:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:726732</guid><dc:creator>FalconZ</dc:creator><description>&lt;p&gt;I am surprised only one person has commented at all on NOTEPAD's inablity to find the mui file. I feel even though it's included with windows that it is quite surprising the assumsion was made to hardcode the relative folder path to the &amp;quot;.mui&amp;quot;. I can't say that I usually make additional copies of notepad.exe (although WinPE disk are a good example) but, why would there not be a check (say, a REG key) for the default MUI location? Then check the relative path, and maybe the folder the EXE started from. Last resort fall back on staticly linked strings table in the EXE. I know including the strings would impact filesize but, as large as things are these days, what's a few string's (could even be abbrievated since it's a fallback option). On the other hand MS has never cared about bloat have they? Regaurdless there should have at least been a 'MUI File not Found ERROR'.&lt;/p&gt;</description></item><item><title>Random irreverent thoughts about the Ultimate Fallback</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#1441278</link><pubDate>Thu, 05 Jul 2007 00:54:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1441278</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;p&gt;Last night on TBS was an old Friends episode, The One With the Ultimate Fighting Champion. In it, Pete&lt;/p&gt;
</description></item><item><title>re: The Case of the Notepad that Wouldn't Run</title><link>http://blogs.technet.com/markrussinovich/archive/2006/10/01/The-Case-of-the-Notepad-that-Wouldn_2700_t-Run.aspx#2852300</link><pubDate>Sat, 09 Feb 2008 03:09:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2852300</guid><dc:creator>Promo</dc:creator><description>&lt;p&gt;I've grown to loathe the UAC in Vista.&lt;/p&gt;
&lt;p&gt;Falconz, the default locations and overall folder structure changes in Vista I'll never understand.&lt;/p&gt;</description></item></channel></rss>