APPLYING AND TROUBLESHOOTING PREDEFINED SETTINGS VMware Horizon

Similar documents
EXPLORING MONITORING AND ANALYTICS VMware Horizon

Cloud Pod Architecture with VMware Horizon 6.1

Configuring Single Sign-on from the VMware Identity Manager Service to Marketo

Configuring OneSign 4.9 Virtual Desktop Access with Horizon View HOW-TO GUIDE

Configuring Single Sign-on from the VMware Identity Manager Service to Exterro E-Discovery

VMware Horizon Migration Tool User Guide

INTEGRATING WITH DELL CLIENT COMMAND SUITE: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

A: SETTING UP VMware Horizon

Configuring Single Sign-on from the VMware Identity Manager Service to Vizru

Configuring Single Sign-on from the VMware Identity Manager Service to Trumba

INSTALLATION AND SETUP VMware Workspace ONE

INTEGRATING OKTA: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

Configuring Single Sign-on from the VMware Identity Manager Service to Bonusly

TECHNICAL WHITE PAPER AUGUST 2017 REVIEWER S GUIDE FOR VIEW IN VMWARE HORIZON 7: INSTALLATION AND CONFIGURATION. VMware Horizon 7 version 7.

CONFIGURING BASIC MACOS MANAGEMENT: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

USING PRODUCT PROVISIONING TO DELIVER FILES TO WINDOWS 10: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

VMware vrealize Operations for Horizon Installation

PROVIDING SECURE ACCESS TO VMWARE HORIZON 7 AND VMWARE IDENTITY MANAGER WITH THE VMWARE UNIFIED ACCESS GATEWAY REVISED 2 MAY 2018

What s New in VMware vcloud Automation Center 5.1

MANAGING ANDROID DEVICES: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

Configuring Single Sign-on from the VMware Identity Manager Service to Collibra

vrealize Production Test Upgrade Assessment Guide

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.5

REVISED 6 NOVEMBER 2018 COMPONENT DESIGN: UNIFIED ACCESS GATEWAY ARCHITECTURE

Branch Office Desktop

VPAT VMWARE VPAT VMWARE FUSION 10 VPAT TM

ARCHITECTURAL OVERVIEW REVISED 6 NOVEMBER 2018

VMware Mirage Web Manager Guide

vrealize Production Test

VMware Horizon FLEX 1.5 WHITE PAPER

Horizon Air 16.6 Release Notes. This document describes changes to Horizon Air for version 16.6

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.3

Image Management for View Desktops using Mirage

VMware User Environment Manager Administration Guide. VMware User Environment Manager 9.5

UPGRADING APP VOLUMES MANAGER SERVERS AND AGENTS: VMWARE APP VOLUMES OPERATIONAL TUTORIAL

REVIEWERS GUIDE NOVEMBER 2017 REVIEWER S GUIDE FOR CLOUD-BASED VMWARE WORKSPACE ONE: MOBILE SINGLE SIGN-ON. VMware Workspace ONE

VMware User Environment Manager Application Profiler Administration Guide. VMware User Environment Manager 9.4

VMware User Environment Manager Application Profiler Administration Guide. VMware User Environment Manager 9.2

VMware User Environment Manager SyncTool Administration Guide. VMware User Environment Manager 9.1

IMPLEMENTING SINGLE SIGN-ON (SSO) TO KERBEROS CONSTRAINED DELEGATION AND HEADER-BASED APPS. VMware Identity Manager.

VMware User Environment Manager Administration Guide

Using VMware View Client for Mac

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

Getting Started with VMware View View 3.1

Installing and Configuring VMware User Environment Manager. VMware User Environment Manager 9.2

VMware User Environment Manager Administration Guide. VMware User Environment Manager 9.1

PRINTED 13 APRIL 2018 NETWORK PORTS IN VMWARE HORIZON 7

Mobile Secure Desktop Implementation with Pivot3 HOW-TO GUIDE

Installing and Configuring VMware User Environment Manager. VMware User Environment Manager 9.3

Application Profiler Administrator s Guide

VMware User Environment Manager Administration Guide. VMware User Environment Manager 9.3

VMware User Environment Manager SyncTool Administration Guide

VMware vrealize Operations for Horizon Administration. 20 SEP 2018 VMware vrealize Operations for Horizon 6.6

CONFIGURING AD FS AS A THIRD-PARTY IDP IN VMWARE IDENTITY MANAGER: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

VMware vrealize Operations for Horizon Administration. Modified on 3 JUL 2018 VMware vrealize Operations for Horizon 6.4

Request Manager User's Guide

REVISED 1 AUGUST QUICK-START TUTORIAL FOR VMWARE APP VOLUMES VMware App Volumes and later

Getting Started with ESX Server 3i Installable Update 2 and later for ESX Server 3i version 3.5 Installable and VirtualCenter 2.5

Installing and Configuring VMware User Environment Manager

VMware Mirage Web Management Guide. VMware Mirage 5.9.1

Horizon Workspace Administrator's Guide

How to Use a Tomcat Stack on vcloud to Develop Optimized Web Applications. A VMware Cloud Evaluation Reference Document

Integrating VMware Horizon Workspace and VMware Horizon View TECHNICAL WHITE PAPER

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

VMware vrealize Configuration Manager SQL Migration Helper Tool User's Guide vrealize Configuration Manager 5.8

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Horizon Cloud with On-Premises Infrastructure Administration Guide. VMware Horizon Cloud Service Horizon Cloud with On-Premises Infrastructure 1.

VMware Mirage Web Management Guide

DEPLOY MODERN APPS WITH KUBERNETES AS A SERVICE

DEPLOY MODERN APPS WITH KUBERNETES AS A SERVICE

VMware vsphere Data Protection Evaluation Guide REVISED APRIL 2015

VMware vrealize Operations for Horizon Administration

VMware View Persona Management DEPLOYMENT GUIDE

Performance of Virtual Desktops in a VMware Infrastructure 3 Environment VMware ESX 3.5 Update 2

VMWARE VSPHERE FEATURE COMPARISON

REVISED 1 AUGUST REVIEWER'S GUIDE FOR VMWARE APP VOLUMES VMware App Volumes and later

Using the VMware vrealize Orchestrator Client

CONFIDENTLY INTEGRATE VMWARE CLOUD ON AWS WITH INTELLIGENT OPERATIONS

Lifecycle Manager User's Guide

Using the vcenter Orchestrator Perspectives Plug-In

VMware vfabric Data Director Installation Guide

TECHNICAL WHITE PAPER AUGUST 2017 VMWARE APP VOLUMES 2.X DATABASE BEST PRACTICES. VMware App Volumes 2.x

REVISED 6 NOVEMBER 2018 COMPONENT DESIGN: VMWARE IDENTITY MANAGER ARCHITECTURE

Setting Up Resources in VMware Identity Manager 3.1 (On Premises) Modified JUL 2018 VMware Identity Manager 3.1

Using VMware Horizon Workspace to Enable SSO in VMware vcloud Director 5.1

Getting Started with Database Ingestion

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

AppCapture 3.4 Administration

VMware vfabric Data Director Installation Guide

VMware vsphere 5.0 Evaluation Guide

VMware Workspace ONE Quick Configuration Guide. VMware AirWatch 9.1

VMWARE TAP PROGRAM NOT FOR RESALE (NFR) SOFTWARE GUIDE

Getting Started with ESX Server 3i Embedded ESX Server 3i version 3.5 Embedded and VirtualCenter 2.5

Audience Profile Experienced system administrators and system integrators responsible for implementing desktop solutions

Dell Provisioning for VMware Workspace ONE. VMware Workspace ONE UEM 1902

STREAMLINING THE DELIVERY, PROTECTION AND MANAGEMENT OF VIRTUAL DESKTOPS. VMware Workstation and Fusion. A White Paper for IT Professionals

VMware AppCatalyst Technical Preview June 2015 TECHNICAL WHITE PAPER

Integrate Palo Alto Traps. EventTracker v8.x and above

TECHNICAL WHITE PAPER DECEMBER 2017 VMWARE HORIZON CLOUD SERVICE ON MICROSOFT AZURE SECURITY CONSIDERATIONS. White Paper

Multi-Machine Guide vcloud Automation Center 5.2

Transcription:

GUIDE DECEMBER 2018 PRINTED 19 DECEMBER 2018 APPLYING AND TROUBLESHOOTING PREDEFINED SETTINGS VMware Horizon

Table of Contents Applying and Troubleshooting Predefined Settings Applying and Troubleshooting Predefined Settings GUIDE 2

Profiling Applications: VMware User Environment Manager Operational Tutorial Applying and Troubleshooting Predefined Settings Applying and Troubleshooting Predefined Settings Configuring a specific toolbar layout, setting a region-specific language, disabling automatic updates these are just a few of many reasons IT might want to configure predefined application settings. Unfortunately, this is not always a simple task. Software vendors store configuration data in a variety of locations, and various packaging and deployment technologies have their own methods for customizing application settings. VMware User Environment Manager provides an easy and consistent way to apply and enforce predefined settings for all your Windows applications. For this tutorial, we used the Application Profiler tool to capture these settings. VLC Media Player as the Profiled Application For this exercise, we profile a popular video playback application called VLC Media Player, capture specific application settings, and configure these settings as predefined settings, to be applied when an end user launches the application. We also explore troubleshooting techniques as needed. Machine Configuration for Profiling and Deployment Installing Application Profiler and performing the initial profiling process is outside the scope of this tutorial. It is well documented in the VMware User Environment Manager Application Profiler Administration Guide. To get an evaluation environment up and running quickly, see the Quick-Start Tutorial for VMware User Environment Manager. This tutorial focuses on the advanced scenario of troubleshooting a profiled application. The following section describes the configuration used to profile VLC. For a comprehensive list of supported operating systems for Application Profiler, see the VMware User Environment Manager Application Profiler Administration Guide. Application Packaging and Profiling Machine Configuration (Profiling VM) The application packaging and profiling machine (also called the profiling VM) was configured with the following: Windows 10 Anniversary Update (AU) VM. VMware App Volumes Agent version 2.12. VMware User Environment Manager Application Profiler version 9.1. The svc-profiler domain account has local administrative privileges. The App Volumes Agent is an optional component, and is part of the VMware End-User-Computing JMP Solution. This agent was included so the same VM could be used to build an App Volumes AppStack for application deployment and to profile the application for personalization with User Environment Manager. If you would like to learn more, or include App Volumes in your environment, refer GUIDE 3

to the Reviewer's Guide for VMware App Volumes. End-User Machine Configuration The end-user machine in this example had the following configuration: Windows 10 AU instant-clone VM. VMware App Volumes Agent version 2.12. VMware User Environment Manager FlexEngine version 9.1. The jspencer user account is a standard end-user domain account. Profiling the VLC Media Player Application VLC Media Player version 2.2.4 was captured to an App Volumes AppStack using all default installation options. The AppStack was then used to deliver VLC to the profiling VM. During the User Environment Manager application-profiling process, the View > Playlist setting was selected for the default view. Note: Playlist is the item selected. Docked Playlist is a default setting, independent of Playlist. Upon completion of the profiling process, we saw that the configuration change was written to the file system, in the %AppData%\vlc folder. Selecting Config File with Predefined Settings from Application Profiler produced four files: INI - User Environment Manager configuration file containing the import and export locations. This file defines the parameters for User Environment Manager to manage the application. ICO - Icon used by User Environment Manager Management Console and the Self-Support Tool. FLAG - Flag file for FlexEngine, when DirectFlex is enabled (default). ZIP - File containing predefined user settings. We recommend modifying the Default Save Path setting so that saved files are automatically added to User Environment Manager. GUIDE 4

While you may be tempted to open and edit the ZIP file directly from Windows Explorer, it is critical that the Edit Profile Archive button be used instead. User Environment Manager uses the standard ZIP file format to prevent the creation of proprietary file formats, but the writes to and reads from the ZIP files are optimized for performance. Using tools outside of User Environment Manager to edit these ZIP files makes them unreadable by FlexEngine (the User Environment Manager agent). By editing the profile archive, we can browse the contents and make changes as needed. Notice that VLC uses an INI file to record the user settings. When View > Playlist was selected during application profiling, playlist-visible=true was recorded in the INI. However, there are a number of additional settings that were automatically recorded in the INI. GUIDE 5

When configuring predefined application settings, you might notice that user settings that are stored in an INI file might result in different behavior than user settings stored in registry keys. We will come back to predefined settings later in this tutorial. Next, we ran the application-profiling process again for VLC. This time, View > Playlist was selected, and Tools > Preferences > Menus Language was configured for French. When the profiling process was complete, we saw that the configuration changes were written to the file system, in the %AppData%\vlc folder, and to the registry, in HKCU\Software\VideoLAN. Editing the profile archive this time, we can see both the AppData and Registry folders. Though not a common practice, this version of VLC Media Player stores the language setting in the registry, while storing a variety of GUIDE 6

other user settings in an INI file. Configuring and Applying Predefined Settings To configure and apply the predefined settings, we use the User Environment Manager Management Console. The VMware User Environment Manager Administration Guide provides a detailed description of the four types of predefined settings you can choose from. For our purposes, we configured VLC Media Player predefined settings to Partially Enforced Settings. Partially enforced settings are applied after the user profile archive has been imported. This effectively merges the user's personal settings with the partially enforced settings. In case of a conflict, the partially enforced settings win and overwrite the user's personal settings. To test our configuration, we logged in to an instant-clone desktop in as jspencer. The same App Volumes AppStack that was used to deliver VLC to the application-packaging VM was used to dynamically deliver VLC to the VM at login time. When VLC Player was launched for the first time, the menus were in French, and the interface was configured for Playlist view, as expected. While logged in as jspencer, the following settings were modified. The Playlist view was disabled. GUIDE 7

The language was changed to American English. All check boxes on this preferences page were cleared. Based on the way the Partially Enforced Settings option is designed to behave, we expected the following behavior the next time VLC was opened by jspencer: The menus should be in French and the Playlist view should be enabled. This is because both settings were configured during application profiling, and applied as partially enforced predefined settings. The check boxes cleared on the preferences page should remain cleared. This is because these settings are not specified by the predefined settings, and are therefore user settings that are stored in the user profile archive. After closing and re-opening the application, we saw that all of the changes were discarded, including the check boxes on the preferences page. This is not what we expected! But why did this happen? We are seeing the result of an application storing its user settings in an INI file. To understand this, let us look at the workflow when a user logs in to a Windows desktop with User Environment Manager enabled. 1. User logs in. 2. User profile archive, including any custom user settings, is imported to Windows. 3. Predefined application settings are imported to Windows. GUIDE 8

User Environment Manager behaves differently during Step 3, depending on whether the application settings are stored in the registry or in an INI file. User Environment Manager can parse individual registry settings. You might think of this as merging only the specified, predefined registry keys to the Windows registry. In our test case, only the language setting is forced on the end user by the predefined application settings registry import. Any other user settings that happen to get recorded in HKCU\Software\VideoLAN are preserved for the end user. This enables IT to enforce specific application settings, while granting the end user flexibility to customize and preserve any other settings. When applications store configuration data in files (INI, XML, or others), User Environment Manager can only overwrite the entire file. In our test case, the Playlist view predefined setting is stored in an INI file. That file is part of the predefined applications settings that are applied after the user profile archive is imported. The user jspencer made several changes (cleared check boxes) to the preferences page, which were stored in that same INI file. Going back to the previous workflow, the problem becomes apparent. 1. User logs in. 2. User profile archive, including the INI file customized per the user settings, is imported to Windows. 3. Predefined application settings, including a copy of the INI file created during the application-profiling process, overwrites the INI file imported in Step 2. Another Issue with Text Files Even though the user jspencer might be logged in to the end-user VM, if we examine the VLC application settings INI file, we see a value that includes the user name of the account (svc-profiler) that was used during the application-profiling process. The intended behavior is for this line to be populated with the user name of the currently logged-in user, which is jspencer in this case. User Environment Manager supports using placeholders to accommodate variables in text files. Editing the profile archive allows us to modify the text file manually. In this case, the user name jspencer is replaced with the system variable %username%. See the VMware User Environment Manager Administration Guide for proper syntax and usage. GUIDE 9

Now when jspencer runs the application, the user name is properly reflected in the INI file. Conclusion The following is a brief summary of the application-profiling concepts and practices covered in this section, which you can apply to your own applications. Always use the Application Profiler or the User Environment Manager tools to edit a profile archive ZIP file. Applications might store user settings in the registry, in files, or both. Taking the time to fully understand the way your application behaves (know thine app) will ensure successful application profiling. When applications store user settings in an INI file, the intended behavior of partially enforced predefined settings might change. When applications store user settings in a file, values from the profiling VM or profiling user account might be preserved in the predefined application settings. Placeholders enable the use of system variables to address this possibility. GUIDE 10

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com Copyright 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.