Flings
Apps and tools built by our engineers that are intended to be played with and explored.

VMware OS Optimization Tool

VMware OS Optimization Tool

Summary

The VMware OS Optimization Tool helps optimize Windows 7 desktops for use with VMware Horizon View. The optimization tool includes customizable templates to enable or disable Windows system services and features, per VMware recommendations and best practices, across multiple systems. Since most Windows system services are enabled by default, the optimization tool can be used to easily disable unnecessary services and features to improve performance.

You can perform the following actions using the VMware OS Optimization Tool:

  • Analyze
  • Optimize
  • Viewing History
  • Managing Template

Also included is the Remote OS Optimization Tool, which uses the same functionality as the Optimization Tool, but connects to a remote VMware View broker so that remote parent and template VMs can be enumerated and optimized.

screenshot-1Mediu,

System Requirements

Requires Windows 7 and .Net framework.

Instructions

  • Download file from Download button
  • Double-click to install. Follow instructions from there.

The VMware OS Optimization Tool guide and the Remote Analysis Tool User Guide are both available from the Download drop-down menu.

Video

Change Log

Engineers

Jack McMichael

Desktop Product Marketing
Add Comment

46 thoughts on “VMware OS Optimization Tool

  1. iamxCPx

    I probably know the answer but going to ask anyway. :)
    Are you planning to update the template to use the latest 01062014 version of the Optimization Guide anytime soon?
    I’m loving this tool a lot especially the option where you can roll-back. Priceless and Thank you.

    Reply
    1. Jack McMichael Post author

      Geoff,

      There are no silent switches, but this is a fantastic idea which I’ve added to our enhancement queue!

      Reply
  2. Abhishek

    Hi Jack,

    Facing some issue after run OSOptimization Tool on Windows xp and Windows 7 both.
    Windows get automatically log off after every 10 to 15 min.
    Is there any way to resolve this issue ???

    Reply
    1. Jack McMichael Post author

      Sorry for your troubles Abhishek, but this shouldn’t be related to anything the OSOT does. You might check your group policies to ensure that it’s not enforcing a policy that overrides any tweaks you have made with the OSOT.

      Reply
  3. Sunny Dua

    Unable to run this on a XP Client. Installed .net framework 3.5. The OS OPT tool install fine but fails as soon as I try to launch it with VMware OS Optimization Software has caused an error and needs to close.

    Reply
      1. Sunny Dua

        Yes.. It is XP SP3 Professional…

        I just installed .Net Framework 4.0 to check if that helps but No Go..

        VMwareOSOptimizationTool has encountered a problem and needs to close.

        Reply
        1. Jack McMichael Post author

          For anyone reading this thread, after some troubleshooting we determined that the specific requirement that was missing is .net 3.5 SP1. This is required for both Windows XP and some versions of Windows Server that don’t include it automatically. .net 3.5 is not sufficient, it must be SP1 or greater.

          Reply
  4. IT_Vision

    Greetings,

    I am able to remotely connect to my connection server however on the pools names are displayed. I cannot expand the folders out to display the VMs associated to the pool I want to analyze. I am using correct credentials to connect as well.

    Any assistance is appreciated.

    Cheers

    Reply
  5. Darryl Crossley

    Good afternoon,
    Can someone assist please, how I can get this to work for Server 2008 R2 which is now supported in View 5.3?

    Thanks

    Darryl

    Reply
    1. Jack McMichael Post author

      Hi Darryl,

      The tool was written prior to View 5.3 and has not been validated with View 5.3 or Windows 2008 R2, but I will be including it as well as 2012/2012R2 in the next version. That being said, what errors are you receiving with 2008 R2 – there’s nothing that comes to mind that would prevent it from running as it would on 2008.

      Jack

      Reply
  6. Ake Astrom

    On page 7 in VMwareOSOptimizationToolVersion1.1.pdf you find this note “You need to run the script VMwareOptimization_Script for Windows XP prior to VMwareOSOptimizationTool.exe”

    Becose I want to run this on XP client I’m looking after that file?

    Best regards //Ake

    Reply
    1. Jack McMichael Post author

      The documentation could use some clarification, I believe it just means to say if you’re running the program on XP you’ll need to run the script. Let me know if you’re still having issues.

      Reply
      1. Ake Astrom

        Well I want to run it on XP clent.
        I tried on 1 XP client and got a lot of error that is why I’m looking for the script.

        Best regards //Ake

        Reply
      2. Rich

        I also cant find this script thats mentioned in the docs. Could you post where we could find this script for XP machines?

        Reply
        1. Jack McMichael Post author

          Regarding the script – I checked with the dev team and it simply does a check for .Net Framework 3.5. I’ll make sure the documentation is updated for the next release, but just make sure .NET framework 3.5 is installed and you should be fine to run it on XP.

          Reply
  7. Reine

    I can login and so but I don’t get a list of virtual machines.

    Also the Get-Pool command returns an Unauthorised Error…
    Can anyone point me in the right direction, please?

    Reply
  8. Chris

    I would like to see an option to modify the path to a template file located in the network.
    It would be outstanding to then have this as a ThinApp – so one would not need to install and would still be able to modify the corparate template file.

    Reply
    1. Jack McMichael Post author

      Chris, I’ll add a network path to the list for the next version. Regarding ThinApp, I agree that would be great, but from a licensing standpoint there’s no way we could distribute a ThinApp. It should be a fairly easy application to ThinApp, and I would encourage you to do so!

      Reply
    1. Jack McMichael Post author

      This hasn’t been tested specifically with Windows 8 as of yet, but it shouldn’t have any specific problems that I’m aware of running on Windows 8.

      Reply
  9. Martin

    Hello i tried the program but i can´t click the history tab to do a roll-back on the optimization can i do some thing else to roll back my optization??

    Reply
    1. Jack McMichael Post author

      Hi,

      If you ran the tool on the same machine that information should be there. Did you run the tool on the same machine or another? If it was on another I’m afraid the rollback isn’t possible. A good idea is to create a snapshot before any optimizations as well for a full rollback should you need one.

      Reply
  10. Kyle

    How does this edit the default user profile? I see the open HKCU/close HKCU actions, but when i check the registry i don’t see a “Default User” profile anywhere. If i open the default user’s ntuser.dat file it asks me to name it, although I was kind of expecting it to already exist based on the “Apply HKCU settings to registry” section having been run. It just got me interested in how those actions are done in the registry.

    Reply
    1. Jack McMichael Post author

      The tool does not modify the default user profile – you’ll have to copy the profile you’re modifying and make it the default user profile.

      Reply
  11. Ivan

    Hi,Jack
    I get error with the remote OS analysis tool trying to login to our 5.2 view connection server:
    Failed to connect to the View PowerCLI.[System Error]:Connecting to remote server failed with the following error occured while using Kerberos authentication:The network path was not found.
    How i can resolve this problem ?
    P.S. I run remote OS analysis on the View Connection Server

    Reply
        1. Ivan

          When i specified ip address i got error “Failed to connect to the View PowerCLI.[System Error] Connecting to remote server failed with the following error message: The WinRM client cannot process the request.”

          Reply
          1. Jack McMichael Post author

            Ivan,

            Ensure that you’ve added your IP/hostname to the TrustedHosts for WinRM. If you use anything other than 127.0.0.1 it will require the IP/hostname (even it’s own IP) be in the list of trusted hosts.

            Also, ensure you’re using the credentials in this manner:
            connectionserver.domain.local
            domain.local\administrator
            password
            domain.local

            Reply
    1. Jack Mcmichael Post author

      Alex, this could be used for server OSs, technically, as long as you modify a template to accommodate the services/registry entries that are specific to the OS you wish to modify.

      Reply
  12. Bolsen

    I’m very happy VMware is finally deciding to do this! Well done (I really like the templates page)!

    My only feedback is it would be nice if you incorporated the suggestions from both Microsoft and Citrix.
    - http://blogs.technet.com/b/jeff_stokes/archive/2012/10/15/the-microsoft-premier-field-engineer-pfe-view-on-virtual-desktop-vdi-density.aspx
    - http://blogs.technet.com/b/jeff_stokes/archive/2013/04/09/hot-off-the-presses-get-it-now-the-windows-8-vdi-optimization-script-courtesy-of-pfe.aspx
    - http://support.citrix.com/article/CTX125874

    I really like the idea of being able to create a ‘template’ for each Service I deliver.

    Reply
    1. Jack Mcmichael Post author

      Thanks for the feedback Brian! The templates that are included are per VMware’s VDI best practices, but I’ll definitely look at the other guides and see what we can incorporate to make a more comprehensive template in future versions!

      The templates are completely customizable and if you create a good one, please feel free to contact me on twitter @jackwmc4 and we can look at including it as well!

      Reply
  13. Charles Gillanders

    I have run into an immediate error with the remote OS analysis tool trying to login to our 5.2 view connection server:

    Failed to collect Desktop pool invetory from View PowerCLI. [System Error]:The term ‘Get-Pool’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    If I run get-pool manually on the server it certainly works correctly – I wonder do I somehow need to get the View cmdlets deployed on my Windows 7 desktop or should I be running the Remote Analysis tool on the view server itself or is there some other solution? Does anyone have any suggestions?

    Reply
      1. Jack Mcmichael Post author

        Hi Charles, take a look at your WinRM configuration and ensure it is enabled per the included guide. If you continue to see this issue, do let me know!

        Reply
    1. Jack Mcmichael Post author

      Thanks for the feedback Charles – are you running the tool on the connection server or on your local desktop? Make sure you have configured and enabled WinRM per the included guide. If you continue to have issues, please let me know and I’ll dig into it further!

      Reply
      1. Dan M

        Jack, I have WinRm working just fine. I still get the failed to collect Desktop Pool Inventory from… ‘Get-Pool’ … error attempting to login remotely. I even tried running it from the local connection server, but I get the same error.
        I tested remoting in to connection server using WinRM and Powershell and it works fine. The Get-Pool command executes properly this way.
        Here is how I tested this:
        1. From client computer, I opened powershell and invoked Enter-PSSession –ComputerName connectionserver.domain.com -credential DOMAIN\adminuser
        2. At password prompt, i entered adminuser password
        3. cd "C:\Program Files\VMware\VMware View\Server\extras\powershell"
        4. Add-snapin.ps1
        5. Get-Pool

        So I can see ps remoting and using viewCLI outside of the app works.
        Any other suggestions you may have besides loading it on my goldens?
        Thanks

        Reply
        1. Jack McMichael Post author

          Hi Dan,

          If you cannot execute the program from your connection broker locally, then there’s most definitely an issue with the broker or powershell. Have you checked the execution policy? You may need to ensure you’re running the tool as a domain administrator or a local administrator as well, as it sounds like perhaps a permissions issue when the program is trying to access the local system.

          Reply
        2. Seth Collen

          Hey Dan,
          I had the same problem, to fix it I changed the ExecutionPolicy to RemoteSigned in PowerShell(the x64 version), then ran the add-snapin.ps1 script to register the View CLI snap ins, it tells you this in the View CLI in red after changing the ExecutionPolicy. This fixed my issues connecting remotely with the Analysis tool. Good luck!

          Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>