<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx</link><description>It may speed up the logon process.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109037</link><pubDate>Mon, 20 Nov 2006 18:09:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109037</guid><dc:creator>Cody</dc:creator><description>&lt;p&gt;Any info on how this got diagnosed in the first place?&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109154</link><pubDate>Mon, 20 Nov 2006 18:49:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109154</guid><dc:creator>Troy</dc:creator><description>
&lt;p&gt;Has anyone submitted a bug report?&lt;/p&gt;

&lt;p&gt;I know that when these sort of things happen to me, I always find myself shaking my fist and thinking "doesn't anyone at Microsoft notice these problems!". Looks like it does but that doesn't always help :)&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;My guess is that it's a feature, not a bug. If you have a smart card inserted, then it joins the "search path" for authentication. After all, if you put your floppy drive in the PATH, you shouldn't be surprised that path searches are slow. -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109255</link><pubDate>Mon, 20 Nov 2006 19:18:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109255</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Is this for all (NT4/5/.x+?) operating systems, or is it some Vista specific screwup (I did btw have a chance to try Vista RTM now, and my first and probably lasting impression is that Microsoft is its own worst enemy; given a chance I want back the NT4/Win95 Explorer.exe - seriously!).&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109281</link><pubDate>Mon, 20 Nov 2006 19:26:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109281</guid><dc:creator>Nawak</dc:creator><description>&lt;p&gt;Of course, the only good solution is to not work from home!! Often you have better keep work and personal lives separated.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109693</link><pubDate>Mon, 20 Nov 2006 20:04:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109693</guid><dc:creator>mathh</dc:creator><description>
&lt;p&gt;Well, it certainly should be a bug if the floppy drive was in the PATH by default.&lt;/p&gt;

&lt;p&gt;What is the alternative authentication mechanism the rest of the validation uses? &lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;You know, NTLM, Kerberos, all the other security packages. If the smart card were not in the search path of authentication providers, then how could you log on with a smart card? -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109777</link><pubDate>Mon, 20 Nov 2006 20:12:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109777</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Wow... You found a behaviour that is know since years now. But it seems that MS was not interested in fixing this. Maybe now we get a solution. Btw. i develop applications that take massive usage of smartcard and pki. It&amp;#180;s really nice if you have inserted round about 200 cards allready, and all the public certificates are stored in your crypto container. When enumerating the store for a sign certificate it checks all those 200 certificates if the card where the private key is stored may be available... Thsi takes normaly between 5-10 seconds per certificate&lt;/p&gt;
</description></item><item><title>Remote working</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109782</link><pubDate>Mon, 20 Nov 2006 20:14:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109782</guid><dc:creator>Steve Loughran</dc:creator><description>&lt;p&gt;First, the MS VPN software is way better than the nortel stuff I used before, smartcard or not. Second, yes, there is wierdness with Smartcards and the OS itself. Like if you boot with one, it brings up a different login dialog from normal.&lt;/p&gt;
&lt;p&gt;What is most annoying for me is that Domain authentication at login time happens before you are on the network, so you can't easily renew your domain password *and have the laptop update its cached value*. There's an assumption in the domain code that you bring your machine back in to the office regularly. Which means that a domained VMWare image at home every so often has to traipse into work on the hard disk of a laptop, then back again. &lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1109914</link><pubDate>Mon, 20 Nov 2006 20:40:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1109914</guid><dc:creator>Kevin</dc:creator><description>
&lt;p&gt;As the slowest authentication provider, the smart card should be at the END of the search path, then this workaround wouldn't be necessary.&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;I don't know whether there's a way to ask a provider how fast it is, and the speed of a provider is often quite variable. NTLM is really slow if the domain controller is unavailable. (The timeout is what, 30 seconds?) -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1110549</link><pubDate>Mon, 20 Nov 2006 22:38:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1110549</guid><dc:creator>Cooney</dc:creator><description>&lt;p&gt;&amp;gt; After all, if you put your floppy drive in the PATH, you shouldn't be surprised that path searches are slow. -Raymond&lt;/p&gt;
&lt;p&gt;I'd be surprised - you can cache filesystem metadata and flush it when the disk is removed. Not so with smartcards.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1110918</link><pubDate>Tue, 21 Nov 2006 00:23:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1110918</guid><dc:creator>wireless floppy</dc:creator><description>&lt;p&gt;How do you flush a unwritten data to an already ejected floppy?&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1110963</link><pubDate>Tue, 21 Nov 2006 00:36:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1110963</guid><dc:creator>James</dc:creator><description>&lt;p&gt;wireless floppy: Write-through caching - cache the stuff you *read*, keeping that in memory to speed up those PATH searches, but write everything out straight away (so you never lose data that way).&lt;/p&gt;
&lt;p&gt;Or you start throwing 'delayed write failed ... data lost' errors during backups, even when write caching is disabled. That made for a fun weekend, trying to get backups working properly again on that server :-(&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1111498</link><pubDate>Tue, 21 Nov 2006 02:23:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1111498</guid><dc:creator>Richard Berg</dc:creator><description>&lt;p&gt;Even with this trick, the quarantine process still took 5+ minutes on my machine. &amp;nbsp;Thank god for the TS gateway!&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1111712</link><pubDate>Tue, 21 Nov 2006 02:58:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1111712</guid><dc:creator>John</dc:creator><description>&lt;p&gt;(Disclaimer: I'm not a windows user and don't know this subsystem)&lt;/p&gt;
&lt;p&gt;What about parallelizing authentication? If search order doesn't matter this could be a huge win. If search order does matter then this could still be a win, albeit a smaller one. This sounds especially apropos here where it sounds like the smart card is a local resource so you don't have to worry about overtaxing it with requests.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1112253</link><pubDate>Tue, 21 Nov 2006 04:31:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1112253</guid><dc:creator>Cooney</dc:creator><description>&lt;p&gt;How about caching NAKs? Assuming you're validating distinguishable entities, you can short circuit a failure for a while (say, about 5-10 minutes)&lt;/p&gt;
</description></item><item><title>re: Remote working</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1112814</link><pubDate>Tue, 21 Nov 2006 06:54:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1112814</guid><dc:creator>David Rawling</dc:creator><description>&lt;p&gt;Steve Loughran wrote, &amp;quot;What is most annoying for me is that Domain authentication at login time happens before you are on the network, so you can't easily renew your domain password *and have the laptop update its cached value*. There's an assumption in the domain code that you bring your machine back in to the office regularly. Which means that a domained VMWare image at home every so often has to traipse into work on the hard disk of a laptop, then back again.&amp;quot;&lt;/p&gt;
&lt;p&gt;I'd like to point out that once you change your password on XP on MachineA, MachineB (logged in with the same username and old password) can be updated by locking and unlocking the workstation (assuming a DC is available either on the LAN, on a VPN connection or on a dialup connection.&lt;/p&gt;
&lt;p&gt;You could therefore just VPN in from the VM, lock it and unlock it - cached credential update now complete.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1115669</link><pubDate>Tue, 21 Nov 2006 17:47:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1115669</guid><dc:creator>Neil</dc:creator><description>&lt;p&gt;&amp;gt;You could therefore just VPN in from the VM, lock it and unlock it - cached credential update now complete.&lt;/p&gt;
&lt;p&gt;Or more simply, establish the VPN during logon.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1120590</link><pubDate>Wed, 22 Nov 2006 09:29:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1120590</guid><dc:creator>Zilley</dc:creator><description>&lt;p&gt;Just forget about the crappy VPN. The TS Gateway works much better for me (and it's really all I need) - &lt;a rel="nofollow" target="_new" href="https://redmondts.microsoft.com"&gt;https://redmondts.microsoft.com&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1121589</link><pubDate>Wed, 22 Nov 2006 12:21:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1121589</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;You could therefore just VPN in from the VM, lock it and unlock it - cached credential update now complete.&lt;/p&gt;
&lt;p&gt;&amp;gt;Or more simply, establish the VPN during logon.&lt;/p&gt;
&lt;p&gt;Not much use if you're not connected to a network yet.&lt;/p&gt;
&lt;p&gt;I'm doing a lot of travelling between different companies/sites at the moment and pretty much everywhere has an &amp;quot;internet-only&amp;quot; wireless LAN setup that non-employees can use to connect back-to-base when they're working with the company. So I need to boot up the laptop, login using cached credentials, find the right WLAN, do the WEP/WPA dance, login to VPN, and then finally I'm on the domain. Logging straight into VPN from the Windows login is fairly impractical (apart from the fact that I generally hibernate the laptop over night, and it's normally only rebooted once a month after patch Tuesday).&lt;/p&gt;
&lt;p&gt;The lock workstation and unlock with your new password trick works perfectly, and only takes a few seconds once a month.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1122436</link><pubDate>Wed, 22 Nov 2006 16:56:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1122436</guid><dc:creator>e.thermal</dc:creator><description>&lt;p&gt;I ran into a problem here where one of our Japanese executives (at a Canadian company) would log into a TS session with a server in Japan. &amp;nbsp;It would just sit a blue screen and would never bring up the login screen. &amp;nbsp;All the other executives could get in just fine except this one. I got loucky I just went down the list of services running and for some strange reason Smard Card service was running and it stood out in my mind. &amp;nbsp;I killed it then re-launched the TS connection and instantly the login screen came up. &amp;nbsp;It appears that just having the service running will cause other connections to slow down as well. &lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1123456</link><pubDate>Wed, 22 Nov 2006 22:27:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1123456</guid><dc:creator>RandomMicrosoftie</dc:creator><description>&lt;p&gt;If the smart card is left in, how long should it typically take to authenticate? &amp;nbsp;I find I can remove the smart card after as little as two seconds and it will complete the authentication, but if I leave the smart card in I have never had the authentication complete, even after letting it go for as long as ten minutes. &amp;nbsp;It seems like the smart card driver is holding onto some sort of lock which stops the connection manager from doing anything, which makes it piss-poor software.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1126989</link><pubDate>Thu, 23 Nov 2006 11:35:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1126989</guid><dc:creator>Ryan</dc:creator><description>&lt;p&gt;&amp;lt;i&amp;gt;I find I can remove the smart card after as little as two seconds and it will complete the authentication, but if I leave the smart card in I have never had the authentication complete, even after letting it go for as long as ten minutes.&amp;lt;/i&amp;gt;&lt;/p&gt;
&lt;p&gt;Let me guess, you're connecting from a machine with &amp;gt; 1 netowrk connection. Disable the interface you're not using.&lt;/p&gt;
</description></item><item><title>re: Paradoxically, you should remove the smart card when logging on with a smart card</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#1134966</link><pubDate>Fri, 24 Nov 2006 05:37:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1134966</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Raymond&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;If the smart card were not in the search path of authentication providers, then how could you log on with a smart card?&amp;quot;&lt;/p&gt;
&lt;p&gt;Ah, but why it has to be in the path after login?&lt;/p&gt;
&lt;p&gt;Why an application can't chose to ignore slow authentication devices?&lt;/p&gt;
&lt;p&gt;Why all this is not user-configurable?&lt;/p&gt;
</description></item><item><title>Disable your wireless network card to speed up VPN'ing</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/11/20/1109013.aspx#9000637</link><pubDate>Wed, 15 Oct 2008 17:21:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9000637</guid><dc:creator>The Old New Thing</dc:creator><description>&lt;p&gt;So the VPN software won't try to mess with it.&lt;/p&gt;
</description></item></channel></rss>