Windows 10 Optimization: Part 8 – The Results

Statistics are fun. It is amazing what interesting insights you can get from statistics. For example

  1. About 20% of workers would work harder if their employer offered a $1,000 shopping spree at the store of their choice – You hear that Citrix!
  2. About 20% of the people who watch the Super Bowl do so for football, the rest watch commercials
  3. About 20% of copy machine issues worldwide are caused by people sitting on them – That is awesome
  4. Over the past year, my blogs are 20% funnier

And my absolute favorite statistic is from Homer Simpson (who else):

  1. People can come up with statistics to prove anything Kent, forty percent of all people know that.

As you’ve seen, we’ve been creating a Windows 10 optimization guide. The Windows 10 optimization guide was focused on identifying, for VDI, as many of the extra components that would negatively impact server density, while focusing on balancing the user experience, as stated in the XenApp Best Practice: For the best combination of user experience and resource consumption, optimize appropriately.

Over the course of several blogs, we looked at optimizing the following items:

  1. Default apps
  2. Services
  3. Scheduled tasks
  4. User Interface
  5. Runtime
  6. Release
  7. ICA

Now the big question is

“What impact did these modifications have?”

First, it gave me something to blog about (This is a big deal. After 5+ years of blogging, I’m running out of ideas).

But most of you probably care about the second part… What was the impact on server density? And for this, my minions, I mean the Citrix Solutions Lab, took over. (We joke that the Citrix Solutions Lab should rename themselves to Feller’s Lab because it seems like they do a lot of testing for me – pity them).

For the series of tests, we had two different policies, one would simply turn on the Citrix “High Server Scalability” policy setting. This corresponded to Part 7 of the Windows 10 optimization blog.

The second policy we applied were all of the Windows 10 optimizations we discussed in Parts 1, 2, 3, 4, 5 and 6 of the Windows 10 optimization blog series.

Turning the Citrix Scalability policy on, gave us a 10% bump in user density.

Turning on the custom OS optimization policy gave us almost another 10% bump in density.

Turning both of these options on equaled roughly 20% more users on our physical host.

Definitely, not a bad start

Daniel ()
XenApp Best Practices
XenApp Videos


Windows 10 Optimization – Part 7: ICA

MowerWere you planning to buy that? Nope.

Of course, as you saw in my previous blog, my stupid lawn mower wheel snapped off with only 30 minutes left in the season! D’oh!

Figured I would just head to the local hardware store and buy a new one. Guess what? Hardware stores in Minnesota don’t sell lawn mowers in late October. I guess no one wants to mow snow, although it might look cool. I went home, got online and eventually ordered a new mower, which happened to be battery-powered. I still can’t believe I did it, but here is why:

Pros Cons
(Wonder when kids can start mowing)
Can’t mow all day on single charge
(I wouldn’t do this with gas anyways)
No more gas & oil messes Doesn’t look very manly
No more winterizing mower Doesn’t look very manly
(No more ear protection)
Doesn’t look very manly

So in the end,

  1.     I wasn’t planning to buy a lawn mower
  2.     I definitely wasn’t planning to buy a battery-powered lawn mower
  3.     I wasn’t planning to write another portion for the Windows 10 optimization series

This portion of the optimization series was not in my original plan because it was not a specific change to the underlying operating system, but should that matter? Originally, I thought yes it does matter, which is why I wasn’t going to include it in the series. But remember, the entire time we talked about different optimizations, we always came back to the

XenApp best practice of:

For the best combination of user experience and resource consumption, optimize appropriately

We followed this for

  1.     Default apps
  2.     Services
  3.     Scheduled tasks
  4.     User Interface
  5.     Runtime
  6.     Release

So, why not look at ICA?

First, take a look at Mayunk Jain’s blog on Why you should care about HDX.

Ok, I’m sold. So let’s do it.

Optimization Description
High Server Scalability This template balances user experience and server scalability. It offers a good user experience while increasing the number of users you can host on a single server. This template does not use video codec for compression of graphics and prevents server side multimedia rendering.

That’s all I have to do? That’s too easy for me. If you look into this policy template, you see the following being done to ICA (Full list of changes are contained in the HDX Policy Template paper)

Policy Setting
Use video codec for compression Do not use
Target frame rate 16
Target minimum frame rate 8
Visual quality Medium
Desktop Wallpaper Prohibited
Menu animations Prohibited
Optimization for Windows Media multimedia redirection over WAN Prohibited
Windows media fallback prevention Play all content only on client
Flash video fallback prevention Only small content
Multimedia conferencing Prohibited
Audio quality Medium-Optimized for speech
Auto-create client printers Auto-create the client’s default printer only
Universal print driver usage Use universal printing only
Universal printing optimization defaults Image compression = Standard quality

Based on this, we optimize server density by slightly reducing the quality of the experience. Seems like a fair trade-off (although not having my favorite background picture on my desktop would upset me).

Note: Some of these Citrix policy settings can be drastic if your users are on the WAN.  For example, the “Optimization for Windows Media multimedia redirection over WAN” will degrade the user experience for WAN users.  If users will access resources via the WAN, use the “Optimized for WAN” Citrix Policy as the starting point.

BTW, I’m open for suggestions on how to make my mower more manly looking. I’m thinking a beer holder or racing stripes might help.

Note: The complete Windows 10 optimization blog series


XenApp Best Practice #3: Consistency

Back in my college years, I shared an apartment with a few other people.  One night, sitting in my room, at my PC, staring at the keyboard, trying to figure out how to complete a project for my COBOL class (yes, I’m that old). All of the sudden, I noticed some of the letters on my keyboard have been rearranged to spell something inappropriate 🙂  As I asked my roommates who was messing with my keyboard, they starting laughing because they did that over a month ago and completely forgot about it.

I never look at my keyboard. I know that the letters F and J have little bumps on them so that my fingers are always on the correct letters.  Every keyboard I use is consistent, always the same.

What would happen if the letters were rearranged?  Complete chaos for me.  Instead of typing 85 words a minute, I would be lucky to type 5.

Consistency is critical to productivity and having a good user experience.

When we use our desktop PC with local applications, consistency is a given, because I am the only one who can make changes.  So there is a very good probability that how things function and appear one day will be the same on the next day.

But XenApp is different.

XenApp can send me to a completely different server for Microsoft Visio.  Will my Citrix stencils be there?   If I access Microsoft Outlook, will my signature be there? Will my custom dictionary be correct? Will the app have the right plugins?  Will the screens be configured exactly as I left them?

But let’s say you can guarantee me that all of the XenApp servers hosting the same set of applications are installed and configured identically, what will you do after users start accessing the server?

Everything a user does will slowly add fluctuations into the configuration, until one day, BAM, the app won’t load or a plugin fails.  All of these minor fluctuations adds up much more quickly than when compared to a traditional PC because instead of a single user accessing the PC for months, a XenApp server will host thousands of users in a matter of days.

This is why we require lifetime server consistency for XenApp, which is our next best practice.

XenApp Best Practice #3: Servers delivering the same set of applications must maintain configuration consistency throughout their life.

Daniel ()
XenApp Best Practices
XenApp Videos

Windows 10 Optimization – Part 6 – Release

IMG_0754I look forward to winter arriving because it means I’m done mowing the yard for 5-7 months. So you can imagine how excited I was when I was mowing my yard for the final time of the season. I could see the end in sight. I was beginning to think about what I would do with my extra 2 hours of time every weekend.

Almost there. Almost there.

Ummm, why is my mower not moving?

Why is it dragging on the ground?

HEY! Where did my wheel go?

Are you freaking kidding me?

With 30 minutes left of mowing for the season, my wheel fell off. And I don’t simply mean it fell of.  It snapped. And it wasn’t a cheap piece of plastic.  A good sized piece of metal snapped (I guess I’m just too strong).

No matter how far you get, how much you do, it can all be for nothing. As we’ve seen, Windows 10 provides us with many different avenues for optimization. We’ve gone through

  1. Default apps
  2. Services
  3. Scheduled tasks
  4. User Interface
  5. Runtime

All while trying to follow our XenApp best practice of:

For the best combination of user experience and resource consumption, optimize appropriately

And at the end, once we’ve optimized and installed our apps, we have one last thing to do before we are complete and ready for user testing is to optimize the image itself. The image optimization recommendations are manual, but are worthwhile. They include:

Optimization Description
Antivirus definitions If antivirus is installed and running within the virtual desktop, updating the definition file will prevent all desktops from updating on first boot up.
Windows update It is typically advisable to have the latest Windows 10 updates and security fixes before rolling out the image into production. Just remember that if the Windows Update service was disabled, it must be re-enabled to run the update. And if you had to enable it in order to run Windows Update, don’t forget to re-disable it.
App updates Many applications have integrated auto update functionality. These applications should be updated, then the auto update functionality should be disabled.
Disk defragmenter The disk might have become fragmented during installation and configuration, which will lead to less performance. Defragmenting the disk before rolling out will give better performance and reduce storage utilization.

Note: The complete Windows 10 optimization blog series

Daniel ()
XenApp Best Practices
XenApp Videos

Windows 10 Optimization – Part 5 – Runtime

The difference between laziness and ingenious is in the eye of the beholder. For example, operating my telescope can almost all be done remotely. I do have to go outside and manually roll off the roof of the shed but after that, I can connect to my PC remotely and control my telescope, my camera, my focuser and my guide scope.

Some people say I’m lazy, but it gives me a much better experience. Some of the clearest and most stable skies are in the winter. But when the temperature is -20F (even 0F) I can’t be out there for too long. And when I need to focus the telescope, it is a struggle to do so while wearing gloves (and painful).

These optimizations allow me to get more use out of my telescope, but it did take time to develop (Even though it is winter, my PC is not a bear, no hibernation allowed).

And the Windows 10 optimizations will allow us to get more use out of our virtual desktop. So far, we’ve gone through

  1. Default apps
  2. Services
  3. Scheduled tasks
  4. User Interface

And all the while, we’ve tried to stick to our XenApp best practice:

For the best combination of user experience and resource consumption, optimize appropriately

The next batch of optimizations are focused those runtime optimizations that don’t directly impact the user, but will provide better efficiencies.


Optimization Configuration
Disable hibernate Powercfg -h off

Registry updates

Optimization Configuration
Disable NTFS Last Access Timestamps [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]


Disable Memory Dump Creation [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]




Disable default system Screensaver HKEY_USERS\.DEFAULT\ControlPanel\Desktop

“ScreenSaveActive”=dword: 00000000

Disable Background Disk Defragmentation [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]


Disable Background Auto-Layout [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout]


Disable the Windows 10 First

Logon Animation



Increase Disk I/O Timeout to 200




Note: The complete Windows 10 optimization blog series

Daniel ()
XenApp Best Practices
XenApp Videos