Microsoft Visio 2016 takes a long time to load the first drawing

Version 2

    Problem

    The very first time Microsoft Visio 2016 is launched a new drawing loads slowly. Consecutive launches of Microsoft Visio drawings within the same session are loaded fast.

     

     

    Cause

    This performance delay only occurs the first time that Microsoft Visio 2016 is started for a particular user. When investigating the behavior with Process Monitor it will become clear that visio.exe is looking at [HKLM\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Installer\Components\F6B8D9D6FE0D0CB4D84D90DDC62E3B**] during the entire time. Microsoft Visio makes an index of available templates on the local machine.

    The information that is generated after this initial launch is then stored in the local profile of the user.

    When using non-persistent profiles like Mandatory or Local profiles, this information is lost when the user logs off. This results in a slow launch of new Visio drawings every time a new session is started.

     

     

    Solution

    The information that is written in the user-profile by Microsoft Visio 2016 can be captured with User Settings.

    Create a new User Setting or append to an existing and capture the following locations to counter this behavior;

     

    TypeData
    Folder tree%LOCALAPPDATA%\Microsoft\Visio
    Registry treeHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Visio

     

    NOTE: The file and registry locations mentioned above are not the only entries that are required to capture Microsoft Visio personalization settings. Capturing these will only counter the behavior mentioned in this article. Other settings can be found by starting the User Settings Capture Wizard that discovers which files and registry settings need to be captured as User Settings for applications or processes.