Setting Default App Associations using ProgIDs

When a Turbo application is installed either using the installi command or when a Workspace is registered, the application will create a Turbo specific ProgID for each ProgID captured in the image.

The ProgIDs created will start with T. and can be found in the registry under HKEY_CLASSES_ROOT.

Turbo ProgIds

These ProgIDs can be used to set default application associations using the following methods.

DISM

Dism.exe /online /import-defaultappassociations:C:\windows\system32\DefaultFileAssoc.XML

DEM

The easiest way to get the correct ProgID is to set the defaults after installing the application or registering the workspace and exporting them to an XML file. Then follow the steps in Default Applications using VMware Dynamic Environment Manager

Workspace Registration

  1. Subscribe the workspace:
turbo subscribe <workspace> --pull
  1. Register the workspace:
turbo subscription register <workspace>
  1. Launch the Windows Default Apps settings
  2. For each file extension or protocol you want to set a default for type it into the search box, select the Turbo application you want to set as default and click Set default
  3. Once you have set each default, open an Administrator command prompt and run:
Dism.exe /Online /Export-DefaultAppAssociations:C:\AppAssoc.xml
  1. Editing the C:\AppAssoc.xml file in Notepad you can see the Turbo generated ProgIDs for the extensions: ProgIds Xml These ProgIDs are specific to the workspace application so if you delete a workspace application and recreate it, you would need to update the ProgIDs.

Setting Defaults using DISM

Using DISM requires domain joined workstations.

  1. Once you have generated the AppAssoc.xml file, you can import it using DISM to set the default associations for new user profiles. From an elevated command prompt:
Dism.exe /online /import-defaultappassociations:C:\AppAssoc.xml
  1. Confirm the defaults by running the command:
Dism.exe /online /get-defaultappassociations
  1. Optional: Set the group policy to apply the default associations at logon time. Computer\Windows Components\File Explorer\Set a default associations configuration file This policy will reset the user defaults during logon to whatever is set in the XML file.
  2. Optional: Set the group policy to prevent the user choice prompt when new apps are installed. Computer\Windows Components\File Explorer\Do no show the ‘new application installed’ notification Enabling this policy will prevent the User Choice prompt when users first launch files associated with Turbo applications if multiple apps share the same extensions. For example, I have set the default for .PDF to Acrobat Reader, but because the workspace also installs Chrome which has the .PDF capability, Windows sees this as a new application and will prompt me which app to use: New Extension App

Setting Defaults with DEM

DEM also uses an XML file which requires the ProgIDs but the format is slightly different than DISM.

We suggest using the same method from the DISM solution to generate and export the XML file and use the ProgIDs from that file to create your DEM configuration file.

Follow this guide to implement the DEM solution.