<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>win10digimon</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/xperfdigimon/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/feed.xml</link>
    <description>Windows, Windows 10, Win10, xperf, wpt, waas</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:48:25 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Always On VPN - Face to Face with Direct Access</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/always-on-vpn-face-to-face-with-direct-access</link>
      <pubDate>Mon, 02 Oct 2017 14:39:27 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=116</guid>
      <description><![CDATA[For ages that Direct Access was *the* Microsoft de facto solution for Enterprises to seamlessly...]]></description>
      <content:encoded><![CDATA[For ages that Direct Access was *the* Microsoft de facto solution for Enterprises to seamlessly connect remote devices into their corporate network.

But times changed (fast!) and we needed different, let's even say "better", solutions.

Let's enumerate a couple of points where DA was not so suitable.
<ol>
 	<li>It only worked with Windows devices (PC). We had to show some love for Windows 10 Mobile, right? :)</li>
 	<li>It was only for Domain Joined devices</li>
 	<li>Enterprise SKU only</li>
 	<li>Required a complex infrastructure</li>
 	<li>No Azure AD (DJ++) support!! Windows AutoPilot FTW!!!</li>
 	<li>etc.</li>
</ol>
More info regarding <a href="https://docs.microsoft.com/en-us/windows-server/remote/remote-access/vpn/vpn-map-da">Always ON VPN vs DA</a>.

So... are you looking for a new remote connectivity solution? Look no further!

Here's a fresh deployment guide for Always On VPN.
<p id="remote-access-always-on-vpn-deployment-guide-for-windows-server-2016-and-windows-10"><strong>Remote Access Always On VPN Deployment Guide for Windows Server 2016 and Windows 10</strong></p>
<a href="https://docs.microsoft.com/en-us/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/always-on-vpn-deploy">https://docs.microsoft.com/en-us/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/always-on-vpn-deploy</a>

There's also a Microsoft IT Showcase case study, if you want to have a look on how MSIT implemented  Always On VPN in Microsoft.

<strong>Enhancing remote access in Windows 10 with an automatic VPN profile</strong>

<a href="https://www.microsoft.com/itshowcase/Article/Content/894/Enhancing-remote-access-in-Windows-10-with-an-automatic-VPN-profile">https://www.microsoft.com/itshowcase/Article/Content/894/Enhancing-remote-access-in-Windows-10-with-an-automatic-VPN-profile</a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/10/remote.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/10/remote.png" alt="" width="1271" height="597" class="alignnone size-full wp-image-126" /></a>

Happy VPN'ing!!

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Happy Anniversary Windows 10!!</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/happy-anniversary-windows-10</link>
      <pubDate>Wed, 03 Aug 2016 00:08:23 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=105</guid>
      <description><![CDATA[So, here it is! Finally!

Windows 10 Anniversary Edition (1607), or as I prefer calling it,...]]></description>
      <content:encoded><![CDATA[So, here it is! Finally!

Windows 10 Anniversary Edition (1607), or as I prefer calling it, Redstone (1). And yes, we know, it was launched in August (month 08), but the build was closed in July, hence the 07 :)

And, you might be thinking... Why Redstone? Well, Redstone means (at least in my uneducated Minecraft experience) Power!

Power to change, power to transform, power to be creative and last but not least, power to "(...) <strong>empower every person and every organization on the planet to achieve more</strong>" (Satya copyright).

The changes in Redstone 1 are massive! Especially those that are not UI related. Security was once again a huge focus, and new features where introduced to revolutionize the World.

For example, <a href="https://blogs.technet.microsoft.com/windowsitpro/2016/06/29/introducing-windows-information-protection/">Windows Information Protection </a>and <a href="https://www.microsoft.com/en-us/WindowsForBusiness/windows-atp">Windows Defender Advanced Threat Protection</a>.

Naturally that previously existing security features where dramatically improved, so you can count on a more robust <a href="https://support.microsoft.com/en-us/help/17215/windows-10-what-is-hello">Windows Hello</a>, <a href="https://technet.microsoft.com/en-us/itpro/windows/whats-new/device-guard-overview">Device Guard</a>, <a href="https://technet.microsoft.com/en-us/itpro/windows/keep-secure/credential-guard">Credential Guard </a>and <a href="https://www.microsoft.com/en-us/download/details.aspx?id=53007">Windows Hello for Business </a>(former Microsoft Passport for Work).

On a productivity point of view, <a href="https://blogs.windows.com/windowsexperience/2016/04/22/a-closer-look-at-windows-ink/">Windows Ink </a>is one of my favorites. The improved Start Menu, Action Center and Cortana, the new Skype Preview and tons more, makes this release one of the most groundbreaking piece of software launched by the fearless Windows Devices Group (<a href="https://technet.microsoft.com/en-us/itpro/windows/whats-new/whats-new-windows-10-version-1607">What's New in 1607</a>).

Head out to <a href="https://blogs.windows.com/windowsexperience/2016/08/02/how-to-get-the-windows-10-anniversary-update/">https://blogs.windows.com/windowsexperience/2016/08/02/how-to-get-the-windows-10-anniversary-update/</a> and find more info on how to get the latest Windows version.

The ISO's are already available and can be downloaded via the Media Tool: <a href="https://www.microsoft.com/en-us/software-download/windows10">https://www.microsoft.com/en-us/software-download/windows10</a>.

You can also get Windows 10 1607 from other resources, like <a href="https://www.microsoft.com/licensing/servicecenter/default.aspx" target="_blank">Volume Licensing Service Center</a> (Enterprise), <a href="https://msdn.microsoft.com/" target="_blank">MSDN Portal</a> (Dev's), <a href="https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso" target="_blank"> Windows Insider site</a> (preview builds) and the <a href="https://www.microsoft.com/en-us/software-download/vlacademicwindows10" target="_blank">Download Academic Products page</a> (Education editions, product key required).

Don't forget to visit <a href="https://channel9.msdn.com/">Channel 9 MSDN</a> to grab more details on the mentioned features.

Congrats Windows 10!

And by the way, start your engines for Redstone 2 (be an <a href="https://insider.windows.com/">Insider</a>!)!!

See you around!

(here's some wicked Minecraft art especially crafted for this post :P)

<a href="https://msdnshared.blob.core.windows.net/media/2016/08/windows10_redstone_anniversary.png"><img width="580" height="620" class="alignnone size-full wp-image-115" alt="windows10_redstone_anniversary" src="https://msdnshared.blob.core.windows.net/media/2016/08/windows10_redstone_anniversary.png" /></a>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Ignite (Bis)</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/microsoft-ignite-bis</link>
      <pubDate>Tue, 02 Aug 2016 22:24:53 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=85</guid>
      <description><![CDATA[Last year I had the honor to participate in one of the biggest IT Pro events WW, Microsoft Ignite...]]></description>
      <content:encoded><![CDATA[Last year I had the honor to participate in one of the biggest IT Pro events WW, Microsoft Ignite (Chicago).

If you haven't had a chance to watch some cools sessions, check out the sessions where I participated last year:

<strong>Single Sign On (SSO) with BitLocker and Common Myths about Pre-Boot Authentication Attacks</strong>

<a href="https://channel9.msdn.com/Events/Ignite/2015/BRK2345">https://channel9.msdn.com/Events/Ignite/2015/BRK2345</a>

<strong>Scratching the Surface: Lessons from Support</strong>

<a href="https://channel9.msdn.com/Events/Ignite/2015/BRK4300">https://channel9.msdn.com/Events/Ignite/2015/BRK4300</a>

And guess what?! :) I'll be there once again this year! So, let's meet in Atlanta!

I should be around the Surface + Windows booth in the Expo area. Have questions? Want to hang around with geeks? Then don't hesitate to pass by!

&nbsp;

See you around!]]></content:encoded>
    </item>
    <item>
      <title>It all ended at 11:59 PM, in Hawaii...</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/it-all-ended-at-1159-pm-in-hawaii</link>
      <pubDate>Sat, 30 Jul 2016 17:52:45 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=75</guid>
      <description><![CDATA[Yep! 1 year already! Time flies when you're having fun:)

The free upgrade offer for Windows 10...]]></description>
      <content:encoded><![CDATA[Yep! 1 year already! Time flies when you're having fun:)

The free upgrade offer for Windows 10 ended yesterday at 11:59 PM, UTC -10 (Hawaii).

1 year later, and with more than 350 million machines installed, it surely was a nice ride. But it's only the beginning!

Enterprises that have SA (Software Assurance), will always be able to upgrade to Windows 10, following always the innovations that Microsoft is making available.

Alternatively, it's either via the Volume Licensing program or when buying new hardware from your favorite OEM.

For home users, head out to your favorite retail store, buy it online via <a href="https://www.microsoftstore.com/store/msusa/en_US/cat/Windows/categoryID.70036700of">Microsoft Online Store</a> or if you have Windows 8.1 you can purchase the upgrade in Windows Store.

See you around!]]></content:encoded>
    </item>
    <item>
      <title>SCM 4.0 in the house!</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/scm-4-0-in-the-house</link>
      <pubDate>Sat, 30 Jul 2016 17:11:23 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=65</guid>
      <description><![CDATA[Compliance and IT... Lack of compliance is like not having butter to pour on your morning toast.......]]></description>
      <content:encoded><![CDATA[Compliance and IT... Lack of compliance is like not having butter to pour on your morning toast.... Well... not so drastic, but very close ;)

For ages that Microsoft, together with a bunch of specialists, have produced a list of industry best practices for products like Windows, Exchange, SQL, etc.

This week, we witnessed the birth of Security Compliance Manager 4.0! (queue heavenly music here)

Besides being free, it's awesomely cool since it allows you to save a ton of work when creating new policies, or simply managing, customizing or analyzing already existing ones. And don't forget those DCM (Desired Configuration Management, aka Compliance Settings Manager) packs that you can use with System Center Configuration Manager.

It even sports the new recommendations for Windows Server 2016, which should be among us pretty soon! As of now, <a href="https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview">TP5</a> is the latest preview build if you want to test it.

You can get SCM 4.0 from here: <a href="http://go.microsoft.com/fwlink/?LinkId=823534">http://go.microsoft.com/fwlink/?LinkId=823534</a>

Here's a bit of guidance regarding security baselines.

<strong>Windows security baselines</strong>

<a href="https://technet.microsoft.com/en-us/itpro/windows/keep-secure/windows-security-baselines">https://technet.microsoft.com/en-us/itpro/windows/keep-secure/windows-security-baselines</a>

And don't forget to follow the Microsoft Security Guide blog!

<a href="https://blogs.technet.microsoft.com/secguide/">https://blogs.technet.microsoft.com/secguide/</a>

See you around!]]></content:encoded>
    </item>
    <item>
      <title>cowsay "Hello World!"</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/cowsay-hello-world</link>
      <pubDate>Sat, 30 Jul 2016 16:36:41 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/?p=36</guid>
      <description><![CDATA[cowsay "Hello World!" :)



How cool is that?!? It clearly brings back memories. Not that I...]]></description>
      <content:encoded><![CDATA[cowsay "Hello World!" :)

<a href="https://msdnshared.blob.core.windows.net/media/2016/07/cowsay.png"><img width="454" height="233" class="alignnone size-full wp-image-55" alt="cowsay" src="https://msdnshared.blob.core.windows.net/media/2016/07/cowsay.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/2016/07/cowsay.png"></a>

How cool is that?!? It clearly brings back memories. Not that I haven't been in touch with Linux for the past 5 years, but I do remember clearly all the VM's and emulators, ala Cygwin, that I used to run in Windows.

It's truly awesome to run bash and everything that it implies, natively in Windows 10 :D Personally, things like SSH are mandatory to have, so being able to run out-of-the-box that, it's like Xmas in Summer. Well, not really but you get the picture ;)

Check it out! It's easy to enable and enjoy, and although naturally there's still a lot to walk, it's clearly an awesome start.

There's a ton of nice technical articles, how to and videos out there, so I won't reinvent the wheel. Go, search and have fun!

Here's a few of my recommendations to you:

<strong>Windows Subsystem for Linux: Architectural Overview</strong>

<a href="https://channel9.msdn.com/Blogs/Seth-Juarez/Windows-Subsystem-for-Linux-Architectural-Overview">https://channel9.msdn.com/Blogs/Seth-Juarez/Windows-Subsystem-for-Linux-Architectural-Overview</a>

<strong>Windows Subsystem for Linux Overview</strong>

<a href="https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/">https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/</a>

<strong>The Performance Of Ubuntu Software Running On Windows 10 With The New Linux Subsystem</strong>

<a href="http://www.phoronix.com/scan.php?page=article&amp;item=windows-10-lxcore&amp;num=6">http://www.phoronix.com/scan.php?page=article&amp;item=windows-10-lxcore&amp;num=6</a>

See you around!

sudo kill -SIGKILL me]]></content:encoded>
    </item>
    <item>
      <title>The 5 million microsecond question</title>
      <link>https://docs.microsoft.com/archive/blogs/xperfdigimon/the-5-million-microsecond-question</link>
      <pubDate>Thu, 25 Apr 2013 17:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Antonio Vasconcelos [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/xperfdigimon/2013/04/25/the-5-million-microsecond-question/</guid>
      <description><![CDATA[Recently I was helping a costumer analyzing their Windows image and the OS performance, in...]]></description>
      <content:encoded><![CDATA[<span style="font-family: verdana,geneva">Recently I was helping a costumer analyzing their Windows image and the OS performance, in particular the boot times.</span>

<span style="font-family: verdana,geneva">And for this customer 1<sup><span style="font-size: x-small">st</span></sup> logon was a big priority, since it was taking around +200 seconds. At least they wanted to understand what was going on, even that we would or would not be able to optimize it.</span>

<span style="font-family: verdana,geneva">Here’s a bit of info before we start:</span>
<ul>
 	<li><span style="font-family: verdana,geneva">Corei5 + 8GB RAM machine</span></li>
 	<li><span style="font-family: verdana,geneva">Win7 + SP1 + latest windows updates installed</span></li>
 	<li><span style="font-family: verdana,geneva">They were <strong>not</strong> using Roaming Profiles</span></li>
 	<li><span style="font-family: verdana,geneva">They were using Folder Redirection, but to a local partition, instead of going to a remote server</span></li>
 	<li><span style="font-family: verdana,geneva">Some GPOs/GPPs, but nothing too much complex like WMI/Item Level Targeting</span></li>
 	<li><span style="font-family: verdana,geneva">The +200 seconds could be reproduced either by Wi-Fi or LAN </span></li>
</ul>
<span style="font-family: verdana,geneva">Called in the “big guns”, aka Windows Performance Toolkit (WPT), version 5, and took a boot trace for a 1<sup><span style="font-size: x-small">st</span></sup> logon. Now, there’s already a lot of info about WPT, xperf, wpa and xbootmgr around the web and therefore no need to explain it here.</span>

<span style="font-family: verdana,geneva">I usually like to start with a simpler trace just to make sure that the machine will not be affected for the amount of info being generated, like an “xbootmgr -trace boot -traceflags DiagEasy”. But in this case the computer had nice specs and it would easily be able to cope with more flags+stackwalk.</span>

<span style="font-family: verdana,geneva">So, I basically issued the following command:</span>

<span style="font-family: verdana,geneva">“xbootmgr -trace boot –traceflags base+latency+dispatcher -stackwalk profile+cswitch+processcreate+threadcreate+readythread”</span>

<span style="font-family: verdana,geneva">For stackwalk, don’t forget to disable paging executive (http://support.microsoft.com/kb/184419).</span>

<span style="font-family: verdana,geneva">Rebooted, logged in with a never logged on before user, and waited :)</span>

<span style="font-family: verdana,geneva">The result was this:</span>

<span style="font-family: verdana,geneva"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/2308.boot_phase.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/2308.boot_phase.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">Around 209 seconds to arrive at the desktop. The purple bar accounts for all the activity after the desktop is ready, which in the case was a bit extended, but nevertheless this was not the main issue.</span>

<span style="font-family: verdana,geneva">The issue, which is quite easy to spot, was the Winlogon phase, where we have Services, CAD (CTRL+ALT+DEL), GPO, etc. With WPA (Windows Performance Analyser), there’s a specific graphic for the Windows Logon along with his sub phases.</span>

<span style="font-family: verdana,geneva">Let’s take a peek:</span>

<span style="font-family: verdana,geneva"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/7360.winlogon.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/7360.winlogon.png" border="0" /></a></span>

&nbsp;

<span style="font-family: verdana,geneva">Hum… it seems that the wait was because of GPClient. Ok, there are several ways to troubleshoot group policies, but with an xbootmgr trace, by default, we have group policy events logged.</span>

<span style="font-family: verdana,geneva">Going to Generic Events, table mode, filtering for Windows Logon and Group Policy providers, and moving the column time to the left side (grouping by time that is), we arrived to this view:</span>

<span style="font-family: verdana,geneva"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/8712.generic%20events.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/8712.generic%20events.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">Now let’s <em>hunt</em> our waits! Or by other words, make use of your mouse scroll and search for big intervals of time.</span>

<span style="font-family: verdana,geneva">The first one to stand out is this:</span>

<span style="font-family: verdana,geneva"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4428.stands_out.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4428.stands_out.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">This is what happens when our fingers don’t collaborate and we mistype our password :D</span>

<span style="font-family: verdana,geneva">Moving on, we’ve stumbled into a 37 sec gap, just after Folder Redirection started.</span>

<span style="font-family: verdana,geneva"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4024.37_gap.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4024.37_gap.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">Filtering by the start and stop event for Folder Redirection, it looks like that we spent 113 seconds processing that specific CSE (Client Side Extension).</span>

<span style="font-family: verdana,geneva"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4617.cse.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/4617.cse.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">Let’s do a short cut.</span>

<span style="font-family: verdana,geneva">I can tell you that there was no resource contention (CPU, Disk, Memory), or network issues. We also did some network packet traces with netsh and reviewed them with Netmon, but nothing was wrong.</span>

<span style="font-family: verdana,geneva">Since we activated stackwalk on this trace, I decided to start analyzing the process and thread responsible for the Folder Redirection CSE. </span>

<span style="font-family: verdana,geneva">After going to “CPU Usage (Precise)”, basically CPU usage based on context switch, and arranging a little bit the columns and walking the stack, here’s the result.</span>

<span style="font-family: verdana,geneva">At this image it’s possible to see the start of GPO processing, moving on to Folder Redirection CSE (fdeploy.dll) and then calling in “SHELL32.DLL”, the shell, which will be responsible to create the new directories.</span>

<span style="font-family: verdana,geneva"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/2474.stackwalk.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/2474.stackwalk.png" border="0" /></a></span>

<span style="font-family: verdana,geneva">It seems that we have 11 times * 5 second wait, making a total of 55 second doing nothing… since the readying process was “Idle (0)”.</span>

<span style="font-family: verdana,geneva">We have 11 waits, which by coincidence are exactly the same number of folders that are being redirected. So, I would say that just before performing the redirection of each folder, there’s a 5 second wait… But for what?!?</span>

&nbsp;

<span style="font-family: verdana,geneva">Took another trace, again reproducing a first logon, and added new flags in order to obtain more details, and therefore a possible insight.</span>

<span style="font-family: verdana,geneva">“xbootmgr -trace boot –traceflags base+latency+dispatcher+<strong>registry+file_io+file_io_init</strong> -stackwalk profile+cswitch+processcreate+threadcreate+readythread” </span>

<span style="font-family: verdana,geneva">Re-did all the same steps has before, and used one of the eleven 5 second interval. In this new trace, the responsible process was “svchost.exe (924)”, along with thread 1896.</span>

<span style="font-family: verdana,geneva">Adding to the same analysis view file+registry information and making use of WPA synchronized selection (basically highlights events in different graphics/tables when you select a particular interval/event in time), gave me this vision:</span>

<span style="font-family: verdana,geneva"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/0407.time_5_seconds.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/0407.time_5_seconds.png" border="0" /></a></span>

<span style="font-family: verdana,geneva"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5383.file_creaet.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5383.file_creaet.png" border="0" />´</a></span>

<span style="font-family: verdana,geneva"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/1031.query_not_found.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/1031.query_not_found.png" border="0" /></a></span>

&nbsp;

<span style="font-family: verdana,geneva">During the creation of the new folder, where the redirection will be done to, there’s some registry keys that have “STATUS_OBJECT_NAME_NOT_FOUND”.</span>

<span style="font-family: verdana,geneva">Might be worth it to search in there :)</span>

<span style="font-family: verdana,geneva">A little bit of search magic (searching by “redirection” for example) returned a registry key “FolderRedirectionWait”.</span>

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5518.winner2.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5518.winner2.png" border="0" /></a>

<span style="font-family: verdana,geneva">We have a winner!!! Now it was just a question of digging on the Web to understand why this key was called and doesn’t exist by default.</span>

<span style="font-family: verdana,geneva">From <a href="http://social.technet.microsoft.com/Forums/pt-BR/w7itproperf/thread/dc3b77da-7fe4-4b09-bf95-aabcce4b7000"><span style="color: #0563c1">http://social.technet.microsoft.com/Forums/pt-BR/w7itproperf/thread/dc3b77da-7fe4-4b09-bf95-aabcce4b7000</span></a>:</span>

<span style="font-family: verdana,geneva">“The 5 seconds delay is due to the NTFS quota.</span>

<span style="font-family: verdana,geneva">If the server has per-directory auto quota enabled, it might take them a while to apply to the folder we just created. So, if we are query quota too early, we might get the wrong number. It is very hard from client side to know the auto quota applied on the server. So let's just wait a little bit here.”</span>

<span style="font-family: verdana,geneva;font-size: small">There we have it! The delay is by design in order to check for NTFS quotas on the server side. Only when the option “Move contents…” in the Folder Redirection policy is enabled.</span>

<span style="font-family: verdana,geneva;font-size: small">In this specific scenario, the redirection was being done to the same disk but a different partition, with no NTFS quotas. Which means that we can skip this 5 second interval by creating the registry key and set the value to 0 (millisecond).</span>

<span style="font-size: small"> Here's the final result after adding the key and redoing the 1st logon:</span>

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5773.final_time.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/22/5773.final_time.png" border="0" /></a>

<span style="font-family: verdana,geneva"> </span>]]></content:encoded>
    </item>
  </channel>
</rss>