CWS 315 2I en StudentExerciseWorkbook 4 5 Days v02
CWS 315 2I en StudentExerciseWorkbook 4 5 Days v02
CWS 315 2I en StudentExerciseWorkbook 4 5 Days v02
Lab Manual-
Citrix App Layering and WEM Administration
Version 2.01
Citrix Course: CWS-314 2I Citrix Education, 2021
PUBLISHED BY
Citrix Systems, Inc.
851 West Cypress Creek Road
Fort Lauderdale, Florida 33309 USA
http://www.citrix.com
Copyright © 2020 by Citrix Systems, Inc.
All rights reserved. Citrix, the Citrix logo are trademarks of Citrix Systems, Inc. and/or one or more of its
subsidiaries, and may be registered with the U.S. Patent and Trademark Office and in other countries. Citrix
Virtual Apps and Desktops, Citrix App Layering, Citrix Workspace Environment Management, and all other
marks appearing herein are the property of their respective owners.
Citrix Systems, Inc. (Citrix) makes no representations or warranties with respect to the content or use of
this publication. Citrix specifically disclaims any expressed or implied warranties, merchantability, or fitness
for any particular purpose. Citrix reserves the right to make any changes in specifications and other
information contained in this publication without prior notice and without obligation to notify any person or
entity of such revisions or changes.
No part of the publication may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any
purpose other than the purchaser’s personal use, without express written permission of.
2
Citrix Course: CWS-314 2I Citrix Education, 2021
Credits Page
Title Name
3
Citrix Course: CWS-314 2I Citrix Education, 2021
Contents
Credits Page ........................................................................................................................................... 3
Lab Manual Overview .............................................................................................................................. 6
Lab Environment Overview ...................................................................................................................... 7
Lab Access.............................................................................................................................................. 8
Module 1: Introduction to App Layering .................................................................................................. 10
Exercise 1-1: Configure the ELM Server ............................................................................................ 10
Exercise 1-2: Start the Citrix Layering Management Console ............................................................. 14
Module 2: Create an OS Layer .............................................................................................................. 25
Exercise 2-1: Prepare a Windows Server 2019 OS Image .................................................................. 25
Exercise 2-2: Create an OS Layer...................................................................................................... 41
Module 3: Create a Platform Layer ........................................................................................................ 49
Exercise 3-1: Prepare a Platform Layer for Windows Server 2019 ...................................................... 49
Exercise 3-2: Install the Virtual Delivery Agent and Join the Domain .................................................. 65
Module 4: Create App Layers ................................................................................................................ 85
Exercise 4-1: Create an App Layer with Notepad++ ........................................................................... 85
Exercise 4-2: Create an App Layer with Adobe PDF Reader ............................................................ 102
Module 5: Create Elastic App Layer and User Layer ............................................................................ 113
Exercise 5-1: Verify the ELM Server Elastic Repository .................................................................... 113
Exercise 5-2: Create an Elastic App Layer for Server OS ................................................................. 121
Exercise 5-3: Configure the User Layer Repository .......................................................................... 126
Module 6: Deploy a Layered Image using Citrix Virtual Apps and Desktops.......................................... 138
Exercise 6-1: Create a Template ...................................................................................................... 138
Exercise 6-2: Create a Machine Catalog .......................................................................................... 148
Exercise 6-3: Create a Delivery Group ............................................................................................. 159
Exercise 6-4: Test the Resources Located on the Layered Image .................................................... 174
Exercise 6-5: Test the User Layer functioning .................................................................................. 177
Module 7: Explore Layer Priority and Maintain an App Layering Environment....................................... 189
Exercise 7-1: Update an Existing App Layer..................................................................................... 189
Exercise 7-2: Create a Conflicting Layers Template ......................................................................... 204
Exercise 7-3: Update the MCS Catalog ............................................................................................ 210
Exercise 7-4: Test the New Virtual Machine ..................................................................................... 218
Exercise 7-5: Delete an App Layer ................................................................................................... 227
Module 9: Installing Workspace Environment Management (WEM) ...................................................... 233
Exercise 9-1: Install and Configure the WEM Server and WEM Database ........................................ 233
Exercise 9-2: Install the WEM Administration Console and Configure Initial Settings. ....................... 253
Exercise 9-3: Install the WEM Agent on the App Layers Platform Layer ........................................... 272
Module 10: WEM Consoles and Initial Setup........................................................................................ 310
Exercise 10-1: Confirm WEM Console Initial Settings....................................................................... 310
Exercise 10-2: Import a Microsoft Group Policy Object (GPO) into a WEM Configuration Set ........... 315
Module 11: WEM Centralized Management Features: System and Log On Optimization...................... 333
Exercise 11-1: Identify CPU Spikes.................................................................................................. 333
Exercise 11-2: Configure CPU Management .................................................................................... 341
4
Citrix Course: CWS-314 2I Citrix Education, 2021
5
Citrix Course: CWS-314 2I Citrix Education, 2021
Lab Scenario:
WW Labs is a technical company whose infrastructure topology is centrally located in
New York City, referenced as NYC in the company naming convention. The company
has a production Virtual Apps and Desktops environment that is providing published
resources to 2,000 users. The environment is using Citrix Virtual Apps Premium
licenses.
The CTO has asked that the management of the environment be optimized where
possible to reduce the costs associated with it. The Lead Citrix Architect has concluded
that two Citrix products could help the Citrix administration team towards this goal:
• Citrix App Layering, which enables the ability to virtualize Windows applications
and operating systems into easy-to-manage layers that accelerates the image
update process for Citrix Virtual Apps and Desktops deployments. WW Labs is
currently managing a relatively high number of images due to departmental
requirements, and routine OS and application patching is taking a significant
amount of administrative time each month.
• Citrix Workspace Environment Management, which can be used to manage user
resources, profiles, and settings, while also locking down Virtual Delivery Agent
machines and endpoints. The Lead Citrix Architect believes that centralizing the
management of these areas using WEM could facilitate environment
management even further.
You are a Citrix Administrator on the WW Labs Citrix Administrator team and you have
been tasked to validate the functionality and potential benefits of Citrix App Layering
and Citrix Workspace Environment Management by installing and configuring the
products, and testing key features, within the team’s pre-existing test environment,
which already includes a Citrix Virtual Apps and Desktops 1903 Site in place.
6
Citrix Course: CWS-314 2I Citrix Education, 2021
7
Citrix Course: CWS-314 2I Citrix Education, 2021
Lab Access
Once connected to the NYC-HYP-101 Desktop, start the lab management consoles:
Remote Desktop Connection Manager and Hyper-V Manager as shown in the
example below.
The icon to start Remote Desktop Connection Manager is named VMs.rdg and the icon
to start Hyper-V is Hyper-V Manager.
You will primarily use Remote Desktop Connection Manager to log on and interact with
your virtual lab machines. You will primarily use Hyper-V Manager to manage the power
state of the virtual machines and manage the mounting and un-mounting of ISOs used
in installations.
Remote Desktop Connection Manager is pre-configured with the credentials required for
this lab. To select the credentials you wish to use as shown in the example below, right-
click the machine and select Connect server as.
8
Citrix Course: CWS-314 2I Citrix Education, 2021
9
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are Running before beginning the exercises in this module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
10
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the prompt does not appear automatically, press Enter to make it appear.
4. At the localhost login prompt, log on using the following credentials, pressing Enter after each
one:
Note: As you type the password, text is not displayed on the screen due to security reasons.
5. On the App layering appliance configuration screen, type p and then press Enter to change
the default password of the appliance.
Note:
S is used to show the current configuration of the appliance.
C is used to configure the network settings of the appliance.
P is used to change the appliance password.
T is used to change the time zone.
N is used to define the NTP servers.
Q is used to quit and logoff the administrator account.
6. When prompted to enter the new administrator password, type Password1 and press Enter.
When prompted to confirm the new administrator password, type Password1 again and press
Enter.
11
Citrix Course: CWS-314 2I Citrix Education, 2021
7. In the App layering appliance configuration, type c and then press Enter to configure network
settings for the appliance.
8. Enter the following information to configure the appliance, pressing Enter after each
configuration:
Note: If any of the above details were entered incorrectly, then press Enter until the (S)ave
settings, (R)edo, or (Q)uit: option appears and type q to quit and redo the step again.
Note: You can access the App Layering Management Console using the appliance's IP
address entered in a web browser.
9. Wait for the network services to restart and then press Enter to continue.
10. Type q and press Enter.
12
Citrix Course: CWS-314 2I Citrix Education, 2021
11. Click the Shut Down icon for the NYC-ELM-001 machine
13. Once the shutdown action completes, click the Start icon.
14. Once the ELM server completes its startup, click X on the top right of the NYC-ELM-001
Virtual Machine Connection.
Key Takeaways:
• The ELM is an appliance that coordinates communication and hosts the
Management Console, the administrator interface for the environment. The ELM
also manages copies of all Layers.
• You can access the App Layering Management Console using the appliance's IP
address entered in a web browser.
13
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The Remote Desktop Connection Manager is the primary management console used to
log on and interact with the virtual machines in the lab environment. Throughout the rest of the
course, the exercise workbook will reference the named icon above as Remote Desktop
Connection Manager.
2. Using Remote Desktop Connection Manager, connect to NYC-FSR-001.
• Username: WORKSPACELAB\Administrator
• Password: Password1
3. From the taskbar on the NYC-FSR-001 machine, start Internet Explorer.
On the logon page for Citrix App Layering, type the following credentials to log on:
• Username: administrator
• Password: Unidesk1
Click LOGIN.
14
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Microsoft Silverlight is a prerequisite for using the Citrix Layering Management Console.
A colleague has already installed this component on NYC-FSR-001.
5. On the Citrix License Agreement page, review the terms. If you agree, select I accept the
Terms and Conditions, and then click Close.
15
Citrix Course: CWS-314 2I Citrix Education, 2021
6. In the Setup Login Credentials dialog box, review the About Your Credentials page and click
the Down Arrow icon to continue.
16
Citrix Course: CWS-314 2I Citrix Education, 2021
17
Citrix Course: CWS-314 2I Citrix Education, 2021
18
Citrix Course: CWS-314 2I Citrix Education, 2021
12. On the System page, select the Settings and Configuration tab.
13. On the Settings and Configuration page, scroll down to the Network File Shares section and
click Edit.
Note: If the screen resolution of your monitor is low, the Edit button may not be fully visible. If
this is the case, adjust the View > Zoom settings inside Internet Explorer to show the full
console window.
14. In the Network File Shares section, type the following information:
• SMB File Share Path: \\nyc-hyp-101.workspacelab.com\AppLayerShare
• User name: workspacelab.com\administrator
• Password: Password1
19
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The network file share will be used for serving Elastic Layers, creating Packaging
machines, creating Layered Images when using the Network File Share connector, and
performing system upgrades.
15. Click Test SMB File Share and validate that the Success message appears.
Click Save.
16. On the Settings and Configuration page, scroll down to the Security Settings section, and click
Edit.
17. In the Management Console Session Timeout (minutes) box, type 60, and click Save.
20
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: You can configure the appliance to connect to a directory service, for example, Active
Directory. When you connect to your directory service, you will create one or more Directory
Junctions to access specific domains or OUs. The appliance does not modify the directory
service which is contacted. The software caches the attributes for each directory service entry
so that if the connection to the directory service is lost temporarily, the software can use the
cached information for management tasks.
21. On the Connections Details page in the Create Directory Junction wizard, type the following
information:
• Directory Junction Name: workspacelab
• Server Address: nyc-ads-001.workspacelab.com
• Port: 389
22. Click Test Connection and validate that the Connection succeeded message appears.
21
Citrix Course: CWS-314 2I Citrix Education, 2021
25. On the Distinguished Name (DN) Details page, type the following details:
Click Test Base DN and verify that the “Base DN is valid” message appears, then click the
Down Arrow to continue.
22
Citrix Course: CWS-314 2I Citrix Education, 2021
26. Keep the default settings on the Attribute Mapping page, and click the Down Arrow to
continue.
27. Review the Confirm and Complete page and click Create Directory Junction.
23
Citrix Course: CWS-314 2I Citrix Education, 2021
28. Verify that the Directory Junction was created successfully and is listed on the Directory
Service page.
29. Close the App Layering console page by closing the Internet Explorer window.
Key Takeaways:
• The ELM web-based management console runs on the ELM appliance and
allows you to manage the App Layering components in your environment.
• An SMB file share is used to store copies of the Layers. The path for the share is
configured using the ELM console.
• A directory junction is a connection to a base Distinguished Name in a directory
service (such as Microsoft Active Directory). Adding a Directory Junction to the
local tree allows you to assign Administrator privileges to users that are defined
in the directory service instead of in the Citrix Layering Management Console.
24
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are Running before beginning the exercises in this module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
25
Citrix Course: CWS-314 2I Citrix Education, 2021
4. Once NYC-SRV-MST finishes starting up, In the middle pane of Hyper-V Manager, right-click
NYC-SRV-MST and click Connect.
5. From the console menu on the NYC-SRV-MST VM, click Action > Ctrl+Alt+Delete.
• Username: Administrator
26
Citrix Course: CWS-314 2I Citrix Education, 2021
• Password: Password1
7. Right-click Start, then select Run.
27
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Ensure that while creating the OS Layer the machine is not joined to the domain.
9. On the desktop of NYC-SRV-MST, double-click the Lab Resources icon.
Note: If the Lab Resources folder is inaccessible, try checking the IP address and Network
assignment of the NYC-SRV-MST machine.
10. When prompted, log in using the below credentials:
• Username: WORKSPACELAB\Administrator
• Password: Password1
28
Citrix Course: CWS-314 2I Citrix Education, 2021
12. On the Citrix App Layering Gold Image Tools window, leave the defaults and click Install.
29
Citrix Course: CWS-314 2I Citrix Education, 2021
14. Verify that a Save Succeeded message appears, then close (X) the Set KMS Version
window.
16. In the Command Prompt window, type each of the following commands. Press Enter after
each command.
cd c:\Windows\Microsoft.Net\Framework\v4.0.30319
ngen update
Note: NGEN compiles the .NET assemblies ahead of time so that .NET applications run
faster. They run faster because they do not need to compile the assemblies at run time.
30
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Please ignore any errors that appear, as only the available .NET modules will get
updated when we run the above command. Error messages will be displayed for any modules
that are not present.
17. Once the above “ngen update” command is complete, type each of the below commands.
Press Enter after each command.
• cd C:\Windows\Microsoft.Net\Framework64\v4.0.30319
• ngen update
Note: Please ignore any errors that appear, as only the available .NET modules will get
updated when we run the above command. Error messages will be displayed for any modules
that are not present.
18. Click X to close Command Prompt.
19. Using the Lab Resources folder, navigate up a directory to the Resources folder.
Note: The Lab Resources folder was opened in a previous step. If it was closed, open the
folder using the Lab Resources icon on the Desktop.
• Username: WORKSPACELAB\Administrator
• Password: Password1
Note: Although an Optimizer script is available among the App Layering machine tools, this
script is intended for older versions of App Layering. Citrix Optimizer is recommended as the
optimization tool for App Layering 4.x and newer deployments.
31
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If a prompt to download the latest version of Citrix Optimizer appears, select Skip to
continue.
21. In the Citrix Optimizer window, from the right-hand pane, select Windows Server 2019 build
1809 from Citrix.
22. Select the Select All check box, then select Analyze.
32
Citrix Course: CWS-314 2I Citrix Education, 2021
23. Once the analysis has been completed, review the findings. Some optimizations are already in
place, but many are not.
Click Done.
33
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The number of items already optimized in the screenshot may differ from your
environment.
24. Click Optimize.
34
Citrix Course: CWS-314 2I Citrix Education, 2021
25. After the Optimizer finishes applying the optimizations, click Done, then click the back arrow
in the upper-left corner of the window.
35
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The App Layering Supplement template is not included in the base Citrix Optimizer tool,
but was developed by an App Layering architect to apply a few more optimizations specific to
App Layering images.
27. Select the Select All check box, then select Analyze.
28. Once the analysis has completed, review the findings. Most or all of the settings are not
currently optimized.
Click Done.
36
Citrix Course: CWS-314 2I Citrix Education, 2021
30. Once the Optimizations have been applied, click Done, then close the Citrix Optimizer
window.
37
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Hibernation is disabled on all VMs located on Hyper-V hosts, and this setting cannot be
adjusted. As a result, the App Layering template script is not able to assess or configure this
setting.
31. Using File Explorer, navigate to:
C:\Windows\Setup\Scripts
32. Scroll down to setup_x64.exe, right-click and select Run as administrator.
38
Citrix Course: CWS-314 2I Citrix Education, 2021
33. On the Citrix App Layering Image Preparation Utility window, click Next.
34. On Specify your answer file page, leave the defaults, and click Next.
39
Citrix Course: CWS-314 2I Citrix Education, 2021
40
Citrix Course: CWS-314 2I Citrix Education, 2021
Right-click Start menu > Shut down or sign out > Shut down.
Note: If you see option Update and shut down, select that.
38. Close the VM console window.
Key Takeaways:
• The Citrix Optimizer tool is recommended for use with App Layering images. If
different optimization sets are required for different use cases, they can also be
applied within an App Layer.
• The Citrix App Layering Gold Image Tools utility contains optimization scripts,
and an App Layering Image Preparation Utility for the operating system of the
machine used to create the OS Layer.
Step Action
1. From NYC-HYP-101 (Student Desktop), open the file explorer window and browse to path:
F:\VMs\NYC-SRV-MST
2. Right-click on NYC-SRV-MST.vhdx hard disk image file and select Copy.
41
Citrix Course: CWS-314 2I Citrix Education, 2021
3. Navigate to
F:\AppLayerShare
Right-click inside the Windows Explorer window and click Paste. Confirm that the NYC-SRV-
MST.vhdx file is present in the AppLayerShare folder.
Note: The .vhdx file for the master VM that was prepared in the previous exercise needs to be
copied to the network file share configured for App Layering. This allows the Enterprise Layer
Manager (ELM) server to use the file when creating an OS layer.
Note: It may take 8-11 minutes for the .vhdx file to fully copy over.
4. Using the Remote Desktop Connection manager, connect to NYC-FSR-001.
42
Citrix Course: CWS-314 2I Citrix Education, 2021
• Password: Password1
Click LOGIN.
7. From the Actions menu on the right pane, select Create OS Layer.
8. On the Layer Details page in the Create OS Layer Wizard window, type the following
information:
43
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: In production, for the version name, it is good to use a combination of a number and
date (e.g. 1.0 6-24-2019), so that at a later stage, when a new version is added, we can adjust
the numbering to keep track of versions (e.g. 1.1 7-21-2019).
9. On the Connector details page in the Create OS Layer Wizard, leave the defaults and click the
Down Arrow to continue.
44
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The pre-existing Network File Share Connector will be used to create the OS Layer
image. In a later exercise, a new Connector will be created to integrate with the Hyper-V host.
In production deployments, Citrix recommends configuring the hypervisor-specific Connector
before creating the OS Layer, if one is available.
10. On the OS Disk Details page on the Create OS layer Wizard, click on Browse.
In the Choose a disk to import dialog box, expand the location by clicking on the + icon, and
select NYC-SRV-MST.vhdx.
Click Choose.
45
Citrix Course: CWS-314 2I Citrix Education, 2021
12. On the Icon Assignment page, select the disk icon and click the Down Arrow to continue.
46
Citrix Course: CWS-314 2I Citrix Education, 2021
On the task section at the bottom of the window, click the Up Arrow to pull up the event
viewer.
15. Click the information icon next to the running task, or double-click anywhere in the task line
for more details.
47
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This step may take 9-12 minutes. During this process, the .vhdx file is copied from the
network share (where the .vhdx file was copied earlier in this exercise) to the ELM server’s
local repository so that it can be used as an OS layer.
17. Validate the status changes to Done, after the OS disk is imported.
18. Verify that the Windows Server icon is now labeled as Deployable.
Key Takeaways:
• After all needed changes are completed, the temporary packaging machine is
shut down, and the layer creation process is finalized.
48
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are Running before beginning the exercises in this module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-VDC-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
49
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the License Agreement screen, review the terms. If you agree, select I accept the terms
in the license agreement, then click Next.
50
Citrix Course: CWS-314 2I Citrix Education, 2021
7. On the Agent Port screen, leave the default value, then click Next.
51
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the agent fails to install or installs with an error, perform the following actions:
• Right-click Start, then select Run.
• In the Run dialog box, type appwiz.cpl and press Enter.
• In the Programs and Features window that opens, right-click Citrix App Layering
Agent and select Uninstall.
• Re-install the agent using the earlier steps in this exercise.
9. On the Register the agent with an Enterprise Layer Manager screen, type the following:
• Address: 192.168.10.77
• User: administrator
• Password: Password1
Click Register.
52
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the agent fails to register, open a Command Prompt (Admin) window by right-click
Start and clicking Command Prompt (Admin). Type gpupdate /force and press Enter.
Once the group policy has refreshed, check the registration parameters and click Register
again.
10. On the InstallShield Wizard Completed screen, click Finish.
53
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The Citrix App Layering Agent was installed on the NYC-HYP-101 machine so that it
can communicate with the ELM server to create packaging VMs and layered images.
11. Using the Remote Desktop Connection manager, connect to NYC-FSR-001.
Click LOGIN.
54
Citrix Course: CWS-314 2I Citrix Education, 2021
14. From the Actions menu on the right pane, select Add Connector Config.
15. In the Choose a Connector Type window, click on the drop-down arrow and select Microsoft
Hyper-V.
Select New.
55
Citrix Course: CWS-314 2I Citrix Education, 2021
17. Scroll down, In the Virtual Machine Settings section, type the following details:
• Number of CPUs: 2
• Memory (Mb): 4096
• Network: Lab Network
• Generation: Generation 1
• Disk Format: VHDX
• Offload Compositing: Checked
56
Citrix Course: CWS-314 2I Citrix Education, 2021
• Enables the layer packaging or image publishing process to run on the specified
Hyper-V server. This feature increases performance, and it allows you to use VHDX
disk format and Generation 2 virtual machines.
18. Scroll down to the Storage Settings section, then type the following details:
57
Citrix Course: CWS-314 2I Citrix Education, 2021
19. Click on TEST and wait for the message that reads, “The settings have all been verified.”
21. Back on the Connectors page, verify that the NYC-Hyper-V Connector is visible.
58
Citrix Course: CWS-314 2I Citrix Education, 2021
22. From the Layers menu on the top left, select the Platform Layers tab.
23. From the Actions menu on the right, select Create Platform Layer.
24. On the Layer Details page in the Create Platform Layer Wizard, type the following information:
59
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Citrix recommends maintaining the default Max Layer Size, at a minimum. Layers are
captured at the block storage level and use more storage than you may expect.
25. On the OS Layer page in Create Platform Layer Wizard, verify that Windows Server 2019 – 1
is selected.
60
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: When the box beside an option is green, this means that the option is selected.
26. On the Connector page in Create Platform Layer Wizard, select Microsoft Hyper-V - NYC-
Hyper-V.
61
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This is the Connector that was configured earlier in the exercise.
27. On the Platform Types page, confirm that This platform layer will be used for publishing
Layered Images is selected.
Note: This layer will be used to create layered images that will be integrated into Citrix Virtual
Apps and Desktops using Machine Creation Services (MCS).
28. On the Packaging Disk page, leave defaults and click the Down Arrow to continue.
62
Citrix Course: CWS-314 2I Citrix Education, 2021
29. On the Icon Assignment page, select the disk icon and click the Down Arrow to continue.
30. On the Confirm and Complete page, review the settings, and click Create Layer.
63
Citrix Course: CWS-314 2I Citrix Education, 2021
32. Click the information icon next to the running task for more details. Monitor the task
progress and wait for it to complete.
64
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The overall Layer creation process is identical, regardless of which layer type is
being created.
Note: Hyper-V Manager was started in a previous exercise; if it was closed, start Hyper-V
from the NYC-HYP-101 (Student Desktop).
2. In the middle pane of Hyper-V Manager, right-click PLF Layer Win Srv 2019-YYYY-MM-
DD_Time and click Connect.
3. Select the Console tab and click Action > Ctrl+Alt+Delete (Ctrl+Alt+End). Log in with the
following credentials:
• Username: Administrator
• Password: Password1
Note: Please wait for the updates to finish if they are in progress, and then log on.
4. On the desktop of the packaging machine, double-click the Lab Resources folder.
• Username: WORKSPACELAB\Administrator
• Password: Password1
65
Citrix Course: CWS-314 2I Citrix Education, 2021
66
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the Deliver applications and desktops to any user, anywhere, on any device page, click
Start next to the Virtual Apps and Desktops option.
7. The wizard will now display all possible installation options that are compatible with the
Operating System of the machine that you are on. Select Virtual Delivery Agent for
Windows Multi-session OS.
67
Citrix Course: CWS-314 2I Citrix Education, 2021
8. On the Environment screen, confirm that Create a master MCS image is selected and click
Next.
9. On the Core Components page, verify that the Virtual Delivery Agent is marked as Required
(default setting) and that Citrix Workspace App is not selected.
68
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next to continue the Virtual Delivery Agent (VDA) installation wizard.
Note: Citrix Workspace app will not be included in the Platform Layer.
10. On the Additional Components for Master MCS Image page, confirm that the components
Citrix Personalization for App-V – VDA and Citrix AppDisk / Personal vDisk
(Deprecated) are not selected.
69
Citrix Course: CWS-314 2I Citrix Education, 2021
11. On the Delivery Controller page, under Configuration, confirm that Do it manually is selected
from the drop-down menu.
70
Citrix Course: CWS-314 2I Citrix Education, 2021
13. On the Features page, verify that the following check box is selected:
• Optimize performance
14. On the Firewall page, verify that the Automatically option is selected for configuring the firewall
rules.
71
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next.
Click Install.
72
Citrix Course: CWS-314 2I Citrix Education, 2021
Post reboot select the Console tab and click Action > Ctrl+Alt+Delete (Ctrl+Alt+End). Log
in with the following local credentials:
• Username: Administrator
• Password: Password1
Note: Please wait for the updates to finish if they are in progress, and then log on.
73
Citrix Course: CWS-314 2I Citrix Education, 2021
18. Locate ‘Citrix Virtual Apps and Desktops 7 LTSR CU1’ installation media will pop-up, close it.
19. To resume VDA installation, on the desktop of the packaging machine, double-click the Lab
Resources folder.
• Username: WORKSPACELAB\Administrator
• Password: Password1
74
Citrix Course: CWS-314 2I Citrix Education, 2021
21. On the Deliver applications and desktops to any user, anywhere, on any device page, click
Start next to the Virtual Apps and Desktops option.
75
Citrix Course: CWS-314 2I Citrix Education, 2021
22. The wizard will now display all possible installation options that are compatible with the
Operating System of the machine that you are on. Select Virtual Delivery Agent for
Windows Multi-session OS.
76
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next.
77
Citrix Course: CWS-314 2I Citrix Education, 2021
25. On the Finish page, keep Restart machine box checked and click Finish.
26. Once the machine is powered on, select the Console tab and click Action > Ctrl+Alt+Delete
(Ctrl+Alt+End). Log in with the following local credentials:
• Username: Administrator
• Password: Password1
78
Citrix Course: CWS-314 2I Citrix Education, 2021
28. Verify that the expected VDA software and the version was installed.
79
Citrix Course: CWS-314 2I Citrix Education, 2021
80
Citrix Course: CWS-314 2I Citrix Education, 2021
30. In the Systems Properties window, verify that the machine is not joined to a domain. Rather, it
is a part of a workgroup.
Click Change.
31. In the Computer Name/Domain Changes dialog box, select the Domain radio button and type
workspacelab.com.
Click OK.
81
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
82
Citrix Course: CWS-314 2I Citrix Education, 2021
In the Console tab click Send Ctrl+Alt+Delete (Ctrl+Alt+End) and log in with the following
local credentials:
• Username: Administrator
• Password: Password1
Note: You can use either the Domain Administrator or the local administrator accounts to
access the VM. By logging in as local administrator, you do not create the domain user profile
on the layer. The installation works fine as a local administrator.
37. Right-click Start, then select Run.
83
Citrix Course: CWS-314 2I Citrix Education, 2021
38. In the Systems Properties window, verify that the machine is connected to the
workspacelab.com domain.
Note: If you receive error ‘a Microsoft NGen operation is needed’, repeat steps 14 to 17
from Exercise 2-1. Once done double-click Shutdown For Finalize icon on the desktop.
40. Close the VM console window.
41. Switch back to NYC-FSR-001. Verify if Internet Explorer is still connected to Platform Layers
page on the ELM console.
Note: If you are logged out of ELM browse to http://192.168.10.77. Login with the following
credentials:
• Username: administrator
• Password: Password1
84
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• To integrate with Citrix Virtual Apps and Desktops, a Platform layer should be
created with the VDA installation and membership in the Active Directory domain
where the Citrix Virtual Apps and Desktops environment is located. These
settings would be applicable to all machines within a machine catalog.
• Once the Platform layer is completed and deployable, the packaging machine is
destroyed and the layer is saved in the ELM. You can monitor the space
available on the ELM from System > Manage Appliance.
Note: It takes some time to create every layer in this module as the machines which
gets created by the ELM during every layer operation is all managed by ELM itself, and
the same machine is also destroyed by the ELM at the end of the operation. The
changes are saved on the .vhd file stored on the ELM.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
85
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
Click LOGIN.
6. From the Actions menu on the right, select Create App Layer.
86
Citrix Course: CWS-314 2I Citrix Education, 2021
7. On the Layer Details page in the Create App Layer Wizard, type the following information:
87
Citrix Course: CWS-314 2I Citrix Education, 2021
88
Citrix Course: CWS-314 2I Citrix Education, 2021
89
Citrix Course: CWS-314 2I Citrix Education, 2021
90
Citrix Course: CWS-314 2I Citrix Education, 2021
14. On the Confirm and Complete page, review the settings, and click Create Layer.
91
Citrix Course: CWS-314 2I Citrix Education, 2021
15. In the Tasks menu at the bottom monitor the state of the currently running task. Click the
information icon for more details.
16. Monitor the task progress and wait for the status to change to Action Required.
Note: This step may take around 15-20 minutes to complete. This step takes longer than
other layering administration actions because the ELM server is caching the OS layer in the
file share. Subsequent app layer creations/updates will be significantly faster as a result.
17. Switch to NYC-HYP-101 and start Hyper-V Manager.
You will see a new Virtual Machine created with a name that looks like Notepad++-YYYY-MM-
DD_Time.
18. Right-click the new VM in Hyper-V, then select Connect to this machine.
From the Action menu, select the Ctrl+Alt+Delete option and log on with the following
credentials:
92
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: Administrator
• Password: Password1
19. On the desktop of the packaging VM, double-click the Lab Resources folder.
In the Windows Security prompt that appears, use the following credentials:
• Username: WORKSPACELAB\Administrator
• Password: Password1
Click OK.
20. Right-click npp.7.6.5.Installer.x64.exe, and select Run as administrator.
93
Citrix Course: CWS-314 2I Citrix Education, 2021
23. Read the license agreement, and if you agree, click I Agree.
94
Citrix Course: CWS-314 2I Citrix Education, 2021
95
Citrix Course: CWS-314 2I Citrix Education, 2021
96
Citrix Course: CWS-314 2I Citrix Education, 2021
29. In the main Notepad++ window that opens, select Settings > Preferences.
In the MISC. section, clear the Enable Notepad++ auto-updater check box, then click Close.
97
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: When creating an App Layer, it is recommended to disable auto-update settings, which
would run needlessly on non-persistent images and use resources. Application updates
should be performed manually during a Layer update.
31. Close Notepad++.
32. Back in File Explorer, in the left pane, click This PC.
98
Citrix Course: CWS-314 2I Citrix Education, 2021
36. Double-click the A.txt file and type the below details on the notepad file:
99
Citrix Course: CWS-314 2I Citrix Education, 2021
37. Click X on the Notepad window and select Save on the “Do you want to save changes to
C:\A.txt?” prompt.
38. Verify that you see the A.txt file in the C: drive with a size of 1 KB.
Note: We have now created a text file in C:\ on the Packaging VM of the Notepad++ Layer.
This is being added now to save time in a later exercise.
39. Click X on the File Explorer window.
40. Inside the VM console window, scroll down to the bottom of the screen.
Right-click Start menu > Shut down or sign out > Restart.
100
Citrix Course: CWS-314 2I Citrix Education, 2021
42. In the console window, click Action> Ctrl+Alt+Delete (Ctrl+Alt+End) and log in with the
following credentials:
• Username: Administrator
• Password: Password1
43. Double-click Shutdown For Finalize icon on the desktop.
Note: If you receive error ‘a Microsoft NGen operation is needed’, repeat steps 14 to 17
from Exercise 2-1. Once done double-click Shutdown For Finalize icon on the desktop.
44. The script runs, the machine shuts down, and gives the following pop-up:
Note: If the ELM console was previously closed, launch Internet Explorer and browse to
http://192.168.10.77. Log in with the following credentials:
• Username: Administrator
• Password: Password1
46. Validate that the status of the App Layer now shows as Deployable.
101
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The summary of this exercise is to create an App Layer, which has Notepad++ in
it.
• Multiple App Layers can be created from the same OS Layer. These Layers can
be updated independently and can be mixed and matched to create unique
images that meet specific use cases.
Note: It takes some time to create every layer in this module as the machines which
gets created by the ELM during every layer operation is all managed by ELM itself, and
the same machine is also destroyed by the ELM at the end of the operation. The
changes are saved on the .vhd file stored on the ELM.
Step Action
1. Verify you are still connected to the ELM page using Internet Explorer on the NYC-FSR-001
machine.
Note: If the Citrix Layering Management console was closed, open the console by connecting
to NYC-FSR-001, starting Internet Explorer, navigating to http://192.168.10.77, then logging
in with the following credentials:
102
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: administrator
• Password: Password1
2. From the Layers menu on the top left, select the App Layers tab.
3. From the Actions menu on the right, select Create App Layer.
4. On the Layer Details page in the Create App Layer Wizard type the following information:
103
Citrix Course: CWS-314 2I Citrix Education, 2021
• Version: 1
• Version Description: Adobe PDF Reader
• Max Layer Size (GB): 10
104
Citrix Course: CWS-314 2I Citrix Education, 2021
105
Citrix Course: CWS-314 2I Citrix Education, 2021
106
Citrix Course: CWS-314 2I Citrix Education, 2021
11. On the Confirm and Complete page, review the settings, and click Create Layer.
107
Citrix Course: CWS-314 2I Citrix Education, 2021
12. In the Tasks menu at the bottom monitor the state of the currently running task. Click
information icon for more details.
13. Monitor the task progress and wait for the status to change to Action Required.
108
Citrix Course: CWS-314 2I Citrix Education, 2021
14. Switch to NYC-HYP-101 and start Hyper-V Manager if it is not already open.
You will see a new Virtual Machine created with a name that looks like Adobe-Reader-YYYY-
MM-DD_Time. Double-click the new VM.
15. From the Action Menu, select the Ctrl+Alt+Delete option and log on with the following
credentials:
• Username: Administrator
• Password: Password1
16. On the desktop of the packaging VM, double-click the Lab Resources folder.
In the Windows Security prompt that appears, use the following credentials:
• Username: WORKSPACELAB\Administrator
• Password: Password1
Click OK.
17. Right-click AcroRdrDC_en_US, and select Run as administrator.
Note: The Adobe Acrobat installer will take a couple of minutes to prepare the installation.
18. On the Ready to Install Adobe Acrobat Reader (DC) window, click Install.
109
Citrix Course: CWS-314 2I Citrix Education, 2021
20. Right-click Start menu > Shut down or sign out > Restart.
110
Citrix Course: CWS-314 2I Citrix Education, 2021
22. In the console window, click Action> Ctrl+Alt+Delete (Ctrl+Alt+End) and log in with the
following credentials:
• Username: Administrator
• Password: Password1
23. Double-click Shutdown For Finalize icon on the desktop.
Note: If you receive error ‘a Microsoft NGen operation is needed’, repeat steps 14 to 17
from Exercise 2-1. Once done double-click Shutdown For Finalize icon on the desktop.
24. The script runs, the machine shuts down, and gives the following pop-up:
111
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the ELM console was previously closed, launch Internet Explorer and browse to
http://192.168.10.77. Login with the following credentials:
• Username: Administrator
• Password: Password1
26. Validate that the status of the App Layer now shows as Deployable.
Key Takeaways:
• The summary of this exercise is to create an App Layer, which has PDF Reader
in it. The OS and App Layers have to be selected while creating a template,
which can be used to create the master machine for a Citrix Virtual Apps and
Desktops Site.
• Multiple App Layers can be created from the same OS Layer. These Layers can
be updated independently and can be mixed and matched to create unique
images that meet specific use cases.
112
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
Navigate to F:\AppLayerShare
113
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Click the Security tab on the AppLayerShare Properties and click the Advanced option.
114
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the Advanced Security Settings for the AppLayerShare page, verify that the below
permissions are set:
Click OK.
115
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The account (administrator@workspacelab.com) that the App Layering appliance uses
to connect to the file share must have full permissions for that file share. Users require a
minimum of read-only access to the File Share; in this case, having Read & execute
permissions fulfills that requirement.
7. Click OK in the AppLayerShare Properties window.
116
Citrix Course: CWS-314 2I Citrix Education, 2021
9. On the Server Manager console, click File and Storage Services on the left pane.
Note: It may take a couple of minutes for the File and Storage Services option to appear in the
left pane, as the Server Manager performs an inventory of the roles present on the machine.
10. Click Shares on the left pane.
117
Citrix Course: CWS-314 2I Citrix Education, 2021
12. On the AppLayer Properties page, under General tab, verify if the protocol shows SMB.
Click OK.
118
Citrix Course: CWS-314 2I Citrix Education, 2021
Click LOGIN.
119
Citrix Course: CWS-314 2I Citrix Education, 2021
120
Citrix Course: CWS-314 2I Citrix Education, 2021
20. On the Setting and Configuration page, scroll down to Network File Shares and click Test
SMB File Share.
Note: This connection was configured in a previous module, but is being verified to ensure
connectivity is still good.
Note: If the test is not successful, in the upper right corner of the Network File Shares section,
click Edit. In the password field, type Password1, then press Enter. Click Test SMB File
Share and confirm that the message Success is displayed, then click Save.
Key Takeaways:
• The account that the App Layering appliance uses to connect to the file share
must have full permissions for that File Share.
• Users require read-only access to the File Share.
• The file share must be configured using SMB technology.
121
Citrix Course: CWS-314 2I Citrix Education, 2021
The Citrix Architect informs you that he would like you to configure the Notepad++ layer
with the Elastic Layering feature to provide the app as a desktop shortcut for a
customizable subset of users. For testing purposes, only the HR2 user will have access
to this elastic layer at first.
Step Action
1. Verify that you are still connected to the Citrix Layering Management console page using
Internet Explorer on the NYC-FSR-001 machine.
Note: If the Citrix Layering Management console was closed, open the console by connecting
to NYC-FSR-001, starting Internet Explorer, navigating to http://192.168.10.77, then logging
in with the following credentials:
• Username: administrator
• Password: Password1
2. In the top-left navigation bar, select the Layers menu.
122
Citrix Course: CWS-314 2I Citrix Education, 2021
123
Citrix Course: CWS-314 2I Citrix Education, 2021
5. On the Image Template Assignment page, click the Down Arrow to continue.
6. On Elastic Assignment page, select Workspacelab > Citrix > New York > Users >
Operations > HR > HR2.
124
Citrix Course: CWS-314 2I Citrix Education, 2021
Click the information icon next to the running task for more details.
Wait for the task to complete, then click X to close the event details.
Key Takeaways:
• The summary of this exercise is to provide a specific user with an application
access, which is a hot-add to the existing App Layer and is visible only to that
user who has been configured with the access. Other users who have access to
125
Citrix Course: CWS-314 2I Citrix Education, 2021
this App Layer will not be seeing this new hot –added application and hence this
is called as an Elastic Layer.
• The initial App Layer creation process is always the same, regardless of whether
or not it will be deployed as an elastic layer.
• App Layers can be assigned as an Elastic Layer for one or more user groups via
the App Layering management console. Elastic Layers allow administrators to
give each user his/her own unique set of applications, on top of the base Layered
Image used across VDAs in a machine catalog. This can drastically reduce the
number of base Layered Images that administrators need to maintain.
• The Directory Junction that was configured in an earlier exercise allows
administrators to assign Elastic Layers to groups created in Active Directory. As
a leading practice, create a group in AD for each Elastic Layer, assign that group
to the Layer in the App Layering management console, and use AD to manage
who gets what layer.
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane and select Start or Shut Down.
126
Citrix Course: CWS-314 2I Citrix Education, 2021
127
Citrix Course: CWS-314 2I Citrix Education, 2021
128
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Click on Disable inheritance and then Remove all inherited permissions from this object.
129
Citrix Course: CWS-314 2I Citrix Education, 2021
In the Advanced Security Settings for the Users page, add the below permissions:
Click OK.
130
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The account (administrator@workspacelab.com) that the App Layering appliance uses
to connect to the file share must have full permissions for that file share.
Similar security settings are configured on the All Users folder too.
9. Click OK in the Users Properties window.
• Username: administrator
• Password: Password1
11 On the System page, select the User Layer Storage Location tab.
131
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This is the default repository to store User Layers for all the users, once this wizard
completes we will be creating a separate one for HR Users. If a user account is part of more
than one storage location, the storage location with higher preference is used for storing the
user layer of the user. Preferences could be set from the right pane option Prioritize Storage
Locations.
15. User Layer Assignments tab is blank as this is the default location and it is applicable to all the
users who do not have storage locations defined.
132
Citrix Course: CWS-314 2I Citrix Education, 2021
16. On User Layer Messages tab, leave Override User Layer Messages as unchecked.
133
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: While troubleshooting User Layer issues, these messages are very useful. An
administrator can customize these, we are leaving them to defaults for purpose of our
exercise.
17. Click Add Storage Location to finish the wizard.
19. Under User Layer Storage Locations we now see a new entry with the name Default
Location and corresponding Network Path.
In order to do the same on the right pane, select Add Storage Location.
134
Citrix Course: CWS-314 2I Citrix Education, 2021
22. On User Layer Assignments, browse path Workspacelab > Citrix > New York > Users >
Operations > HR, select group HR.
135
Citrix Course: CWS-314 2I Citrix Education, 2021
23. On the User Layer Messages tab, leave Override User Layer Messages as unchecked.
136
Citrix Course: CWS-314 2I Citrix Education, 2021
26. Under User Layer Storage Locations tab, HR Users entry appears.
Key Takeaways:
• The account that the App Layering appliance uses to connect to the file share
must have full permissions for that File Share.
137
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: We have pre-created a Win 10 App Layering Template together with a User layer,
Machine Catalog, and Delivery Group. You will use this pre-created template in
Exercise 6-5.
As part of this task, you will be creating a template, publish a Layered Image, and then
will test the new virtual machine which gets created with a user account to verify if the
Layers selected by you are all assigned properly on the output virtual machine.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
138
Citrix Course: CWS-314 2I Citrix Education, 2021
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-STF-001
• NYC-VDC-001
• NYC-W10-001
• NYC-W10-002
• NYC-WRK-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane, and select Start or Shut Down.
5. Navigate to:
http://192.168.10.77
On the logon page for Citrix App Layering, type the following credentials to log on:
• Username: administrator
• Password: Password1
Click LOGIN.
139
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Notice that there is one Windows 10 Template pre-created. No action is required from
you for this Windows 10 Template.
8. From the Actions menu on the right, select Create Template.
140
Citrix Course: CWS-314 2I Citrix Education, 2021
9. On the Name and Description page, in the Create Template Wizard type the following
information:
In the Choose section, select the disk icon, then click the Down Arrow to continue.
141
Citrix Course: CWS-314 2I Citrix Education, 2021
11. On the Application Assignment page, select the box next to Adobe PDF Reader – 1, turning it
green.
Note: For this test, the Notepad++ layer will be applied as an elastic layer, and so it does not
need to be included in the layered image template. The Notepad++ layer was configured to be
an elastic layer in a previous module.
142
Citrix Course: CWS-314 2I Citrix Education, 2021
13. On the Platform Layer, select PLF Layer Win Srv 2019 – 1.
143
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: On the Platform Layer tab, you can select a Platform Layer that contains the tools and
hardware settings that you need to publish Layered Images to the location defined in the
Connector Configuration.
14. On the Layered Image Disk page, verify or configure the following settings:
144
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The default Layered Image Disk Size (GB) is 100 GB. You have changed the size to 60
GB to utilize the disk space more efficiently.
Note: You are enabling Elastic Layering on this step because you will be using the same
template to demonstrate Elastic Layering in a later exercise.
15. On the Confirm and Complete page, click Create Template.
16. Verify that the Windows Server 2019 Test template is labeled as Publishable.
145
Citrix Course: CWS-314 2I Citrix Education, 2021
17. Right-click the Windows Server 2019 Test template and select Publish Layered Image.
18. On Confirm and Complete page on Publish Layered Image Wizard, click Publish Layered
Image.
146
Citrix Course: CWS-314 2I Citrix Education, 2021
19. Click the Up arrow at the bottom of the ELM console to see the details of the Tasks running.
Click the information icon next to the running task for more details.
21. Monitor the task progress and wait for it to complete and show as Done.
Note: This step may take 10-15 minutes, and as part of this process, the ELM server creates
a VM with the name Win 2019 Test-YYYY-MM-DD_TIME on your hypervisor. This VM will be
later used as a master image for creating a Citrix Virtual Apps and Desktops machine catalog.
147
Citrix Course: CWS-314 2I Citrix Education, 2021
22. Click X in the upper-right corner of the running tasks window to close the event information
details.
Note: A Layered Image is a virtual machine that Citrix App Layering has composited from the
Layers and settings specified in an Image Template. You can publish one or more Layered
Images to Citrix MCS in your Microsoft Hyper-V environment and add it to a catalog for
provisioning systems.
Key Takeaways:
• The summary of this exercise is to create a template, which can be used for
publishing images to your target platform, your hypervisor, or provisioning
service. From there, you can use the published Layered Images to provision
servers on your chosen platform.
• The Template creation process is initiated from the App Layering management
console, where the OS Layer, Platform Layer, and any required App Layers are
selected to be part of the template.
• The Template also includes a Connector Configuration that specifies the location
where the Layered Images are created, typically a convenient location from
which to provision servers in a particular silo.
• Select the Connector Configuration that you are using for your template. The
Connector Configuration defines where to generate Layered Images. Typically,
it's best to select a location close to the servers you would like to provision using
the image.
• You can create as many templates and publish as many Layered Images as you
need from a single template. The templates can include any combination of
Layers for provisioning any number of servers.
148
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. In the Windows taskbar, click the Citrix Studio icon.
149
Citrix Course: CWS-314 2I Citrix Education, 2021
5. On the Operating System page, select Multi-session OS and then click Next to continue the
Machine Catalog creation wizard.
150
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the Machine Management page, verify that the following options are selected:
• Machines that are power managed (for example, virtual machines or blade PCs)
• Citrix Machine Creation Services (MCS)
151
Citrix Course: CWS-314 2I Citrix Education, 2021
152
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: MCS supports the use of both a virtual machine or a virtual machine’s snapshot to be
used as the master machine or image to create the machine catalog. When using a Snapshot
as the master image, you should consider naming the Snapshot, because when the MCS
process runs a snapshot is created by Studio and a name is assigned that you cannot
change.
8. On the Virtual Machines page, enter the following configuration values:
Select the boxes corresponding to Memory allocated to Cache and Disk Cache size. Click
Next to continue the Machine Catalog creation wizard.
153
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The “Disk cache size” box must be selected first before being able to select “Memory
allocated to cache”.
Note: Make sure to have enough resources on the hypervisor. If required Shut down the
machines which are not required for this exercise.
9. On the Computer Accounts page, verify that the Create new Active Directory accounts
radio button is selected.
In the drop-down next to Domain for the Active Directory location for computer accounts,
make sure workspacelab.com is selected.
Using the arrows, navigate to Citrix > New York > VDA > Servers.
154
Citrix Course: CWS-314 2I Citrix Education, 2021
Verify that 0-9 is selected from the drop-down menu to the right of the naming scheme.
Note: The Servers OU is the WW Labs' location designated for Server OS machines running
the Virtual Delivery Agent (VDA).
Note: Because this is using an existing naming convention, the resultant machines from this
Machine Creation Services (MCS) process will increment to the next numerical sequence
numbers available.
10. On the Summary page, review configurations and enter the following information:
Click Finish.
155
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Clicking Finish begins the MCS process in which a combination of the parameters
specified in this Machine Catalog creation wizard and the parameters of the Citrix Virtual Apps
and Desktops Site are used to create complete virtual machines from the Master machine
specified earlier in said wizard. Each virtual machine created is built into a Machine Catalog,
visible from Studio. Each virtual machine created has a nearly identical build to its Master
machine, with a unique SID, machine account in Active Directory, unique MAC, and using the
DHCP scope we verified in an earlier exercise so these virtual machines have a unique IP
address.
Note: With the Hyper-V resources allocated to this Citrix Virtual Apps and Desktops POC
project by the Citrix Lead Architect, you can expect this MCS process to take an estimated 5 -
10 minutes to complete.
11. Verify that the MCS process has completed. Using Studio, validate that the machine catalog
was created.
Click Machine Catalogs in the left pane of Studio and view the NYC-CAT-ServerOS-
Layering Machine Catalog in the middle pane.
156
Citrix Course: CWS-314 2I Citrix Education, 2021
12. There is an exclamation shown with more info in the Details pane at the bottom of the screen.
Note: At the time of development of this course this is a known cosmetic warning for catalogs
created using App Layering images. Although the machines are licensed correctly (which can
be confirmed by turning on the machines), the console still presents this warning. This
cosmetic warning can be ignored and it will be addressed in future update of the product.
This warning will not hamper any functionality.
13. Verify that the expected virtual machines specified to be created by MCS has been
successfully created and added to the NYC-CAT -ServerOS-Layering machine catalog.
Using Studio, right-click the NYC-CAT-ServerOS-Layering machine catalog, and select View
Machines.
157
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Connect to Hyper-V Manager to monitor the machine, until it is powered on. It will take
some time to machine to get completely ready.
15. From the Actions menu on the right pane, click Refresh.
158
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: It will take some time for machines to show registered in the console.
In case any machine does not get registered, login to the machine using Administrator
credentials and restart Citrix Desktop Service.
Key Takeaways:
• The summary of this exercise is to create a Citrix Virtual Desktops Machine
Catalog using the master machine created with the help of layering concept
using the ELM; thereby creating machines using MCS technology.
• The process to provision new machines using MCS is same as before because
the App Layering process was completed before creating the virtual machine
template. The template serves as one of the integration points between App
Layering and the Citrix Virtual Apps and Desktops environment.
159
Citrix Course: CWS-314 2I Citrix Education, 2021
Server OS machine catalogs contain a group of identical Server OS machines that can
be used to deliver a set of resources to users. The delivery of these resources to users
is controlled through Delivery Groups.
The Citrix Architect asks you to make the machine created from the App Layering
template available to the Human Resources department. This user group will assist in
testing Server OS-based resources.
Your task is to create a Delivery Group and assign resources to the HR Group from the
Server OS catalog using a Delivery Group.
Step Action
1. Using Remote Desktop Connection Manager, confirm that you are still connected to NYC-
VDC-001.
Note: In a previous exercise, you had logged on to NYC-VDC-001 using the following
credentials to make the connection:
• User name: WORKSPACELAB\Administrator
• Password: Password1
From the Actions pane on the right side of the console, click Create Delivery Group.
Note: Studio was started in a previous exercise. If Studio was closed, then click Start > Citrix
> Citrix Studio.
160
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Delivery Groups are collections of desktops and applications that created from machine
catalogs. Create Delivery Groups for specific teams, departments, or types of users, and base
them on either a desktop or a server operating system. Make sure you have enough machines
available in a suitable catalog to create the Delivery Groups you need.
4. On the Machines page, verify that the previously created machine catalog, NYC-CAT-
ServerOS-Layering, is listed.
161
Citrix Course: CWS-314 2I Citrix Education, 2021
5. On the Users page, select Restrict use of this Delivery Group to the following users.
Click the Add button under the Add users and groups box.
162
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Click OK on the HR Group highlighted, and click OK on the Select Users or Groups dialog
box.
163
Citrix Course: CWS-314 2I Citrix Education, 2021
8. Enter Administrator in the Select Users or Groups dialog box that appears.
164
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The WW Labs design scope for this App Layering POC deployment has specified this
user group in Active Directory for testing the published resources (as seen in the next step) for
this POC.
10. On the Applications page, click Add and select From start menu.
165
Citrix Course: CWS-314 2I Citrix Education, 2021
11. Check the boxes against Calculator, Notepad, Paint, and WordPad.
166
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
12. Click Next to continue the Create Delivery Group wizard.
167
Citrix Course: CWS-314 2I Citrix Education, 2021
168
Citrix Course: CWS-314 2I Citrix Education, 2021
169
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK on the HR Group highlighted, and click OK on the Select Users or Groups dialog
box.
16. Click OK to close the Add Desktop page.
170
Citrix Course: CWS-314 2I Citrix Education, 2021
171
Citrix Course: CWS-314 2I Citrix Education, 2021
18. On the Summary page, verify the previously configured information and enter the following:
• Delivery Group name: NYC-DG-ServerOS-Desktops
• Delivery Group description, used as label in Citrix Workspace App (optional):
Windows 2019 Desktop
Click Finish.
172
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The display name will appear for the published desktop and the application names will
appear for each published application to the user, using Citrix Workspace app.
19. Verify that the Delivery Group has been created and that the Virtual Delivery Agent machine is
registered.
Note: It may take a few minutes for the VDA machine to show as registered within the
Delivery Group.
173
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• Creating a Delivery Group and other Citrix Virtual Apps and Desktops
administrative activities do not change if App Layering is used.
Note: Be sure to log in with the HR2 user; this is the user that has been assigned the elastic
app layer.
3. Click the DESKTOPS tab and start HR Desktop.
174
Citrix Course: CWS-314 2I Citrix Education, 2021
175
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This verifies that the machine being accessed has blended the OS, Platform, and App
Layers that were created in previous exercises. Additionally, because you logged in with the
HR2 account, the elastic app layer containing Notepad++ is also available.
7. Right-click Start, then select Shut down or sign out > Sign out.
Click the down arrow to the right of the gear icon and select Log Off.
176
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The end user experience is unchanged regardless of whether Citrix App Layering
is used. The Layers included in the template can be deployed as published
desktop or application resources.
Note: Your test will be performed on a Windows 10 VDA pre-created for this lab.
Step Action
1. Using Remote Desktop Connection Manager, connect to NYC-WRK-001.
177
Citrix Course: CWS-314 2I Citrix Education, 2021
• Password: Password1
Note: Be sure to log in with the HR2 user; this is the user that has been assigned the elastic
app layer.
3. Click the DESKTOPS tab and start Win 10 Desktop.
178
Citrix Course: CWS-314 2I Citrix Education, 2021
179
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: You could connect to either NYC-W10-001 or NYC-W10-002. In this case, we are
connected to NYC-W10-002.
13. Click X to close the explorer window.
14. Double-click the Lab Resources shortcut icon on the desktop.
Note: We will be installing Firefox application to verify the functioning of the User layer.
15. Double click on Firefox Setup Stub 45.0.2.
180
Citrix Course: CWS-314 2I Citrix Education, 2021
181
Citrix Course: CWS-314 2I Citrix Education, 2021
Click the down arrow to the right of the gear icon and select Log Off.
Note: In a previous exercise, you had logged on to NYC-VDC-001 using the following
credentials to make the connection:
• User name: WORKSPACELAB\Administrator
182
Citrix Course: CWS-314 2I Citrix Education, 2021
• Password: Password1
Note: Studio was started in a previous exercise. If Studio was closed, then click Start > Citrix
> Citrix Studio.
23. In the middle pane under Single-session OS Machines right-click VDA to which you were
connected last (NYC-W10-002 in this case) and select Turn On Maintenance Mode.
Note: Although we are using non-persistent machines with MCS, we still putting VDA in
maintenance mode to ensure we get connected to a different VDA and prove the application
is still available for the user via user layer.
24. Click Yes to put NYC-W10-002 in maintenance mode.
183
Citrix Course: CWS-314 2I Citrix Education, 2021
184
Citrix Course: CWS-314 2I Citrix Education, 2021
185
Citrix Course: CWS-314 2I Citrix Education, 2021
30. Validate the machine you are connected is the other VDA (NYC-W10-001 in this case).
Click the down arrow to the right of the gear icon and select Log Off.
186
Citrix Course: CWS-314 2I Citrix Education, 2021
You see the User layer .vhd file for user HR2.
Note: The Folder name within WORKSPACELAB_HR2 folder will be different in your lab.
187
Citrix Course: CWS-314 2I Citrix Education, 2021
37. In the middle pane under Single-session OS Machines right click NYC-W10-002 and select
Turn Off Maintenance Mode.
188
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• A User Layer allows a user to install applications and save configuration settings
that are outside the user profile.
• User Layer stores user’s data files by making their desktop seem to be persistent
with the benefits of a shared desktop model.
• The User Layer is mounted on logon and any subsequent writes on the desktop
are written to the User Layer.
189
Citrix Course: CWS-314 2I Citrix Education, 2021
The Citrix Architect asks you to create an image template with OS Layer, Platform
Layer, and conflicting App Layers. As part of this task, you will be creating a new
version of an existing App Layer, and create a file that will conflict with a similar file on
another App Layer.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-STF-001
• NYC-VDC-001
• NYC-WRK-001
To power manage the VMs, switch to Hyper-V Manager, right-click the VM in the Virtual
Machine pane and select Start or Shut Down.
On the login page for Citrix App Layering, type the following credentials to log on:
• Username: administrator
• Password: Password1
Click LOGIN.
190
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Notice that there is Putty-64bit App Layer pre-created which was used to create the
Template for Windows 10. No action is required from you for this particular Putty-64bit App
Layer.
7. From the App Layers menu, right-click Adobe PDF Reader and select Properties.
191
Citrix Course: CWS-314 2I Citrix Education, 2021
8. On the App Layer properties page, under Layer Information field, note the Id number of Adobe
PDF Reader.
192
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Layer Priority defines the order in which layers are searched for a file, or registry
settings when using Elastic Layers, or the order Layers are merged in creating a disk image.
The layer Id number will be compared to the Id number of the other app layer, to determine
the layer priority.
9. From the App Layers menu, right-click Notepad ++ and select Properties.
10. On the App Layer properties page, under Layer Information field, note the Id number of
Notepad ++:
Id 884738 (xD8002)
193
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: In a Layered Image, when Windows views the App Layers, it is from a top-down model
where the highest priority wins. So if a file (or registry entry) exists in two layers, but only one
can be presented to an executing Windows environment, the layer with the highest priority
“wins”.
11. From the App Layers menu, right-click Adobe PDF Reader and select Add Version.
194
Citrix Course: CWS-314 2I Citrix Education, 2021
12. On the Version Details page in the Create App Layer Wizard, type the following information:
• New Version: 2
• Version Description: Conflicting Layer
• Max Layer Size (GB): 10
195
Citrix Course: CWS-314 2I Citrix Education, 2021
196
Citrix Course: CWS-314 2I Citrix Education, 2021
197
Citrix Course: CWS-314 2I Citrix Education, 2021
17. Verify that the Packaging Disk Filename is Adobe PDF Reader.
18. On the Confirm and Complete page, review the settings, and click Add Version.
198
Citrix Course: CWS-314 2I Citrix Education, 2021
19. Click the Up arrow at the bottom of the ELM console to see the details of the Tasks running.
20. In the Tasks menu at the bottom, monitor the state of the currently running task. Click the
information icon for more details.
21. Monitor the task progress and wait for the status to change to Action Required.
Inside the running tasks window, click X to close the event information details.
199
Citrix Course: CWS-314 2I Citrix Education, 2021
You will see a new Virtual Machine created with a name similar to Adobe PDF Reader-YYYY-
MM-DD_Time.
23. From the Action Menu, select the Ctrl+Alt+Delete option and login with the following
credentials:
• Username: Administrator
• Password: Password1
24. Click the File Explorer icon from the taskbar.
25. Click This PC on the left pane of the file explorer and then double-click UDiskBOOT (C:) on
File Explorer.
200
Citrix Course: CWS-314 2I Citrix Education, 2021
28. Double-click the A file and type the below details in the document:
This is the Adobe PDF layer.
Click X on the Notepad and select Save on the “Do you want to save changes to C:\A.txt?”
prompt.
201
Citrix Course: CWS-314 2I Citrix Education, 2021
29. Verify that you see the A.txt file in the UDiskBOOT C:\ drive with a size of 1 KB.
Note: We have now created a text file in C:\ on the Packaging VM of the Adobe Acrobat
Reader App layer. You may recall a similar file being created on the Notepad++ App layer in a
previous exercise. This will allow us to see which App layer will have priority when they are
blended into a new layered image.
30. Click X on the File Explorer.
31. Right-click Start, then select Shut down or sign out > Restart.
32. In the notification window, click Continue.
33. From the Action Menu, select the Ctrl+Alt+Delete option and login with the following
credentials:
• Username: administrator
• Password: Password1
34. Double-click the Shutdown For Finalize icon on the desktop.
35. The script runs, the machine shuts down, and gives the following pop-up:
202
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the ELM console was previously closed, start Internet Explorer and browse to
http://192.168.10.77. Login with the following credentials:
• Username: administrator
• Password: Password1
37. Validate that the status of the App Layer now shows as Deployable.
Note: You can monitor the space available on the ELM from System > Manage Appliance.
Key Takeaways:
203
Citrix Course: CWS-314 2I Citrix Education, 2021
• Layer updates are initiated from the App Layering management console. The
ELM uses a versioning process to perform layer updates.
• Similar to layer creation, ELM creates a temporary VM on the attached
hypervisor host where the updates can be made to the Layer. After the changes
have been finalized, the ELM converts the VM into a new version of the layer.
Step Action
1. Verify you are still connected to the NYC-ELM-001 page using Internet Explorer on the NYC-
FSR-001 machine.
204
Citrix Course: CWS-314 2I Citrix Education, 2021
4. On the Name and Description page, on the Create Template Wizard type the following
information:
• Name: Windows Server 2019 Conflict
• Description: Windows Server 2019 with Conflicting App Layers
Select the disk icon and click the Down Arrow to continue.
205
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the Application Assignment page, select Adobe PDF Reader – 2 and Notepad++ – 1.
Note: We select the Version 2 App Layer for Adobe PDF Reader, which has the A.txt file in
the C:\ drive that creates the conflict between the App Layers Adobe PDF Reader and
Notepad++. Both the layers have the same filename in the location C:\, which creates a
conflict for Windows while presenting the file system to the user on the Layered Image.
206
Citrix Course: CWS-314 2I Citrix Education, 2021
207
Citrix Course: CWS-314 2I Citrix Education, 2021
9. On the Layered Image Disk page, verify or configure the following settings:
208
Citrix Course: CWS-314 2I Citrix Education, 2021
10. On the Confirm and Complete page, click Create Template and Publish.
11. Click the Up arrow at the bottom of the ELM console to see the details of the Tasks running.
209
Citrix Course: CWS-314 2I Citrix Education, 2021
Click the information icon next to the running task for more details.
Key Takeaways:
• Layer Priority defines the order in which Layers are searched for a file or registry
settings when using Elastic Layers or the order layers are merged in creating a
disk image.
210
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Once NYC-SRV-001 finishes starting up, switch to NYC-SRV-001 from within the Remote
Desktop Connection Manager.
5. Using Studio, expand Citrix Studio (SITE-NewYork) and click Machine Catalogs.
In the center pane, right-click the NYC-CAT-ServerOS-Layering Machine Catalog and click
Update Machines.
211
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: As already mentioned in Exercise 6-2, step 12: the warning sign against yhe catalog is
expected. At the time of development of this course this is a known cosmetic warning for
catalogs created using App Layering images. Although the machines are licensed correctly
(which can be confirmed by turning on the machines), the console still presents this warning.
This cosmetic warning can be ignored and it will be addressed in future update of the product.
This warning will not hamper any functionality.
6. On the Overview page, click Next.
212
Citrix Course: CWS-314 2I Citrix Education, 2021
213
Citrix Course: CWS-314 2I Citrix Education, 2021
8. On the Rollout Strategy page, select Immediately (shut down and restart the machine
now).
In the drop-down menu for Distribution time, verify that Update all machines at the same
time is selected.
214
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: You chose this Distribution time option because no users are logged on and you only
have two VM’s. If this machine catalog had multiple VMs running and you did not want to
restart them all at once, then you could have chosen one of the following options:
• 30 minutes
• 1 hour
• 2 hours
• 3 hours
• 4 hours
• 5 hours
All the VMs would then be rebooted during that time interval. An internal algorithm determines
when each machine is updated and restarted during that interval. The default application of
this internal algorithm is to restart machines in sets of 10. This parameter can only be adjusted
using PowerShell.
9. In the drop-down menu for Notify users of the update, select 1 minute before user is logged
off.
Enter the following text in the Message box: As part of scheduled maintenance, your
desktop has been updated and will be rebooted. Please save all your work and log off.
Thank you!
215
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Citrix warns all Citrix Administrators when configuring messages to users, to be mindful
of both company and legal rules, and to not offend, nor violate a user’s rights. Instead, keep
these messages as brief and as formal as possible.
10. On the Summary page, review the configurations and click Finish.
216
Citrix Course: CWS-314 2I Citrix Education, 2021
12. Machine Creation Services (MCS) process will run for next 3-5 minutes to update the machine
catalog.
Meanwhile switch to NYC-SRV-001 from within the Remote Desktop Connection Manager.
13. Verify that a dialog box shows up with the expected message: As part of scheduled
maintenance, your desktop has been updated and will be rebooted. Please save all
your work and log off. Thank you!
Click OK.
217
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This message may take a few minutes to appear. This message means that the
message you configured in the Machine Catalog Update wizard under the notification only
applies to active sessions currently logged on. This message is not queued for new sessions,
as it behaves more like a net send message.
Note: The machine may not restart until a few minutes after the dialog box is accepted. If the
machine doesn’t restart five minutes after the dialog box was accepted, manually restart the
machine.
Key Takeaways:
• The summary of this exercise is to update an existing Citrix Virtual Apps and
Desktops Machine Catalog using Citrix App Layering.
• Updating a machine catalog requires that a new master image be created. By
using App Layering, you were able to create the updated master image by
deploying a virtual machine from a new App Layering Image Template.
As part of this task, you will have one of the users from HR group, HR1 to log on to the
VM and verify if all the Layers are seen and that they are working fine, and observe
which App Layer wins on the Layer conflict that exists on the VM. You will also need to
have the user HR2 from HR group to log on to the VM, who has got an Elastic Layer
assigned to him in the previous modules to see how an Elastic Layer is prioritized.
Step Action
1. Using Remote Desktop Connection Manager, connect to NYC-WRK-001.
218
Citrix Course: CWS-314 2I Citrix Education, 2021
219
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Wait for the HR1 profile to load as this is the first time it loads the profile to this VM. This
may take about 2-3 minutes.
5. Inside the virtual desktop, click Start.
Verify that Adobe PDF Reader and Notepad ++ are present on the machine.
220
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This verifies that the machine being accessed has blended the OS, Platform, and App
Layers that were created in previous exercises. In this case, Notepad++ was included in the
updated layered image and is available to all users accessing the resulting desktops.
6. Click the File Explorer icon from the taskbar.
In the HDX File Access dialog box that appears, select Do not ask me again for this virtual
desktop, then select Read/write access.
221
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Verify if you see the below text on the file once opened:
222
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This confirms that the Layer Conflict does exist between Adobe Acrobat Reader and
Notepad++. Since the Adobe PDF Layer Id number is higher than the Notepad++ Layer Id
number, the A.txt file which was kept on the Adobe PDF App Layer takes precedence in the
Layer Conflict and when Windows views these Layers, it is from a top-down model where the
highest priority wins.
11. Click X on the A file.
12. Click X on File Explorer.
13. Right-click Start menu > Shut down or sign out > Sign out.
14. Log off StoreFront.
15. Back on the StoreFront logon page, click Log On, then log on using the following credentials:
• User name: HR2
• Password: Password1
223
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Be sure to log in as HR2 this time, so that the Notepad++ layer is loaded elastically.
16. Click the DESKTOPS tab and start HR Desktop.
224
Citrix Course: CWS-314 2I Citrix Education, 2021
In the HDX File Access dialog box that appears, select Do not ask me again for this virtual
desktop, then select Read/write access.
225
Citrix Course: CWS-314 2I Citrix Education, 2021
21. Verify if you see the text file “A” in this location.
22. Verify that you see the below text on the file once opened:
Note: Now that Notepad++ is being applied as an Elastic layer, it takes precedence over the
App Layers that were included in the layered image.
23. Click X on the A file.
24. Click X on File Explorer.
25. Right-click Start menu > Shut down or sign out > Sign out.
26. Log off Receiver for Web.
Click the down arrow to the right of the gear icon and select Log Off.
226
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The summary of this exercise is to connect to the machine that got created by
publishing the layered image and to verify how to layer priority works in App
Layering.
• In the Citrix App Layering 4, the default layer priority matches the Layers ID
within the database. IDs always get larger as Layers are created. So if the first
version of Layer AppB was created after the first version of Layer AppA, then
Layer AppB will be at a higher priority than Layer AppA. This means that if there
is a file or registry entry in common between the two Layers the file or registry
entry will be used from Layer AppB.
• In a layered image, when Windows views the App Layers, it is from a top-down
model where the highest priority wins. So if a file (or registry entry) exists in two
Layers, but the only one can be presented to an executing Windows
environment, the Layer with the highest priority “wins”.
Note: If the Citrix Layering Management console was closed, open the console by connecting
to NYC-FSR-001, starting Internet Explorer, navigating to http://192.168.10.77, then logging
in with the following credentials:
• Username: administrator
Password: Password1
227
Citrix Course: CWS-314 2I Citrix Education, 2021
4. On the Image Template Assignment page, select Windows Server 2019 Conflict.
228
Citrix Course: CWS-314 2I Citrix Education, 2021
6. On the Confirm and Complete page, review the configuration, and click Remove
Assignments.
229
Citrix Course: CWS-314 2I Citrix Education, 2021
230
Citrix Course: CWS-314 2I Citrix Education, 2021
8. In the Version Selection page, on the Delete Layer Wizard, click the Down Arrow to
continue.
231
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• Each version of a layer can be deleted individually. Alternatively, all versions of a
Layer can be deleted simultaneously if needed.
• Before an App Layer version can be deleted, you must remove any active
Layered Image and Elastic Layer assignments it has.
232
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-ELM-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-SRV-001
• NYC-VDC-001
233
Citrix Course: CWS-314 2I Citrix Education, 2021
234
Citrix Course: CWS-314 2I Citrix Education, 2021
9. Review the license agreement, and if you agree select, I accept the terms in license
agreement and click Next.
235
Citrix Course: CWS-314 2I Citrix Education, 2021
236
Citrix Course: CWS-314 2I Citrix Education, 2021
13. Once the installation completes, confirm that the Start the Database Management Utility
check box is selected, then click Finish.
237
Citrix Course: CWS-314 2I Citrix Education, 2021
14. In the WEM Database Management Utility window that appears, click Create Database.
238
Citrix Course: CWS-314 2I Citrix Education, 2021
239
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next.
Note: The Data File and Log File locations will populate automatically using the default SQL
file locations.
17. Verify that the checkbox for Use Integrated Connection (Windows Credentials) is selected
and click Next.
240
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the account you are using has sysadmin permissions, then leave the box checked.
Otherwise, uncheck the box, and enter a SQL login that
has sysadmin permissions. Workspacelab\administrator has sysadmin permissions.
18. In the VUEM Administrators section, click Select.
241
Citrix Course: CWS-314 2I Citrix Education, 2021
19. Type Domain Admins, click Check Names, and click OK.
20. Under Database Security, select Use Windows authentication for infrastructure service
database connection.
242
Citrix Course: CWS-314 2I Citrix Education, 2021
243
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next.
244
Citrix Course: CWS-314 2I Citrix Education, 2021
23. Review the Database Informations Summary fields, then click Create Database.
245
Citrix Course: CWS-314 2I Citrix Education, 2021
28. Click Start > Citrix > WEM Infrastructure Service Configuration Utility.
246
Citrix Course: CWS-314 2I Citrix Education, 2021
29. On the Database Settings tab, enter the SQL Server name and database name:
247
Citrix Course: CWS-314 2I Citrix Education, 2021
30. Switch to the Advanced Settings tab. Select the Enable Windows account impersonation
check box.
31. Switch to the Database Maintenance tab and select the Enable scheduled database
maintenance checkbox.
248
Citrix Course: CWS-314 2I Citrix Education, 2021
32. Switch to the Licensing tab, select Global license server override and type NYC-FSR-
001.workspacelab.com in License server name.
Note: If the license server name is copied from the lab manual, make sure there is no extra
space at the end.
33. Click Save Configuration.
249
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Wait for few seconds for the service to restart, as restart of the service will not be
shown.
35. Click X to close the window.
36. Click Yes.
38. In the Run dialog box, type lusrmgr.msc and click OK to open Local Users and Groups
console.
250
Citrix Course: CWS-314 2I Citrix Education, 2021
39. In the left pane, select Groups, then in the right pane, select Administrators.
251
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The Broker service account needs to be part of the local Administrators group.
43. Confirm the Svc-WEM user account is listed and then click OK.
Key Takeaways:
• The WEM Infrastructure Services Broker requires a Microsoft SQL CE instance
to be installed on it along with the product software. A SQL Server Compact is
252
Citrix Course: CWS-314 2I Citrix Education, 2021
used by Citrix WEM to cache settings from the WEM database on SQL, primarily
for use in offline mode.
• WEM has a built-in Database Management utility and wizard that is used to
create and manage the WEM database.
• By default, the Citrix Workspace Environment Management Infrastructure
Services runs as a local system service, but you can specify other credentials for
running it if you want. The specified Windows account must not already have a
login on the SQL instance. You cannot use the same Windows account as both
the database server account and the broker service account.
• Database mirroring is supported for the WEM database, although it is not
configured in this lab environment.
• By default, the Citrix Workspace Environment Management Infrastructure
Services uses Mixed-Mode Authentication (MMA) to connect to the database
(using an account called vuemUser, which is created during database creation).
If you do not want to enable MMA, enable Windows Account Impersonation and
specify a Windows account for the service to impersonate during the connection.
The specified Windows account must be a local administrator on the Citrix WEM
Infrastructure Services machine.
• Enabling scheduled database maintenance deletes old statistics records from the
database at periodic intervals. This can help to manage the growth of the
database over time.
• The license server specified in the global license server override field will
overrule the one configured in the console. It is helpful to the document where
this feature is configured to prevent issues from changing the setting in the
future.
Note: In a previous exercise, you had logged on to NYC-FSR-001 using the following
credentials to make the connection: user name: WORKSPACELAB\Administrator with
Password1 as the password.
253
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If you previously closed this folder, then double-click the Lab Resources folder shortcut
icon on the desktop, and then double-click the Workspace-Environment-Management-v-
2005-01-00-01 folder.
4. Click Next on the Welcome page.
254
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Review the license agreement, and if you agree to select, I accept the terms in license
agreement and click Next.
255
Citrix Course: CWS-314 2I Citrix Education, 2021
8. Click Install.
256
Citrix Course: CWS-314 2I Citrix Education, 2021
9. Click Finish.
257
Citrix Course: CWS-314 2I Citrix Education, 2021
13. Type NYC-FSR-001 as the Infrastructure Server Name and click Connect.
258
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If not able to open the console, open services console and restart Norskale
Infrastructure Service.
14. The WEM Administration Console initially has one Configuration set called Default Site.
CVAD Sites usually have several Machine Catalogs of VDAs used for different published
resources purposes.
It is typical then to create more than one WEM Configuration set to optimize different sets
of VDAs (WEM Agent machines) and manage different sets of user groups. A WEM Agent
machine can only a member of one WEM Configuration Set.
Click Create.
15. In the Create Configuration Set window, type Server Machines in the box.
In the Description box, type WEM settings that apply to server machines and their users.
Click OK.
259
Citrix Course: CWS-314 2I Citrix Education, 2021
16. Click on the Configuration set pull-down menu arrow and select Server Machines as
the active Configuration set.
18. In the Select what to restore page, select Settings, then click Next.
260
Citrix Course: CWS-314 2I Citrix Education, 2021
261
Citrix Course: CWS-314 2I Citrix Education, 2021
262
Citrix Course: CWS-314 2I Citrix Education, 2021
21. Navigate to This PC > Local Disk (C:\) > Lab Resources > Workspace-Environment-
Management-v-2005-01-00-01 > Configuration Templates > and select Default
Recommended Settings template.
Click OK.
263
Citrix Course: CWS-314 2I Citrix Education, 2021
264
Citrix Course: CWS-314 2I Citrix Education, 2021
22. In the Settings, Type Selection section, check all available boxes and click Next.
265
Citrix Course: CWS-314 2I Citrix Education, 2021
266
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Importing the default template will add the recommended settings, but you will not be
aware of all those settings until they are checked manually. One important task after
importing the default template is to add machines to which the WEM settings of the Default
Site configuration set will apply.
26. Now you will add a machine. Click on Active Directory Objects in the left pane.
267
Citrix Course: CWS-314 2I Citrix Education, 2021
268
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the screen resolution of your monitor is low, the Apply button may not be fully visible.
If this is the case, maximize the WEM Administration Console to show the full console
window.
29. In the Organizational Units picker box, navigate to and select workspacelab.com > Citrix >
New York > VDA > Servers. Then click OK.
269
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: All of the provisioned VDAs are in the same AD Organizational Unit (OU). Adding one
machine at a time is not efficient if there are 100s of VDAs. Adding machines by OU
container is typical in production environments.
31. In a later exercise, you will be testing WEMs abilities to manage high CPU-consuming
processes.
We want to test the “before” scenario first, so for now you will turn off WEM CPU
Management.
32. Verify that CPU Management Settings is selected in the upper-left pane.
270
Citrix Course: CWS-314 2I Citrix Education, 2021
33. Untick the Enable CPU Spikes Protection box and click on Apply at the right bottom of the
page.
Click Yes.
271
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The Administration Console can be on a separate machine from the WEM
Infrastructure Services Broker, as long as it can communicate with the Broker
and Agent Host components.
• Multiple WEM Configuration Sets can be created and managed from a single
Infrastructure Services Broker. These are used if different global settings must be
applied to different machines. These Sites are independent from Citrix Virtual
Apps and Desktops Sites and do not have to follow the FMA site topology.
• WEM QuickStart settings are available in the Default Recommended Settings
folder in the Infrastructure Services Broker application folder, and include XML
files which pre-configure the WEM database. The Environmental Settings
included in the QuickStart setting files are a sample lockdown configuration. All
other setting groups are based on leading practices.
• Username: WORKSPACELAB\Administrator
• Password: Password1
272
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Navigate to C:\Windows\PolicyDefinitions.
6. Paste the WEM ADMX file that was copied in the previous step here.
7. Click the back arrow in the upper-left corner of the File Explorer window until you return to the
ADMX folder, then double-click en-US.
273
Citrix Course: CWS-314 2I Citrix Education, 2021
8. Navigate to C:\Windows\PolicyDefinitions\en-US.
Click Start > Windows Administrative Tools > Group Policy Management.
In this case, it is available in Most used section and we will open it from there.
274
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Expand:
Forest: workspacelab.com > Domains > workspacelab.com > Citrix > New York > VDA
275
Citrix Course: CWS-314 2I Citrix Education, 2021
11. Right-click VDA and select Create a GPO in this domain and Link it here.
12. In the New GPO window, in the Name box, type WEM and click OK.
276
Citrix Course: CWS-314 2I Citrix Education, 2021
14. In the left pane, navigate to Computer Configuration > Policies > Administrative
Templates > Citrix Components > Workspace Environment Management > Agent Host
Configuration.
Note: There is more than one Citrix Components section. Choose the one with Workspace
Environment Management nested inside.
15. Double-click Infrastructure server in the right pane.
277
Citrix Course: CWS-314 2I Citrix Education, 2021
16. Click Enabled, then in the Infrastructure server box, type 192.168.10.17 (IP Address of NYC-
FSR-001).
278
Citrix Course: CWS-314 2I Citrix Education, 2021
http://192.168.10.77
On the login page for Citrix App Layering, type the following credentials to log on:
• Username: administrator
• Password: Password1
Click LOGIN.
279
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Notice that there is one Windows 10 Platform Layer pre-created for Exercise 6-5. No
action is required from you for this Windows 10 Platform Layer.
22. As the name seem similar, right-click and select Properties to find out which Platform layer is
PLF layer Win Srv 2019.
280
Citrix Course: CWS-314 2I Citrix Education, 2021
From the Platform Layers menu, right-click PLF Layer Win Srv 2019 and select Add
Version.
281
Citrix Course: CWS-314 2I Citrix Education, 2021
23. On the Version Details page in the Create Platform Version Wizard, type the following
information:
• New Version: 2
• Version Description: Installing WEM Agent
• Max Layer Size (GB): 10
282
Citrix Course: CWS-314 2I Citrix Education, 2021
26. On the Platform Types, settings are pulled from the original platform layer.
283
Citrix Course: CWS-314 2I Citrix Education, 2021
27. Verify that the Packaging Disk Filename is PLF Layer Win Srv 2019.
284
Citrix Course: CWS-314 2I Citrix Education, 2021
28. On the Confirm and Complete page, review the settings and click Add Version.
29. Click the Up arrow at the bottom of the ELM console to see the details of the Tasks running.
30. In the Tasks menu at the bottom, monitor the state of the currently running task. Click the
information icon for more details.
285
Citrix Course: CWS-314 2I Citrix Education, 2021
31. Monitor the task progress and wait for the status to change to Action Required.
You will see a new Virtual Machine created with a name similar to PLF Layer Win Srv 2019-
YYYY-MM-DD_Time.
34. From the Action Menu, select the Ctrl+Alt+Delete option and login with the following local
credentials:
• Username: Administrator
• Password: Password1
286
Citrix Course: CWS-314 2I Citrix Education, 2021
287
Citrix Course: CWS-314 2I Citrix Education, 2021
288
Citrix Course: CWS-314 2I Citrix Education, 2021
40. Keep the destination folder location to default and click Next
289
Citrix Course: CWS-314 2I Citrix Education, 2021
42. In the Infrastructure Service Configuration page, ensure Configure the Infrastructure
Service is selected and it populates IP 192.168.10.17.
290
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The provisioned MCS-based VDAs have a formatted MCS cache drive (drive D:\).
However, the Platform Layer image has no D:\ drive until it’s merged with the VDAs in the
Machine Catalog. Entering “D:\” in the installer UI now would generate an error. We will add
the “D:\” Alternative Cache Location in the registry after install.
291
Citrix Course: CWS-314 2I Citrix Education, 2021
292
Citrix Course: CWS-314 2I Citrix Education, 2021
Verify-in the right pane that the BrokerSvcName is configured with the WEM Infrastructure
Server IP address: 192.168.10.17
293
Citrix Course: CWS-314 2I Citrix Education, 2021
294
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
51. Confirm the key now has the Data value of D:\
295
Citrix Course: CWS-314 2I Citrix Education, 2021
53. In the Command Prompt window, type each of the following commands. Press Enter after
each command.
cd c:\Windows\Microsoft.Net\Framework\v4.0.30319
ngen update
Note: NGEN compiles the .NET assemblies ahead of time so that .NET applications run
faster. They run faster because they do not need to compile the assemblies at run time.
Note: Please ignore any errors that appear, as only the available .NET modules will get
updated when we run the above command. Error messages will be displayed for any modules
that are not present.
54. Click X to close Command Prompt, once the optimizations are completed.
55. Right-click Start, then select Shut down or sign out > Restart.
56. From the Action Menu, select the Ctrl+Alt+Delete option and login with the following local
credentials:
296
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: administrator
• Password: Password1
57. Double-click the Shutdown For Finalize icon on the desktop.
58. Let the script run without intervention. The machine will shut down and display the following
pop-up:
Note: If the ELM console was previously closed, start Internet Explorer and browse to
http://192.168.10.77. Login with the following credentials:
• Username: administrator
• Password: Password1
60. From the Platform Layers menu, right-click PLF Layer Win Srv 2019 and select Properties.
297
Citrix Course: CWS-314 2I Citrix Education, 2021
298
Citrix Course: CWS-314 2I Citrix Education, 2021
63. As the name seem similar, right-click and select properties to find out which template is
Windows Server 2019 Test.
299
Citrix Course: CWS-314 2I Citrix Education, 2021
64. Make no change to Name and Description, click the Down Arrow to continue.
300
Citrix Course: CWS-314 2I Citrix Education, 2021
66. On the Application Assignment page, select Adobe PDF Reader – 2 (green icon) and change
to Version 2
Click the Down Arrow to continue.
301
Citrix Course: CWS-314 2I Citrix Education, 2021
68. On the Platform Layer page, click on + sign to expand PLF Layer Win Srv 2019 – 2 and
select Version 2 (green icon).
302
Citrix Course: CWS-314 2I Citrix Education, 2021
69. On the Layered Image Disk page, verify the following settings:
70. On the Confirm and Complete page, click Save Template and Publish.
303
Citrix Course: CWS-314 2I Citrix Education, 2021
71. Click the Up arrow at the bottom of the ELM console to see the details of the Tasks running.
Click the information icon next to the running task for more details.
304
Citrix Course: CWS-314 2I Citrix Education, 2021
76. Using Studio, expand Citrix Studio (SITE-NewYork) and click Machine Catalogs.
In the center pane, right-click the NYC-CAT-ServerOS-Layering Machine Catalog and click
Update Machines.
77. On the overview page, click on the Delivery Group and click Next.
305
Citrix Course: CWS-314 2I Citrix Education, 2021
78. On the Master Image page, select Windows Server 2019 Test -YYYY-MM-DD_TIME.
Ensure you select the master image which was created some time back, hence its name
should reflect the date and time.
306
Citrix Course: CWS-314 2I Citrix Education, 2021
79. On the Rollout Strategy page, select Immediately (shut down and restart the machine
now).
In the drop-down menu for Distribution time, verify that Update all machines at the same
time is selected.
307
Citrix Course: CWS-314 2I Citrix Education, 2021
80. On the Summary page, review the configurations and click Finish.
308
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: We have now merged the Platform Layer, with the WEM Agent installed, with the
Machine Catalog. One of the resultant provisioned machines; NYC-SRV-001 is running and
the WEM Agent has connected to the WEM Broker to retrieve WEM settings.
Power on NYC-SRV-002 from the studio so that the machine gets updated.
Key Takeaways:
• The installation of the Agent component is the same for Desktop OS and Server
OS VDAs.
• The same configuration settings can be applied to both types of VDAs via GPO.
309
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are Running before beginning the exercises in this module:
• NYC-ADS-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-VDC-001
310
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If not currently connected to NYC-FSR-001, right-click this machine and choose
Connect server.
• Username: WORKSPACELAB\Administrator
• Password: Password1
5. Click Start > Citrix > WEM Administration Console.
6. Click Connect.
311
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Verify the details are as per the below screenshot and click Connect.
312
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If you are unable to see the Administration tab, pull the divider (one with three dots
highlighted above) up and down. If you still don’t see the Administration tab it is because of
your screen resolution. You can connect to NYC-FSR-001 from the Hyper-V manager as a
workaround.
10. In the upper left pane, select Agents.
313
Citrix Course: CWS-314 2I Citrix Education, 2021
11. NYC-SRV-001 & NYC-SRV-002 machines are seen in the right pane. If they aren’t displayed,
click the Refresh button at the bottom of the right corner.
12. Verify that the Synchronization State shows green checkmarks, which means the target is
connected and synchronized with the WEM Infrastructure service.
Note: If the Synchronization State shows an unknown icon (see image below), power on the
respective machine. If running, right-click on the particular entry in the WEM Administration
Console and select Refresh Cache.
314
Citrix Course: CWS-314 2I Citrix Education, 2021
Wait a couple of minutes and click the Refresh button at the bottom of the window. The
Synchronization State should appear green.
13. Close the WEM Administration console. Click Yes to exit.
Key Takeaways:
• An Agent Host must appear within the Agents pane of the administration console
to successfully synchronize with the Infrastructure Service. If an agent does not
appear as expected, force the WEM Agent to initiate a synchronization process
by using the Refresh Cache option.
315
Citrix Course: CWS-314 2I Citrix Education, 2021
Without a policy to hide the MCS cache drive, users would have access to the MCS
cache drive (D:\ ) Issues would arise if a user detaches the drive or deletes items from
it.
Step Action
1. Using the Remote Desktop Connection manager, connect to NYC-ADS-001.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Start the Group Policy Management Console.
Click Start > Windows Administrative Tools > Group Policy Management.
In this case it is available in Most used section and we will open it from there.
316
Citrix Course: CWS-314 2I Citrix Education, 2021
3. In the Group Policy Management window, expand Domains > Workspacelab.com > Citrix >
New York > VDA.
317
Citrix Course: CWS-314 2I Citrix Education, 2021
4. Right-click on the Hide Drives Group Policy Object and click Delete.
318
Citrix Course: CWS-314 2I Citrix Education, 2021
5. When prompted: “Do you want to delete this link?” Click OK.
6. Expand on the Group Policy Objects folder and click on the Hide Drives GPO to highlight it.
319
Citrix Course: CWS-314 2I Citrix Education, 2021
320
Citrix Course: CWS-314 2I Citrix Education, 2021
321
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Name the folder Group Policy, select it and click OK.
11. Click Back Up and wait until the GPO backup has succeeded.
322
Citrix Course: CWS-314 2I Citrix Education, 2021
323
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
12. Close the Group Policy Management window by clicking the X in the top right-hand corner.
13. From the Desktop, double-click the Lab Resources icon.
15. Select both files, right-click on the files, click Send to and click Compressed (zipped) folder.
324
Citrix Course: CWS-314 2I Citrix Education, 2021
17. Close the Windows Explorer window by clicking the X in the top right-hand corner.
18. Using the Remote Desktop Connection Manager, connect to NYC-FSR-001.
325
Citrix Course: CWS-314 2I Citrix Education, 2021
21. Confirm that the Console is set to connect to NYC-FSR-001 on port 8284, then click Connect.
326
Citrix Course: CWS-314 2I Citrix Education, 2021
327
Citrix Course: CWS-314 2I Citrix Education, 2021
23. In the Actions items, click Group Policy Settings, and then click the Enable Group Policy
Settings Processing check box.
328
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the screen resolution of your monitor is low, the Import button may not be fully visible.
If this is the case, maximize the WEM Administration Console to show the full console
window.
25. From the Import Group Policy Settings dialog, click Browse.
26. In the File Explorer window, click on This PC and navigate to Local Disk (C:) > Lab
Resources > Group Policy and click on manifest.zip to highlight the file.
329
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Open.
27. On the Import Group Policy Settings dialog, click Start Import.
330
Citrix Course: CWS-314 2I Citrix Education, 2021
28. Wait until the Import has completed and click Finish.
331
Citrix Course: CWS-314 2I Citrix Education, 2021
29. The Hide Drives GPO has now been imported and will apply to users because the original
Hide Drives GPO did also.
Note: The source GPO has been removed from the AD Group Policy Management Console
and no longer applies to the OU. This is important because you do not want the same Group
Policy setting applying twice: one in the AD GPO and one through WEM.
332
Citrix Course: CWS-314 2I Citrix Education, 2021
30. In the next Module, you will use the “Hide Drives” Group Policy Settings entry and apply it to
users.
For now, close the WEM Administration Console by clicking on the X at the top right.
Key Takeaways:
• The GPO import feature of WEM is very useful when migrating AD Group Policy
Objects into the WEM Administration Console. The alternative option of
replicating every GPO setting manually would be time consuming and open to
making mistakes. Multiple AD GPOs can be exported in bulk and then imported
into a single import task.
• Don’t forget to disable or delete the original GPO from AD as the settings should
only apply once – as WEM settings.
333
Citrix Course: CWS-314 2I Citrix Education, 2021
The Citrix Architect informs you that a tool called CPU Eater is available to simulate a
CPU spike, which can provide a baseline of expected performance during a period of
high CPU utilization. You are tasked with using CPU Eater to test the performance
optimization settings of Workspace Environment Management in the development
environment.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
2. Verify that the following VMs are Running before beginning the exercises in this module:
• NYC-ADS-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-SRV-001
• NYC-SRV-002
• NYC-STF-001
• NYC-VDC-001
• NYC-WRK-001
• Username: WORKSPACELAB\Administrator
• Password: Password1
4. Right-click the Windows taskbar and select Task Manager.
334
Citrix Course: CWS-314 2I Citrix Education, 2021
335
Citrix Course: CWS-314 2I Citrix Education, 2021
7. On the CPU Eater page, confirm the Working threads number is 12, then click On.
336
Citrix Course: CWS-314 2I Citrix Education, 2021
337
Citrix Course: CWS-314 2I Citrix Education, 2021
9. Right-click any of the headings, for example, Status, and click Select columns.
338
Citrix Course: CWS-314 2I Citrix Education, 2021
11. Sort the apps with CPU and Notice that the CpuEater.exe is taking almost 100% CPU and
has a Base priority as Normal.
339
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Notice that it takes up to a minute to open the System in a stressed environment where
CPU utilization is very high.
13. Close the System window.
14. Click Off on the CPU Eater application.
15. Close the CPU Eater application and close Task Manager.
16. Right-click Start, then select Shut down or sign out > Sign out.
340
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• CPU Eater and similar tools can be used to simulate high resource utilization
conditions on a VDA. This is useful to provide a baseline of the expected HDX
user experience during spikes in CPU usage.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Click Start > Citrix > WEM Administration Console and click Connect.
341
Citrix Course: CWS-314 2I Citrix Education, 2021
3. Confirm that the Console is set to connect to NYC-FSR-001 on port 8284, then click Connect.
342
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Under the CPU Management Settings tab in the right pane, select Enable CPU Spikes
Protection.
343
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: By default, the settings of Auto Prevent CPU Spikes, Enable Intelligent CPU
Optimization, and Enable Intelligent I/O Optimization are automatically selected, after
enabling CPU Spikes Protection. Default settings are effective in most situations.
8. Click Apply.
344
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: For machine-based WEM settings, such as System Optimization, you must click the
Apply button after making configuration changes. Otherwise, the changes will not be
committed and saved to the WEM database. User-based WEM settings do not have this
requirement.
Key Takeaways:
• The System Optimization settings within WEM can be used to optimize CPU
usage on the WEM Agent Host. Beyond CPU spikes protection, CPU affinity and
priority can be defined at the process level.
• Memory and I/O management settings are also available, which collectively
enables administrators to have a high degree of control over how resources are
used within the VDAs in a Citrix Virtual Apps and Desktops Site.
• Keep in mind that System Optimization settings will be applied to all Agents
Hosts (for example, VDAs) which are synchronized to the WEM Configuration
345
Citrix Course: CWS-314 2I Citrix Education, 2021
set. Create multiple WEM Configuration sets if different global settings are
required for different groups of VDAs.
• Default CPU Management settings are effective for most situations. Always begin
testing with default settings and only adjust Customize CPU Spike Protection
values and/or Enable CPU Core Usage Limit values to tweak CPU
Management if necessary.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Right-click the Windows taskbar and select Task Manager.
346
Citrix Course: CWS-314 2I Citrix Education, 2021
5. On the CPU Eater page, confirm the Working threads number is 12, then click On.
347
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Notice that the Base priority of the CpuEater.exe has changed to Low.
Note: If the Base priority is still displaying a Normal value, wait a few minutes until the value
shows as Low before proceeding. If even that does not work, sign out and log back into NYC-
SRV-001 and repeat the steps.
Note: CpuEater.exe will continue to use all available processing power if it is available.
However, because it has a Low base priority, it will not impact the performance of processes
with a Normal or higher base priority.
348
Citrix Course: CWS-314 2I Citrix Education, 2021
8. Click Start > System and notice that the System window opens within 1-2 seconds, as a
result of WEM CPU Management being enabled.
9. Close the System and Task Manager windows.
10. Click Off on the CPU Eater and close it.
11. Click Start > Shut down or sign out > Sign out.
Key Takeaways:
• The Enable CPU Spikes Protection setting does not lower the percentage CPU
usage of a CPU-hungry process. Instead, it lowers the process’s CPU priority,
giving it a low CPU queue position. This allows other processes with a higher
CPU priority to get the CPU time they need, greatly improving the user
experience.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Click Start > Citrix > WEM Administration Console and click Connect.
349
Citrix Course: CWS-314 2I Citrix Education, 2021
3. Confirm that the Console is set to connect to NYC-FSR-001 on port 8284, then click Connect.
350
Citrix Course: CWS-314 2I Citrix Education, 2021
7. From the tabs, click the Scroll right arrow and select the StoreFront tab.
351
Citrix Course: CWS-314 2I Citrix Education, 2021
352
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Verify the Store URL entry and then click the Apply button at the bottom of the page.
353
Citrix Course: CWS-314 2I Citrix Education, 2021
354
Citrix Course: CWS-314 2I Citrix Education, 2021
14. In the New Application window, type Calculator into the Name box.
355
Citrix Course: CWS-314 2I Citrix Education, 2021
15. From the Application Type pull-down menu, select StoreFront store.
356
Citrix Course: CWS-314 2I Citrix Education, 2021
357
Citrix Course: CWS-314 2I Citrix Education, 2021
18. In the Store Resources window, select Calculator and click OK.
19. Verify the Store Resource shows Calculator and click OK.
358
Citrix Course: CWS-314 2I Citrix Education, 2021
20. Verify that the Calculator app has been added to the list of Applications.
359
Citrix Course: CWS-314 2I Citrix Education, 2021
360
Citrix Course: CWS-314 2I Citrix Education, 2021
22. • In the New Application window, type WordPad into the Name box.
• From the Application Type pull-down menu, select StoreFront store.
• Verify that the Store URL value is:
https://storefront.workspacelab.com/Citrix/Store.
• Click Browse
23. It should log you in since you entered the credentials sometime back.
361
Citrix Course: CWS-314 2I Citrix Education, 2021
24. In the Store Resources window, select WordPad and click OK.
362
Citrix Course: CWS-314 2I Citrix Education, 2021
25. Verify the Store Resource shows WordPad and click OK.
363
Citrix Course: CWS-314 2I Citrix Education, 2021
26. Verify that the WordPad app has been added to the list of Applications.
27. After creating the Calculator and WordPad Application Actions, the next step is to assign them
to only the HR users.
28. Notice that there is only one group of users listed – the Everyone group.
That means that the Actions we created can only be assigned using the Everyone group.
364
Citrix Course: CWS-314 2I Citrix Education, 2021
We want the Actions we created to apply only to the HR group of users. So we first add that
group to the list.
365
Citrix Course: CWS-314 2I Citrix Education, 2021
31. In the Select Users or Groups window, enter HR into the box and click Check Names.
32. In the Multiple Names Found window, select HR and click OK.
366
Citrix Course: CWS-314 2I Citrix Education, 2021
367
Citrix Course: CWS-314 2I Citrix Education, 2021
368
Citrix Course: CWS-314 2I Citrix Education, 2021
36. In the Available pane on the left, expand Applications and double-click on Calculator.
37. In the Assign Filter window, verify that the Selected Filter is set to Always True.
Click OK.
38. Review the right pane and note that the Calculator published app icon will appear in the Start
Menu.
369
Citrix Course: CWS-314 2I Citrix Education, 2021
40. In the Available pane on the left, expand Applications and double-click on WordPad.
41. In the Assign Filter window, verify that the Selected Filter is set to Always True.
Click OK.
370
Citrix Course: CWS-314 2I Citrix Education, 2021
43. Verify that Calculator and WordPad both have Create Desktop and Create Start Menu
items with green icons (Enabled).
371
Citrix Course: CWS-314 2I Citrix Education, 2021
44. The apps have now been assigned to the HR user group. The request was to assign
everyone the Network Drive, but only for Desktop sessions.
In the left pane, click Network Drives from the list of Actions.
46. • In the New Network Drive window, type Network Drive in the Name box.
• In the Target Path box, type \\NYC-FSR-001\Resources\Network Drive
• Verify that the Network Drive State is set to Enabled.
372
Citrix Course: CWS-314 2I Citrix Education, 2021
373
Citrix Course: CWS-314 2I Citrix Education, 2021
47. Verify that Network Drive has been added to the list of Network Drives.
48. After creating the Network Drive Action, the next step is to create a rule so that the drive only
appears in Desktop sessions.
374
Citrix Course: CWS-314 2I Citrix Education, 2021
51. In the New Filter Conditions window, type Desktops only into the Name box,
In the Description box, type Desktop sessions only
From the Filter Condition Type pull-down menu, select User SBC Resource Type.
From the Matching Result pull-down menu, select Desktop.
375
Citrix Course: CWS-314 2I Citrix Education, 2021
52. Verify that the Desktops only Filter Condition has been added to the list.
376
Citrix Course: CWS-314 2I Citrix Education, 2021
377
Citrix Course: CWS-314 2I Citrix Education, 2021
56. Select Desktops only from the available Filter Conditions and click the “>” symbol to move it
into the Configured pane.
378
Citrix Course: CWS-314 2I Citrix Education, 2021
57. The next task is to assign the Action to users, while controlling how it applies using the Rule.
379
Citrix Course: CWS-314 2I Citrix Education, 2021
380
Citrix Course: CWS-314 2I Citrix Education, 2021
59. In the Available pane on the left, expand Actions > Drives > Network.
Select Network Drive.
Click OK.
381
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The Network Drive has now been assigned to Everyone, and only for Desktop sessions.
62. The next task is to assign the Welcome script, just to user HR2.
In the left pane, select Actions.
63. In the left pane, use the scroll arrow to navigate to and select External Tasks.
382
Citrix Course: CWS-314 2I Citrix Education, 2021
383
Citrix Course: CWS-314 2I Citrix Education, 2021
66. Verify that the Test Logon Script entry has been added to the External Tasks list.
384
Citrix Course: CWS-314 2I Citrix Education, 2021
67. The next task is to create a rule so that the Action only applies to user HR2.
385
Citrix Course: CWS-314 2I Citrix Education, 2021
386
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Even though there is a pull-down menu for the Settings section, you must type in the
values.
387
Citrix Course: CWS-314 2I Citrix Education, 2021
71. Verify that the User HR2 entry has been added to the Filter Conditions list.
388
Citrix Course: CWS-314 2I Citrix Education, 2021
389
Citrix Course: CWS-314 2I Citrix Education, 2021
Verify the settings with the image below and click OK when complete.
Note: Rules can be made up of multiple Conditions. Conditions are ANDed together (Boolean
AND).
390
Citrix Course: CWS-314 2I Citrix Education, 2021
75. Verify that the Assign to user HR2 entry has been added to the Filter Rule List.
76. The next task is to assign the Welcome script Action to user HR2, and only for Desktop
sessions.
391
Citrix Course: CWS-314 2I Citrix Education, 2021
77. In the Action Assignment section, select WORKSPACELAB\HR from the Users list.
79. In the left-hand Available pane, expand Actions > External Tasks. Select Test Logon
Script.
392
Citrix Course: CWS-314 2I Citrix Education, 2021
In the Assign Filter window, select Assign to user HR2 from the Select Filter pull-down menu.
Then click OK.
81. In the right-hand Assigned pane, verify that the Test Logon Script has been added to the
External Tasks.
393
Citrix Course: CWS-314 2I Citrix Education, 2021
82. The final task in your list is to hide the MCS cache drive from all users. This Action uses the
“Hide Drives” GPO imported into WEM in Exercise 10-2.
83. In the left Available pane, expand Group Policy Settings and double-click on Hide Drives.
84. Select Always True from the Selected Filter pull-down menu in the Assign Filter window.
Click OK.
394
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• WEM Actions are used to create user resources such as network drives,
application shortcuts, and printers.
• WEM Actions apply only to users or groups of users and apply when a user
starts a session.
• WEM Actions are very powerful as there are many different categories of Actions
and they can be assigned according to rules that are subject to one or more
granular conditions.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Start the Group Policy Management Console.
395
Citrix Course: CWS-314 2I Citrix Education, 2021
396
Citrix Course: CWS-314 2I Citrix Education, 2021
4. Right-click MicrosoftPolicy Profile Management, then select Link Enabled to remove the
checkmark beside it. This will disable the link.
5. In the right-hand pane, click on the Scope tab and verify that the MicrosoftPolicy Profile
Management GPO is no longer enabled for the Transformer OU.
Note: This is being completed so that Citrix Profile Management settings can be applied to the
machine through the WEM Administration Console, rather than through the GPO.
397
Citrix Course: CWS-314 2I Citrix Education, 2021
398
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Right-click MicrosoftPolicy Profile Management, then select Link Enabled to remove the
checkmark beside it. This will disable the link.
8. In the right-hand pane, click on the Scope tab and verify that the MicrosoftPolicy Profile
Management GPO is no longer enabled for the VDA OU and the Transformer OU.
399
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
11. Click Start > Citrix > WEM Administration Console.
13. Verify the details are as per below screenshot and click Connect.
400
Citrix Course: CWS-314 2I Citrix Education, 2021
401
Citrix Course: CWS-314 2I Citrix Education, 2021
17. In the Main Citrix Profile Management Settings tab, select Enable Profile Management
Configuration.
402
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This setting is required in order to configure further Citrix Profile Management settings.
18. In the Profile Management section, configure the following settings:
403
Citrix Course: CWS-314 2I Citrix Education, 2021
19. In the Select Groups window, type Domain Users in the box.
Click Check Names.
Then click OK.
404
Citrix Course: CWS-314 2I Citrix Education, 2021
20. Verify that WORKSPACELAB\Domain Users have been added to the Set processed
groups box.
405
Citrix Course: CWS-314 2I Citrix Education, 2021
406
Citrix Course: CWS-314 2I Citrix Education, 2021
\\NYC-FSR-001\CitrixProfiles$\#SAMAccountName#\!CTX_OSNAME!!CTX_OSBITNESS!
22. Verify that all settings have been correctly configured and then click the Apply button.
407
Citrix Course: CWS-314 2I Citrix Education, 2021
23. Select the Profile Handling tab. Configure the following settings:
Click Apply.
408
Citrix Course: CWS-314 2I Citrix Education, 2021
24. Select the Advanced Settings tab. Configure the following settings:
409
Citrix Course: CWS-314 2I Citrix Education, 2021
410
Citrix Course: CWS-314 2I Citrix Education, 2021
26. Select the File System tab. Configure the following settings:
411
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The default exclusion lists should be reviewed and modified as needed for production
environments. For the development environment, the default lists will be used.
27. To the right of the category tabs, click the right arrow button a few times, then select the
Streamed User Profiles tab.
412
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The WEM Administration Console gives admins the easiest and most intuitive
method of configuring Citrix Profile Management.
• All Citrix Profile Management settings in the WEM Console Current Release (CR)
match the latest CR version of the Citrix Profile Management product.
413
Citrix Course: CWS-314 2I Citrix Education, 2021
3. In the Command Prompt window, type gpupdate /force, then press Enter.
Wait for the command to complete.
Note: This is being done to ensure that the VDA stops applying the Microsoft Roaming
Profiles policy.
4. Close the Command Prompt window.
414
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Right-click Start, then select Shut down or sign out > Restart.
Note: NYC-SRV-001 will reboot. Wait a couple of minutes until you see the NYC-SRV-001
logon screen in the Hyper-V console.
• Username: WORKSPACELAB\Administrator
• Password: Password1
9. Open Internet Explorer from the Task Bar.
415
Citrix Course: CWS-314 2I Citrix Education, 2021
11. On the Citrix StoreFront page Click the DESKTOPS tab and start HR Desktop.
416
Citrix Course: CWS-314 2I Citrix Education, 2021
13. Open Windows Explorer from the Task Bar and in the left-hand pane of Windows Explorer,
click on This PC.
Note: If the HDX File Access window appears, click the Read/Write access option.
417
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Note that the logon script message does not appear for the HR1 user.
15. Close the File Explorer window.
16. In the HR Desktop session, click Start, then select Profile icon > Sign out.
418
Citrix Course: CWS-314 2I Citrix Education, 2021
17. In the Citrix StoreFront page, click on the gears icon and select Log off, to log off user HR1.
419
Citrix Course: CWS-314 2I Citrix Education, 2021
420
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
Note: The HR2 user has the logon script applied to their session as a result of the filter rule
applied to the resource.
421
Citrix Course: CWS-314 2I Citrix Education, 2021
23. In the HR Desktop session, click Start, then select Profile icon > Sign out.
422
Citrix Course: CWS-314 2I Citrix Education, 2021
423
Citrix Course: CWS-314 2I Citrix Education, 2021
If NYC-FSR-001 is not connected, right-click the server and click Connect Server.
Note: NYC-SRV-001 was logged onto by HR1 and HR2. Therefore, both accounts will have
Citrix Profile Management profiles created and centrally stored.
Verify that profiles have been created by Citrix Profile Management for the HR1 and HR2
users.
Key Takeaways:
• Once applied, the WEM user environment settings display the same behavior as
if they were configured via Group Policy Objects and Group Policy Preferences.
424
Citrix Course: CWS-314 2I Citrix Education, 2021
Additionally, the current change management process would not give the Citrix team
enough time to fine-tune the settings in time for a production rollout. A colleague
suggests utilizing specific WEM settings instead of using Group Policy. The AD team
agrees to allow this if it is only applied to the Citrix environment and does not conflict
with existing Group Policy settings. The HR team has agreed to serve as the test group.
Your task is to use WEM to apply settings that prevent the HR group from performing
specific actions, such as editing the registry, accessing network settings, and viewing
system settings in the Control Panel. To start, you decide to verify the permissions an
HR user currently has within a Server OS VDA in the development Citrix Virtual Apps
and Desktops environment.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-DST-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-SRV-001
• NYC-SRV-002
• NYC-STF-001
• NYC-VDC-001
• NYC-WRK-001
425
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Click Connect.
6. Wait for the Windows Desktop to appear.
When the Citrix Workspace Add Account window displays, enter the StoreFront Store
details:
https://storefront.workspacelab.com/Citrix/Store
426
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Note: If you are not prompted with the Add Account window, use the Citrix Workspace app
icon in the Notifications area:
To Add Account, if one has not been configured, right-click the Citrix Workspace app icon
and select Open.
To enter account credentials to Citrix Workspace, right-click on the Citrix Workspace app
icon and select Log On.
Note: If the Notifications area does not show the Workspace App icon, go to Start and search
for Citrix Workspace and open it.
427
Citrix Course: CWS-314 2I Citrix Education, 2021
8. When prompted, log into Citrix Workspace app using the following credentials:
• Username: HR1
• Password: Password1
428
Citrix Course: CWS-314 2I Citrix Education, 2021
11. Inside the virtual desktop, right-click Start and select Run.
429
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: You have shown that the Registry Editor can be accessed by end-users.
14. Close the Registry Editor window by clicking the X at the top-right of the window.
430
Citrix Course: CWS-314 2I Citrix Education, 2021
16. In the left pane, click Ethernet. In the right pane, click Change adapter options.
431
Citrix Course: CWS-314 2I Citrix Education, 2021
18. Verify that the Ethernet status window appears, and then click Close.
432
Citrix Course: CWS-314 2I Citrix Education, 2021
19. Close the Network Connections window by clicking the X at the top-right of the window.
20. Close the Network & Internet Settings window by clicking on the X at the top-right.
433
Citrix Course: CWS-314 2I Citrix Education, 2021
21. Verify at the bottom right corner of the taskbar that current date and time are displayed.
Note: Time and date will not match with the screenshot.
22. Click on the Start button and select Control Panel from the menu.
Verify that it opens successfully.
23. Close Control Panel by clicking the X at the top-right of the window.
434
Citrix Course: CWS-314 2I Citrix Education, 2021
24. On the HR Desktop, right-click Start, then select Shut down or sign out > Sign out.
25. On the Citrix StoreFront window, click on the APPS tab, and then click on Notepad to launch
the app.
435
Citrix Course: CWS-314 2I Citrix Education, 2021
26. In the published Notepad app, click File > Save As.
Note: If a Citrix Receiver Security Warning dialog box appears, click the checkbox next to Do
not ask me again for this site and then select Permit all access.
28. In the left pane, right-click ULayeredImage (C:), then select Open in new window.
436
Citrix Course: CWS-314 2I Citrix Education, 2021
29. In the new Windows Explorer window, navigate to Windows > System32.
437
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Note how a non-privileged user is able to access the local drive of the VDA and run
from the command-line within the published session.
31. Close the cmd.exe window.
32. Click into the Windows Explorer address bar. Delete all text in the address bar.
Note: The unprivileged user now has access to all the Control Panel information and
functionality for the VDA. For example, the user can see which other programs are installed
on the VDA.
438
Citrix Course: CWS-314 2I Citrix Education, 2021
35. Click the Back arrow symbol to return to the main Control Panel page.
36. Under View by, click the drop-down menu and select Small icons.
439
Citrix Course: CWS-314 2I Citrix Education, 2021
38. Close all open windows except for the original Notepad window. Click Help, then select View
Help.
440
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The unprivileged user has now launched a web browser on the same VDA. If web
access is not restricted, the user would now be able to download any files they wish to the
local drive of the VDA.
40. Close all open windows in the session, including Notepad.
41. Log out of Citrix Workspace by clicking the downward arrow next to the gear icon, then
selecting Log off.
441
Citrix Course: CWS-314 2I Citrix Education, 2021
42. Close the Citrix Workspace window by clicking the X in the top-right of the window.
43. Log out of the NYC-WRK-001, right-click Start > Shut down or sign out and select Sign out.
Key Takeaways:
• Be sure to establish a baseline of current behavior before testing any changes to
the user environment. This can help administrators to verify the impact of any
new changes.
• Application breakouts can occur when users inadvertently or maliciously use the
existing functionality of an application to access unintended and unauthorized
portions of the host machine’s operating system, as well as other machines and
resources on the same network as the host machine.
442
Citrix Course: CWS-314 2I Citrix Education, 2021
• Each application will have unique breakout points, especially if installed with the
default settings. The first step in addressing these is to test the application for
potential breakouts, either internally or through the use of a pen-testing service.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Click Start > Citrix > WEM Administration Console.
443
Citrix Course: CWS-314 2I Citrix Education, 2021
3. Click Connect.
444
Citrix Course: CWS-314 2I Citrix Education, 2021
445
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If the screen resolution of your monitor is low, the Apply button may not be fully visible.
If this is the case, maximize the WEM Administration Console to show the full console
window.
8. Click the Desktop tab and select Hide Network Connections.
446
Citrix Course: CWS-314 2I Citrix Education, 2021
447
Citrix Course: CWS-314 2I Citrix Education, 2021
448
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Under the Drives Restrictions section, select the checkbox next to Hide Specified Drives
from Explorer and Restrict Specified Drives from Explorer.
Note: Hide Specified Drives from Explorer will prevent the specified drive icons from being
visible in Explorer. However, users can still access the drives through other means, such as
entering the drive into the navigation bar or clicking a link. Restrict Specified Drives from
Explorer will prevent the specified drives from being accessed by any means, for the affected
users. However, it will not hide the drive icons in Explorer. Both settings should be used to get
both hidden and restricted drives.
11. Next to each option, click Add, then click the checkboxes next to C and D.
449
Citrix Course: CWS-314 2I Citrix Education, 2021
12. Once the C and D drives have been selected for each option, click the Apply button at the
bottom of the page.
13. Click Control Panel tab and select Hide Control Panel.
450
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• User Environment Settings are applied globally to all WEM Agent Hosts in the
WEM configuration set.
• Environmental Settings include many frequently used Windows lockdown
settings, including hiding administrative icons, tools, Control Panel options, and
other administrative interfaces.
451
Citrix Course: CWS-314 2I Citrix Education, 2021
452
Citrix Course: CWS-314 2I Citrix Education, 2021
453
Citrix Course: CWS-314 2I Citrix Education, 2021
3. In the right pane under the Process Management tab, check Enable Process Management.
454
Citrix Course: CWS-314 2I Citrix Education, 2021
6. In the box below New Process Name to Blacklist, type chrome.exe and click OK.
8. Click Add button again. In the box below New Process Name to Blacklist, type iexplore.exe
and click OK.
455
Citrix Course: CWS-314 2I Citrix Education, 2021
456
Citrix Course: CWS-314 2I Citrix Education, 2021
457
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: We have just completed changes to the Server Machines Configuration Set. There
hasn’t been time for the settings to propagate to NYC-SRV-001 and NYC-SRV-002 so you are
requesting these WEM Agent machines update their WEM settings, using the Refresh Cache
option.
13. Right-click on NYC-SRV-002 and click Refresh Cache.
Key Takeaways:
• Similar to System Optimization Settings, Environmental Settings are applied
globally to all WEM Agents in the WEM Configuration set.
• Environmental Settings include many frequently used Windows lockdown
settings, including hiding administrative icons, tools, Control Panel options, and
other administrative interfaces.
458
Citrix Course: CWS-314 2I Citrix Education, 2021
3. Click Connect.
4. Open the Citrix Workspace app and click Log On.
Note: If the Workspace App icon is not present in the notification area, open it from Start
menu.
5. Log on using the following credentials:
• Username: HR1
• Password: Password1
459
Citrix Course: CWS-314 2I Citrix Education, 2021
6. Right-click the Citrix Workspace app icon in the Notifications area and click Open.
Note: If the Notifications area does not show the Workspace App icon, go to Start and search
for Citrix Workspace and open it.
460
Citrix Course: CWS-314 2I Citrix Education, 2021
8. Wait for the desktop to fully launch. Inside the virtual desktop, right-click Citrix WEM Agent
and select Refresh.
Note: You may need to reveal the WEM Agent icon by clicking the up arrow in the
Notifications area:
461
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The WEM settings should have already been updated to the WEM Agent machines but
to be sure, you can refresh the settings again. Usually, it’s normal to let the Agents update
their settings periodically – around every 15 minutes. It’s only because we are testing WEM
settings immediately after configuring them that we need to manually refresh.
10. Right-click Start and select Run.
11. Notice that you are not able to open the Run console now.
Click OK on the Restrictions window.
462
Citrix Course: CWS-314 2I Citrix Education, 2021
Notice that we are not able to open Network Connections anymore, hence restricting users
from changing the network properties.
13. Click on Start icon and select Control Panel.
14. Click OK on the Restrictions message. Users are no longer able to access Control Panel and
modify the existing settings.
15. Review the bottom right corner of the taskbar and verify that you are no longer able to see the
date and time, as the system clock has been disabled by WEM.
16. Open File Explorer from the taskbar and select This PC.
Verify that the C:\, D:\, and F:\ drives of the VDA are not visible.
463
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: If you get an HDX File Access prompt, select Read/write access.
Note: If you still see the local drives [C:\, D:\, and F:\], Refresh the WEM settings from the
taskbar and verify that the mentioned drives are not visible.
17. Close File Explorer window.
14. Double-click Google Chrome shortcut on the desktop.
15. Note the Restrictions message that appears since this process has been blacklisted via the
WEM Infrastructure Services Server. Click OK.
464
Citrix Course: CWS-314 2I Citrix Education, 2021
18. On the Citrix StoreFront page, click on APPS tab, then click the Notepad icon.
19. In the published Notepad app, click File > Save As.
465
Citrix Course: CWS-314 2I Citrix Education, 2021
21. Under Devices and drives, verify that Local Disk (C:) is not available.
Note: Preventing access to the local system drives stopped one of the breakouts that was
previously possible.
22. On Save As dialog box, click Cancel.
23. Close all open windows except for the original Notepad window. Click Help > View Help.
Note that the View Help option no longer opens an Internet Explorer window due to the
process blacklisting setting that was configured.
24. Close all open windows in the session, including Notepad and Citrix Workspace.
Key Takeaways:
• Once applied, the user environment settings display the same behavior as if they
were configured via Group Policy Objects/Preferences.
466
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. On the NYC-DST-001 desktop, double-click the Lab Resources icon.
467
Citrix Course: CWS-314 2I Citrix Education, 2021
468
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Next.
469
Citrix Course: CWS-314 2I Citrix Education, 2021
9. On the Infrastructure Services Configuration screen, ensure that the Configure the
Infrastructure Service option is selected, type 192.168.10.17 and click Next.
470
Citrix Course: CWS-314 2I Citrix Education, 2021
12. Wait until the installation process is complete, then click Finish.
471
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• There is no different WEM Agent installer for Transformer kiosk machines. The
mode to switch an WEM Agent machine to Transformer mode is performed by
configuration on the WEM Console.
472
Citrix Course: CWS-314 2I Citrix Education, 2021
Scenario:
Marketing personnel will logon to the kiosk machines and launch their applications
published from CVAD Delivery Groups. You will add Marketing to the Delivery Group.
You will setup and configure Transformer on the WEM Console.
Step Action
1. Using the Remote Desktop Connection manager, connect to NYC-VDC-001.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. From the Task Bar, click the Citrix Studio icon to start.
473
Citrix Course: CWS-314 2I Citrix Education, 2021
474
Citrix Course: CWS-314 2I Citrix Education, 2021
6. In the Select Users or Groups window, type Marketing in the box and click the Check Names
button.
475
Citrix Course: CWS-314 2I Citrix Education, 2021
9. Verify that the WORKSPACELAB\Marketing group has been added to the list.
Click OK to close the Edit Delivery Group window.
The Marketing group are the primary users of the Transformer kiosk machines. We have
added them to the Delivery Group so that they can launch apps through the kiosk interface.
10. Close Citrix Studio.
11. Using the Remote Desktop Connection manager, connect to NYC-FSR-001.
To log on to NYC-FSR-001, right-click this machine and choose Connect server.
476
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
12. Click Start > Citrix > WEM Administration Console.
477
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
17. Change to the Transformer Configuration set using the pull-down menu.
478
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The new Transformer Configuration set will hold only the Windows 10 kiosk machines.
18. In the ribbon, under Backup, select Restore.
19. In the Select what to restore page, select Settings, then click Next.
479
Citrix Course: CWS-314 2I Citrix Education, 2021
480
Citrix Course: CWS-314 2I Citrix Education, 2021
22. Navigate to This PC > Local Disk (C:\) > Lab Resources > Workspace-Environment-
Management-v-2005-01-00-01 > Configuration Templates > and select Default
Recommended Settings.
Click OK.
481
Citrix Course: CWS-314 2I Citrix Education, 2021
23. In Settings Type Selection section, check all available boxes, and click Next.
482
Citrix Course: CWS-314 2I Citrix Education, 2021
483
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Even though the Transformer Configuration set is for non-VDA kiosk machines,
importing settings from the Default Template is still done because kiosk machines will benefit
from WEM’s system optimization and logon optimization features.
484
Citrix Course: CWS-314 2I Citrix Education, 2021
485
Citrix Course: CWS-314 2I Citrix Education, 2021
29. From the tabs, click the Scroll right arrow and select the StoreFront tab.
486
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Add.
32. Verify the Store URL entry and then click the Apply button at the bottom of the page.
487
Citrix Course: CWS-314 2I Citrix Education, 2021
488
Citrix Course: CWS-314 2I Citrix Education, 2021
489
Citrix Course: CWS-314 2I Citrix Education, 2021
490
Citrix Course: CWS-314 2I Citrix Education, 2021
491
Citrix Course: CWS-314 2I Citrix Education, 2021
39. Verify the Store Resource shows Notepad and click OK.
40. Verify that the Notepad app has been added to the list of Applications.
At the bottom of the page, click the Add button.
492
Citrix Course: CWS-314 2I Citrix Education, 2021
493
Citrix Course: CWS-314 2I Citrix Education, 2021
494
Citrix Course: CWS-314 2I Citrix Education, 2021
43. Verify the Store Resource shows Paint and click OK.
44. Verify that the Notepad and MS Paint appear in the list of Applications.
495
Citrix Course: CWS-314 2I Citrix Education, 2021
496
Citrix Course: CWS-314 2I Citrix Education, 2021
497
Citrix Course: CWS-314 2I Citrix Education, 2021
48. Type Marketing in the box and click the Check Names button.
498
Citrix Course: CWS-314 2I Citrix Education, 2021
51. Verify that WORKSPACELAB\Marketing has been added to the Users List.
499
Citrix Course: CWS-314 2I Citrix Education, 2021
53. In the upper left pane, verify that Action Assignment is selected.
Double-click on WORKSPACELAB\Marketing in the Users list.
500
Citrix Course: CWS-314 2I Citrix Education, 2021
501
Citrix Course: CWS-314 2I Citrix Education, 2021
57. In the Assigned pane on the right, right-click Create Start Menu under MS Paint and select
Disable.
58. In the Assigned pane on the right, right-click Create Start Menu under Notepad and select
Disable.
Note: Since these Assigned Application Actions will be used by Transformer kiosk users, they
will not have access to the Windows desktop or Start menu. This is why we have disabled all
app shortcuts.
Key Takeaways:
• One of the main scenarios for WEM Transformer use is for users to log onto the
physical Transformer kiosk machine using their own account credentials. Citrix
Workspace app pass-through authentication will then be used to enumerate and
display the StoreFront-based Assigned Application Actions we have created in
this exercise.
502
Citrix Course: CWS-314 2I Citrix Education, 2021
• The other main scenario for WEM Transformer use is that the Transformer kiosk
machine performs an auto-logon using a generic pre-defined account. The kiosk
user is then required to sign-in to StoreFront to enumerate and display their
published apps. In that scenario, StoreFront-based Assigned Application Actions
are not required.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. Start the Group Policy Management Console.
Click Start > Windows Administrative Tools > Group Policy Management.
3. Expand: Forest: workspacelab.com > Domains > workspacelab.com > Citrix > New York
> Transformer.
503
Citrix Course: CWS-314 2I Citrix Education, 2021
504
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This is being done so that the test Endpoint will receive the information it needs to
register with the WEM infrastructure server.
6. Verify the WEM GPO has been added to the Transformer OU.
• Username: WORKSPACELAB\Administrator
• Password: Password1
8. Click on the Windows Start icon to display the Start menu:
505
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Run the command gpupdate /force to apply the WEM GPO enabled earlier.
506
Citrix Course: CWS-314 2I Citrix Education, 2021
507
Citrix Course: CWS-314 2I Citrix Education, 2021
Verify in the right pane that the policy has been applied and the IP address of the WEM
Infrastructure Server (BrokerSvcName) is shown.
508
Citrix Course: CWS-314 2I Citrix Education, 2021
16. Right-click Start, then select Shut down or sign out > Sign out.
509
Citrix Course: CWS-314 2I Citrix Education, 2021
20. Verify the details are as per below screenshot and click Connect.
21. Verify that the currently active Configuration Set is Transformer. Use the pull-down menu to
select it if necessary.
510
Citrix Course: CWS-314 2I Citrix Education, 2021
511
Citrix Course: CWS-314 2I Citrix Education, 2021
512
Citrix Course: CWS-314 2I Citrix Education, 2021
513
Citrix Course: CWS-314 2I Citrix Education, 2021
Click OK.
27. Verify that the Citrix Education site has been added to the list and then click Apply button.
514
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: The General settings must be applied to gain access to advanced settings.
28. In the left pane, under Transformer Settings, click Advanced.
29. Select the Advanced & Administration Settings tab, then configure the following within the
Advanced Settings section:
515
Citrix Course: CWS-314 2I Citrix Education, 2021
Click Apply.
Note: If the screen resolution of your monitor is low, the Apply button may not be fully visible.
If this is the case, maximize the WEM Administration Console to show the full console window
if not done previously.
516
Citrix Course: CWS-314 2I Citrix Education, 2021
517
Citrix Course: CWS-314 2I Citrix Education, 2021
31. On the Main Configuration tab, click to enable the Launch Agent on Reconnect checkbox.
Verify that the Enable (Virtual) Desktop Compatibility check box is enabled.
Note: For consistent operation of the Transformer kiosk window, it is recommended to enable
the Launch Agent on Reconnect and Enable (Virtual) Desktop Compatibility settings.
518
Citrix Course: CWS-314 2I Citrix Education, 2021
32. In the left pane, click Active Directory Objects, then select Machines.
519
Citrix Course: CWS-314 2I Citrix Education, 2021
34. Navigate to workspacelab.com > Citrix > New York > Transformer.
Select Transformer and click OK.
520
Citrix Course: CWS-314 2I Citrix Education, 2021
521
Citrix Course: CWS-314 2I Citrix Education, 2021
522
Citrix Course: CWS-314 2I Citrix Education, 2021
38. On Statistics tab, click Refresh button and verify that the NYC-DST-001 machine is seen in
the list of Agents.
Note: If NYC-DST-001 isn’t displayed, wait for 2 minutes and click the Refresh button again
at the bottom of the right corner.
39. If a green synchronization checkmark does not appear, right-click on the NYC-DST-001 entry
and click Refresh Cache.
523
Citrix Course: CWS-314 2I Citrix Education, 2021
40. Wait a couple more minutes, click Refresh again, then verify that the Synchronization State
shows a green checkmark. This means the WEM Agent is connected and synchronized with
Infrastructure service.
Key Takeaways:
• The WEM Transformer feature is enabled using the WEM Administration
console. The settings will apply to all Agent machines that are a part of the
configuration set. As a result, it is recommended to create a separate
configuration set for all endpoint machines that will be locked down with
Transformer.
• Endpoint machines must have the Agent component installed and have a GPO
setting in place to register with the WEM administration server, similar to other
machines that will be managed using WEM.
• If Transformer kiosk users have been assigned published applications from
StoreFront through WEM, they will logon to the kiosk machine using their own
credentials and use Citrix Workspace app configured for pass-through
authentication.
• The WEM Transformer feature has a number of general and advanced settings
that allow administrators to customize the user experience when using a
Transformer endpoint.
524
Citrix Course: CWS-314 2I Citrix Education, 2021
525
Citrix Course: CWS-314 2I Citrix Education, 2021
526
Citrix Course: CWS-314 2I Citrix Education, 2021
527
Citrix Course: CWS-314 2I Citrix Education, 2021
6. This is the first logon by the Marketing1 user so Windows will perform setup.
528
Citrix Course: CWS-314 2I Citrix Education, 2021
7. Once the machine has loaded, verify that the Transformer interface appears with the title WW
Labs Workspace.
Verify that the display clock and navigation buttons appear.
529
Citrix Course: CWS-314 2I Citrix Education, 2021
Verify that the two apps (MS Paint and Notepad) published from the Delivery Group appear.
9. Verify that the Start menu and the Windows taskbar are not visible.
Click power icon and verify that only the Log off option is available. Click Log off.
10. In the Logout Confirmation window, click Yes to log off the session.
530
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• Users accessing an endpoint with the WEM Agent in Transformer mode can be
restricted to the websites, applications, and tools configured by Citrix
Administrators.
• Transformer endpoints are not appropriate for all use cases, but can serve to
repurpose older endpoints and extend their lifetime as well as providing
additional endpoint security.
Scenario:
After testing the WEM settings on NYC-SRV-001, you find that need to make some
small adjustments. You will make these adjustments in the WEM Administration
Console. In order to test the results immediately, you aren’t going to wait until the WEM
Agent on NYC-SRV-001 performs its routine scheduled Agent refresh, as that could
take 15 minutes or more. Instead you’ll run the AgentCacheUtility.exe program on NYC-
SRV-001.
Step Action
1. On NYC-HYP-101 (Student Desktop), open Hyper-V Manager.
531
Citrix Course: CWS-314 2I Citrix Education, 2021
2. Verify that the following VMs are in the Running state before beginning the exercises in this
module:
• NYC-ADS-001
• NYC-FSR-001
• NYC-SQL-001
• NYC-SRV-001
• NYC-STF-001
• NYC-VDC-001
• NYC-WRK-001
Note: If not currently connected to NYC-FSR-001, right-click this machine and choose
Connect server.
• Username: WORKSPACELAB\Administrator
• Password: Password1
4. Click Start > Citrix > WEM Administration Console.
532
Citrix Course: CWS-314 2I Citrix Education, 2021
5. Click Connect.
6. Verify the details are as per the below screenshot and click Connect.
533
Citrix Course: CWS-314 2I Citrix Education, 2021
8. In the left pane, select Policies and Profiles and select Environmental Settings in the
upper-left pane.
534
Citrix Course: CWS-314 2I Citrix Education, 2021
535
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
11. Click Start menu, type cmd.
536
Citrix Course: CWS-314 2I Citrix Education, 2021
When the command has completed, you should see that the WEM local cache has added 2
new WEM settings.
Note: The 2 new settings can be tested immediately by launching a session to NYC-SRV-001.
14. Close the Command Prompt by clicking on the X in the upper-right of the window.
16. In the Run window, type D:\ to open MCSWCDisk (D:) drive and click OK.
537
Citrix Course: CWS-314 2I Citrix Education, 2021
17. The AgentCacheUtility.exe command has updated the LocalAgentCache.db database. You
should see that reflected in the timestamp on the file.
538
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The AgentCacheUtility.exe program, run on the WEM Agent machine,
immediately refreshes the WEM caches. This action is useful when testing newly
configured WEM settings.
• Running the AgentCacheUtility.exe program is the recommended method of pre-
populating WEM settings on a MCS/Citrix Provisioning master images or App
Layering layer, prior to creating Machine Catalogs.
Scenario:
There are some additional WEM settings adjustments to make. This time you will use
the WEM Console to immediately affect the changes on WEM Agent machines that of
members of the Configuration Set.
Step Action
1. Using the Remote Desktop Connection manager, switch to NYC-FSR-001.
Note: If not currently connected to NYC-FSR-001, right-click this machine and choose
Connect server.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. The WEM Administration Console should still be open.
If not, open it from the Start Menu and Connect.
3. Verify that the current Configuration Set is Server Machines.
4. In the left pane select Actions then in the upper-left pane select Applications.
539
Citrix Course: CWS-314 2I Citrix Education, 2021
6. In the Edit Application Calculator window, click the Advanced Settings tab.
Tick the Enable Automatic Self-Healing checkbox and click OK.
540
Citrix Course: CWS-314 2I Citrix Education, 2021
8. In the Edit Application Wordpad window, click the Advanced Settings tab.
Tick the Enable Automatic Self-Healing checkbox and click OK.
541
Citrix Course: CWS-314 2I Citrix Education, 2021
9. In the left pane, select Policies and Profiles then in the upper-right pane select Citrix Profile
Management Settings.
542
Citrix Course: CWS-314 2I Citrix Education, 2021
543
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Enabling CPM logging can be useful when rolling out CPM in an environment – for
analyzing any issues that may arise. By default, the UPM log files are written to
C:\Windows\System32\LogFiles\UserProfileManager\
11. In the left pane, select Administration and in the upper-left pane select Agents.
544
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This option sends a request to the WEM Agent machine to initiate the process of
refreshing its own WEM local cache file: LocalAgentCache.db. The option is equivalent to
running the AgentCacheUtility.exe command directly on the WEM Agent machine.
14. Right-click on the NYC-SRV-001 entry and click Refresh Workspace Agents. This will
refresh the Agent for the Application Action changes we made.
Note: This option applies the user-assigned actions to the WEM agents. Those actions
include network drives, printers, applications, and more. The option will only work if the UI
mode is enabled for the Agent (VUEMUIAgent.exe)
545
Citrix Course: CWS-314 2I Citrix Education, 2021
15. Right-click on the NYC-SRV-001 entry and click Reset Profile Management Settings. This
will refresh the Agent for the Citrix Profile Management changes we made.
Note: With this option, the WEM CPM cache in HKLM is cleared and refreshed.
Note: Citrix Profile Management settings are applied at machine start up. In most cases, it will
be necessary to reboot the WEM Agent machine for the new settings to take effect.
16. Right-click on the NYC-SRV-001 entry and click Refresh Profile Management
Configuration Check.
546
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: This option is useful for checking your Profile Management settings changes against
Citrix recommended CPM practice.
17. Notice that the NYC-SRV-001 and NYC-SRV-002 entries have a warning icon in the Profile
Management Health Status column. This means that Profile Management is operational on
these machines, but one or more of the CPM settings are not as per Citrix recommendations.
Note: The warning icons may indicate a problem. However, an organization’s CPM settings
may be ideal for their environment, but some settings may go against Citrix recommendations.
This is why the icon shows a warning rather than an error.
18. Next, you will review the warnings that have been generated by the Refresh Profile
Management Configuration Check.
• Username: WORKSPACELAB\Administrator
• Password: Password1
19. Open Windows Explorer from the Task Bar.
• Click on This PC and double-click on the C:\ drive.
• Navigate to C:\Windows\Temp
• Locate the UPMConfigCheckOutput.xml file.
547
Citrix Course: CWS-314 2I Citrix Education, 2021
Note: Some changes made to CPM settings do not apply until the machine is rebooted. If
there are some Warning entries that don’t seem to apply, the machine would need to be
restarted and the Refresh Profile Management Configuration Check run again.
Key Takeaways:
• Refreshing WEM settings and WEM caches directly from the WEM Console
immediately updates the WEM Agent. Remember though that some WEM
machine-based settings, particularly some Citrix Profile Management settings,
will not apply until the WEM Agent machine is restarted.
548
Citrix Course: CWS-314 2I Citrix Education, 2021
Step Action
1. Using the Remote Desktop Connection manager, connect to NYC-VDC-001.
• Username: WORKSPACELAB\Administrator
• Password: Password1
2. From the Task Bar, open Citrix Studio.
549
Citrix Course: CWS-314 2I Citrix Education, 2021
550
Citrix Course: CWS-314 2I Citrix Education, 2021
• Username: WORKSPACELAB\Administrator
• Password: Password1
8. Click the Start icon and open Group Policy Management from the menu.
551
Citrix Course: CWS-314 2I Citrix Education, 2021
9. Navigate to:
Forest: workspacelab.com > Domains > workspacelab.com > Citrix > New York > VDA >
WEM (GPO)
552
Citrix Course: CWS-314 2I Citrix Education, 2021
10. Right-click on the WEM Group Policy Object and click Edit.
553
Citrix Course: CWS-314 2I Citrix Education, 2021
12. In the right pane, double-click on the VUEMAppCMD extra sync delay settings.
• Click the Enable option.
554
Citrix Course: CWS-314 2I Citrix Education, 2021
Key Takeaways:
• The VUEMAppCMD.exe program is used to control published app launch delay.
It ensures that WEM settings have been applied by the WEM Agent before app
launch completes.
• The delay doesn’t impact the reduced logon times that WEM provides, as the
recommended delay time is only between 100ms – 200ms,
555