<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>My Fried Tech! - Windows 7</title>
    <link>http://www.myfriedmind.com/techBlog/</link>
    <description>oddities from my work</description>
    <language>en-us</language>
    <copyright>Matt Mcknight</copyright>
    <lastBuildDate>Fri, 28 May 2010 19:35:48 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>matt@em.org</managingEditor>
    <webMaster>matt@em.org</webMaster>
    <item>
      <trackback:ping>http://www.myfriedmind.com/techBlog/Trackback.aspx?guid=67b87879-2bef-4088-87be-9f033b3448ac</trackback:ping>
      <pingback:server>http://www.myfriedmind.com/techBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.myfriedmind.com/techBlog/PermaLink,guid,67b87879-2bef-4088-87be-9f033b3448ac.aspx</pingback:target>
      <dc:creator>papabear</dc:creator>
      <wfw:comment>http://www.myfriedmind.com/techBlog/CommentView,guid,67b87879-2bef-4088-87be-9f033b3448ac.aspx</wfw:comment>
      <wfw:commentRss>http://www.myfriedmind.com/techBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=67b87879-2bef-4088-87be-9f033b3448ac</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Updating a program of mine I noted that when I called the PrintDialog and passed it
my PrintDocument (or variant thereof), I did not get any said PrintDialog.
</p>
        <p>
Long story short - you just set the UseEXDialog to true:
</p>
        <p>
PrintDialog _printDialog = new PrintDialog();<br />
_printDialog.UseEXDialog = true;
</p>
        <p>
See <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx">http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx</a> for
more info<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=67b87879-2bef-4088-87be-9f033b3448ac" />
      </body>
      <title>PrintDialog not working on Windows 7</title>
      <guid isPermaLink="false">http://www.myfriedmind.com/techBlog/PermaLink,guid,67b87879-2bef-4088-87be-9f033b3448ac.aspx</guid>
      <link>http://www.myfriedmind.com/techBlog/2010/05/28/PrintDialogNotWorkingOnWindows7.aspx</link>
      <pubDate>Fri, 28 May 2010 19:35:48 GMT</pubDate>
      <description>&lt;p&gt;
Updating a program of mine I noted that when I called the PrintDialog and passed it
my PrintDocument (or variant thereof), I did not get any said PrintDialog.
&lt;/p&gt;
&lt;p&gt;
Long story short - you just set the UseEXDialog to true:
&lt;/p&gt;
&lt;p&gt;
PrintDialog _printDialog = new PrintDialog();&lt;br&gt;
_printDialog.UseEXDialog = true;
&lt;/p&gt;
&lt;p&gt;
See &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx&lt;/a&gt; for
more info&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=67b87879-2bef-4088-87be-9f033b3448ac" /&gt;</description>
      <comments>http://www.myfriedmind.com/techBlog/CommentView,guid,67b87879-2bef-4088-87be-9f033b3448ac.aspx</comments>
      <category>c#</category>
      <category>Coding Tricks</category>
      <category>Windows 7</category>
    </item>
    <item>
      <trackback:ping>http://www.myfriedmind.com/techBlog/Trackback.aspx?guid=2f3013ae-7be2-4245-8604-fe4cdb4b5d6d</trackback:ping>
      <pingback:server>http://www.myfriedmind.com/techBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.myfriedmind.com/techBlog/PermaLink,guid,2f3013ae-7be2-4245-8604-fe4cdb4b5d6d.aspx</pingback:target>
      <dc:creator>papabear</dc:creator>
      <wfw:comment>http://www.myfriedmind.com/techBlog/CommentView,guid,2f3013ae-7be2-4245-8604-fe4cdb4b5d6d.aspx</wfw:comment>
      <wfw:commentRss>http://www.myfriedmind.com/techBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=2f3013ae-7be2-4245-8604-fe4cdb4b5d6d</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
While trying to map a drive to an older server in w07 it informed me that the network
password was wrong, even though I KNEW it was correct.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07netError.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
After a lot of hunt and peck I came across the issue - basically by default it refuses
to transmit the login except in the highest format (NTLM v2). Which makes sense, and
is undoubtedly documented somewhere. EXCEPT IN THE ERROR THAT IS RETURNED! I mean
it might at least give a hint rather than just rejecting the password.
</p>
        <p>
Solution (demonstrated just on a local box but this can also be done via a domain
Group Policy): go into your Local Security Policy.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07MapDriveLSPLink.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Go into Security Settings/Local Policies/Security Options and go down to "Network
Security: Lan Manager authentication level"<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07lspscreen.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Set it to "Send LM &amp; NTLM - use NTLMv2 session security if negotiated". This will
give you backward compatibility.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07NetFix.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Of course, the real solution is to move everything to NTLMv2...
</p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=2f3013ae-7be2-4245-8604-fe4cdb4b5d6d" />
      </body>
      <title>Unable to map drive in Windows 7</title>
      <guid isPermaLink="false">http://www.myfriedmind.com/techBlog/PermaLink,guid,2f3013ae-7be2-4245-8604-fe4cdb4b5d6d.aspx</guid>
      <link>http://www.myfriedmind.com/techBlog/2010/05/03/UnableToMapDriveInWindows7.aspx</link>
      <pubDate>Mon, 03 May 2010 17:59:54 GMT</pubDate>
      <description>&lt;p&gt;
While trying to map a drive to an older server in w07 it informed me that the network
password was wrong, even though I KNEW it was correct.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.myfriedmind.com/techBlog/content/binary/w07netError.jpg" style="margin-left: 20px;" border="0"&gt;
&lt;/p&gt;
&lt;p&gt;
After a lot of hunt and peck I came across the issue - basically by default it refuses
to transmit the login except in the highest format (NTLM v2). Which makes sense, and
is undoubtedly documented somewhere. EXCEPT IN THE ERROR THAT IS RETURNED! I mean
it might at least give a hint rather than just rejecting the password.
&lt;/p&gt;
&lt;p&gt;
Solution (demonstrated just on a local box but this can also be done via a domain
Group Policy): go into your Local Security Policy.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.myfriedmind.com/techBlog/content/binary/w07MapDriveLSPLink.jpg" style="margin-left: 20px;" border="0"&gt;
&lt;/p&gt;
&lt;p&gt;
Go into Security Settings/Local Policies/Security Options and go down to "Network
Security: Lan Manager authentication level"&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.myfriedmind.com/techBlog/content/binary/w07lspscreen.jpg" style="margin-left: 20px;" border="0"&gt;
&lt;/p&gt;
&lt;p&gt;
Set it to "Send LM &amp;amp; NTLM - use NTLMv2 session security if negotiated". This will
give you backward compatibility.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.myfriedmind.com/techBlog/content/binary/w07NetFix.jpg" style="margin-left: 20px;" border="0"&gt;
&lt;/p&gt;
&lt;p&gt;
Of course, the real solution is to move everything to NTLMv2...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=2f3013ae-7be2-4245-8604-fe4cdb4b5d6d" /&gt;</description>
      <comments>http://www.myfriedmind.com/techBlog/CommentView,guid,2f3013ae-7be2-4245-8604-fe4cdb4b5d6d.aspx</comments>
      <category>Windows 7</category>
    </item>
    <item>
      <trackback:ping>http://www.myfriedmind.com/techBlog/Trackback.aspx?guid=2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa</trackback:ping>
      <pingback:server>http://www.myfriedmind.com/techBlog/pingback.aspx</pingback:server>
      <pingback:target>http://www.myfriedmind.com/techBlog/PermaLink,guid,2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa.aspx</pingback:target>
      <dc:creator>papabear</dc:creator>
      <wfw:comment>http://www.myfriedmind.com/techBlog/CommentView,guid,2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa.aspx</wfw:comment>
      <wfw:commentRss>http://www.myfriedmind.com/techBlog/SyndicationService.asmx/GetEntryCommentsRss?guid=2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was pondering the <img src="http://www.myfriedmind.com/techBlog/content/binary/clippysucker.jpg" align="right" border="0" />UAC
(User Access Control) on Windows Server 2008 and Windows 7 (nobody talks about Vista
anymore) and it occurred to me that the experience of interacting with it reminded
me of another time. An annoying, apparently helpful attempt by Msoft that actually
prevents you from doing work (see <a href="http://www.myfriedmind.com/techBlog/2009/07/14/Windows2008AdministratorRemoteAccessVsWindows2003AdministratorRemoteAccess.aspx">here</a>).
Suddenly it struck me - the return of 'Clippy'!!!
</p>
        <p>
Now, first off, I can understand MSoft's implementing the UAC. After all, everyone
knows that MSoft is so full of holes that it should if it were a cheese it would be
swiss cheese. Everyone knows that, even if it is not necessarily true. So to convince
everyone that they were secure they had to prevent users (that would be us) from doing
stupid things. Like installing programs that should not be installed or changing setting
that would render their computer unbootable. Because, of course, if a user does those
things than the people REALLY at fault are not the users (heaven forfend) but MSoft!
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/eggwarninglabel.jpg" align="left" border="0" />To
quote on of my favorite sayings - "calling something foolproof fails to take into
account the ingenuity of fools."
</p>
        <p>
They have to do this because we are so stupid as a race that an entire industry has
sprung up to inform us of the obvious. Such as "do not put a gasoline can in a fire"
or "ax blades are sharp" or (as in this picture) "this egg product contains eggs".
</p>
        <p>
Still, there has to be <img src="http://www.myfriedmind.com/techBlog/content/binary/clippy1.jpg" align="right" border="0" />some
sort of happy medium. W08 only offers two options - on or off. W08R2 offers more (and
I will make some notes on that in another blog) but I fear that in general MSoft has
gone too far in the wrong direction. They are so concerned with protecting us that
they are annoying us. And if something becomes annoying we generally stop doing it.
</p>
        <p>
Goodbye Clippy. Goodbye UAC.
</p>
        <p>
Do I have a solution? Of course not. Except to suggest that the UAC could be tweaked
to be more specific. What I mean by that is simply that rather than trying to prevent
you from doing EVERYTHING, it should only prevent the main crucial things. Perhaps
it should not question you when you are installing programs but only when you are
not installing them from an executable from a DVD or from your local drive.
</p>
        <p>
Or perhaps the solution is that high-end users simply turn 'Clippy' off. He is annoying
and YES I DO KNOW WHAT I AM DOING AND I WANT TO DO THAT! 
</p>
        <p>
At least, most of the time...
</p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa" />
      </body>
      <title>UAC or the return of Clippy</title>
      <guid isPermaLink="false">http://www.myfriedmind.com/techBlog/PermaLink,guid,2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa.aspx</guid>
      <link>http://www.myfriedmind.com/techBlog/2009/09/29/UACOrTheReturnOfClippy.aspx</link>
      <pubDate>Tue, 29 Sep 2009 16:03:14 GMT</pubDate>
      <description>&lt;p&gt;
I was pondering the &lt;img src="http://www.myfriedmind.com/techBlog/content/binary/clippysucker.jpg" align=right border=0&gt;UAC
(User Access Control) on Windows Server 2008 and Windows 7 (nobody talks about Vista
anymore) and it occurred to me that the experience of interacting with it reminded
me of another time. An annoying, apparently helpful attempt by Msoft that actually
prevents you from doing work (see &lt;a href="http://www.myfriedmind.com/techBlog/2009/07/14/Windows2008AdministratorRemoteAccessVsWindows2003AdministratorRemoteAccess.aspx"&gt;here&lt;/a&gt;).
Suddenly it struck me - the return of 'Clippy'!!!
&lt;/p&gt;
&lt;p&gt;
Now, first off, I can understand MSoft's implementing the UAC. After all, everyone
knows that MSoft is so full of holes that it should if it were a cheese it would be
swiss cheese. Everyone knows that, even if it is not necessarily true. So to convince
everyone that they were secure they had to prevent users (that would be us) from doing
stupid things. Like installing programs that should not be installed or changing setting
that would render their computer unbootable. Because, of course, if a user does those
things than the people REALLY at fault are not the users (heaven forfend) but MSoft!
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.myfriedmind.com/techBlog/content/binary/eggwarninglabel.jpg" align=left border=0&gt;To
quote on of my favorite sayings - "calling something foolproof fails to take into
account the ingenuity of fools."
&lt;/p&gt;
&lt;p&gt;
They have to do this because we are so stupid as a race that an entire industry has
sprung up to inform us of the obvious. Such as "do not put a gasoline can in a fire"
or "ax blades are sharp" or (as in this picture) "this egg product contains eggs".
&lt;/p&gt;
&lt;p&gt;
Still, there has to be &lt;img src="http://www.myfriedmind.com/techBlog/content/binary/clippy1.jpg" align=right border=0&gt;some
sort of happy medium. W08 only offers two options - on or off. W08R2 offers more (and
I will make some notes on that in another blog) but I fear that in general MSoft has
gone too far in the wrong direction. They are so concerned with protecting us that
they are annoying us. And if something becomes annoying we generally stop doing it.
&lt;/p&gt;
&lt;p&gt;
Goodbye Clippy. Goodbye UAC.
&lt;/p&gt;
&lt;p&gt;
Do I have a solution? Of course not. Except to suggest that the UAC could be tweaked
to be more specific. What I mean by that is simply that rather than trying to prevent
you from doing EVERYTHING, it should only prevent the main crucial things. Perhaps
it should not question you when you are installing programs but only when you are
not installing them from an executable from a DVD or from your local drive.
&lt;/p&gt;
&lt;p&gt;
Or perhaps the solution is that high-end users simply turn 'Clippy' off. He is annoying
and YES I DO KNOW WHAT I AM DOING AND I WANT TO DO THAT! 
&lt;/p&gt;
&lt;p&gt;
At least, most of the time...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa" /&gt;</description>
      <comments>http://www.myfriedmind.com/techBlog/CommentView,guid,2a3df7cb-c14c-4be2-829c-81ddb4b0c9fa.aspx</comments>
      <category>Windows 2008</category>
      <category>Windows 7</category>
    </item>
  </channel>
</rss>