UPDATE VM FOR PROVISIONING SERVER 7.1

Update VM for Provisioning Server 7.1

This entry is part 5 of 6 in the series Convert PVS images from XenServer to VMware
  1. Right-click on the newly created VM and select Power On

update-vm_1

  1. For XenApp 6.x VMs, log in, and perform the following:
    • Uninstall Citrix Tools for Virtual Machines
    • Uninstall Provisioning Server target device software
    • Uninstall XenApp via the command line

update-vm_9

    • Uninstall any remaining XenApp 6.5 specific features.
    • Move the XenApp AD computer object to an OU that does not contain XenApp 6.5 specific policy settings
    • Reboot when complete.

NOTE: If you have difficulty logging in via RDP after the uninstall of XenApp 6.5, try deleting and recreating the RDP-Tcp connection in Remote Desktop Host Configuration

  1. For XenDesktop 5.x VMs, log in, and perform the following:
    • Uninstall Citrix Tools for Virtual Machines
    • Uninstall Provisioning Server target device software
    • Uninstall Citrix Virtual Desktop Agent
    • Uninstall Citrix Virtual Desktop Agent Core Services
    • Uninstall Personal vDisk
    • Uninstall Citrix Profile Management and any remaining XenDesktop 5.6 specific features
    • Reboot when complete

NOTE: After the uninstall is complete, check the services to ensure all Citrix related services are uninstalled from the system.  You may need to manually remove using the sc delete command.

update-vm_20

  1. After the VM has been rebooted, log in, and install VMware Tools.  Select defaults and reboot when the install is completed.

update-vm_4

update-vm_5

  1. After the reboot, log in to the VM and perform the following:
    • Disable IPv6 if enabled on the ethernet adapter
    • For Windows 2008 R2 and Windows 7 SP1, install KB2550978, reboot when complete
    • For Windows 2008 and Windows 7, install KB2344941, reboot when complete
    • Install Provisioning Server Target Device software 7.1, uncheck Launch Imaging Wizard, click Finish and reboot when complete
  2.  After the reboot, log in to the VM and perform the following to create the new VHD for Provisioning Server 7.1:
    • Run the Imaging Wizard

Screenshot - 12_13_2013 , 11_35_03 AM

    • Enter a Provisioning Server 7.1 IP or Hostname, click Next

Screenshot - 12_13_2013 , 11_39_32 AM

    • Select Create new vDisk, click Next

Screenshot - 12_13_2013 , 11_39_50 AM

    • Enter the info requested, click Next

Screenshot - 12_13_2013 , 12_42_25 PM

    • If you plan on using KMS or MAK activation, select that here and click Next

Screenshot - 12_13_2013 , 12_45_00 PM

    • Review/modify image volumes, click Next

Screenshot - 12_13_2013 , 12_45_35 PM

    • Enter the info requested, click Next

Screenshot - 12_13_2013 , 12_49_28 PM

    • Select Optimize for Provisioning Services, click Finish

Screenshot - 12_13_2013 , 12_52_52 PM

    • If you receive this message, click No

Screenshot - 12_13_2013 , 12_54_46 PM

NOTE: For our project, the Provisioning Server 7.1 environment was on the same subnet as the existing Provisioning Server 6.1 environment so we decided to use Boot Device Manager to create a Provisioning Server 7.1 boot ISO and boot this VM from CD.  This allowed us to continue to use the same subnet but avoid causing disruptions to the Provisioning Server 6.1 environment.  We also stopped and disabled the PXE service on the Provisioning Server 7.1 hosts.

      • If you decided to create a Boot ISO, perform the following:
        • Shutdown the VM
        • Mount the boot ISO to the VM in vCenter
        • Boot to the VMware BIOS
        • Update the VM BIOs boot order to boot from CD-ROM
        • Start the VM
        • At login, the Provisioning Server Imaging Wizard should begin creating the VHD file from the existing VMDK

Screenshot - 12_13_2013 , 1_15_59 PM

      • If you are using a separate subnet for Provisioning Server 7.1, perform the following:
        • Ensure your VM is on the same subnet as the Provisioning Server 7.1 host(s)
        • Ensure the PXE services are started on the Provisioning Server 7.1 host(s)
        • Shutdown the VM
        • Boot the VM to the VMware BIOs
        • Update the BIOs to boot from Network
        • Reboot the VM
        • At login, the Provisioning Server Imaging Wizard should begin creating the VHD file from the existing VMDK

Screenshot - 12_13_2013 , 1_15_59 PM

    • Once the image is created, shutdown the VM

VMware vSphere 5.5 – Citrix Known IssuesCTX140135

  • CTX140135
  • Created onMar 26, 2014
  • Updated onJan 16, 2015

Symptoms or Error

Citrix is committed to ensuring compatibility with the latest VMware products. Citrix supports VMware vSphere 5.5 and VMware vSphere 5.5 Update 1, and VMware vSphere 5.5 Update 2.

This article outlines issues and their known solutions that users of vSphere 5.5 vSphere 5.5 Update 1, and vSphere 5.5 Update 2 must be aware of in conjunction with the following Citrix products:

  • Citrix XenDesktop 5.0 Service Pack 1
  • Citrix XenDesktop 5.5
  • Citrix XenDesktop 5.6
  • Citrix XenDesktop 5.6 Feature Pack 1
  • Citrix XenDesktop 7.0, including App Edition
  • Citrix XenDesktop 7.1, including App Edition
  • Citrix XenDesktop 7.5

Solution

The following information outlines the issues and their solutions:

Issue 1

Adding VMware vSphere Server 5.5 host using HTTP connection fails with an Error ID: XDDS:09246D12. VMware vSphere 5.0 U3 and vSphere 5.5 require HTTPS connection. XenDesktop will no longer be able to connect to vSphere 5.0 U3 and vSphere 5.5 using HTTP, and HTTPS would be required.

Solution 1

The workaround in CTX125578 – XenDesktop Error: The hosting infrastructure could not be reached at the specified address will not be applicable for vSphere 5.5 and 5.0 U3.

Issue 2

Machine Creation fails intermittently using vSphere 5.5 and XenDesktop 7.1. The issue is because of network latency.

Solution 2

Set the DiskUploadReponseTimeout to 8:0:0.

  1. Go to Hypervisor Connection Properties located under Citrix Studio > Hosting.
  2. Select the VMware vCenter 5.5 connection and choose Edit Connection.
  3. Go to Advanced > Connection options, type the value DiskUploadReponseTimeout=8:0:0.
    This sets the timeout to 8 hours.
    DiskUploadReponseTimeout=8:0:0

Issue 3

The display of HDX 3D Pro enabled VDA hosted on ESXi 5.5 with vShared Graphics Acceleration fails to connect from a Multi Monitor Setup.

Solution 3

Only Single monitor configuration is currently supported.

Issue 4

Citrix Display Adapter is not installing on Microsoft Windows Vista Service pack 2 after installing Citrix Virtual Desktop Agent for XenDesktop 7.1 on a machine with the VMware Tools installed.

Solution 4

This issue has been resolved in Hotfix Rollup XD560VDAWX64400 or XD560VDAWX86400 (Version 5.6.300). Refer to one of the following:

Replace XdsAgent_x(86/64).msi (Version 5.6.200) present in XenDesktop 7.1 DVD with 5.6.300’s XdsAgent_x(86/64).msi, then run themetainstaller on a machine with the VMware Tools installed.

Issue 5

The CPU usage reaches 100% upon desktop launch in Citrix VDA client with HDX 3D Pro and VMware Dedicated Graphics Acceleration (vDGA) feature enabled.

Solution 5

The issue is observed if only one CPU core is assigned to the Citrix VDA client. The recommended minimum is to have two or more cores assigned to Citrix VDA client.

Issue 6

Virtual Machine creation fails intermittently while creating Streamed VDA Catalog using Provisioning Services (PVS) 7.1.

Solution 6

The behavior has been resolved in Provisioning Services 7.1 Hotfix CPVS71003.
By default, PVS 7.1.3 provides 3 seconds of wait time during target creation using the wizard. If the target virtual machine fails to create, adjust the wait timeout by changing the following registry in small intervals:

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServices
Name: ESXVMCreationInterval
Type: DWORD
Value: <range of 0 to 60 seconds>

Issue 7

Deleting Provisioned Virtual Desktop Agent Catalog from XenDesktop 5.6 Delivery Controller (Controller) fails.

Solution 7

This issue has been resolved in XenDesktop Hotfixes Update 9. Refer to one of the following:

Issue 8

VMware SVGA adapter is preferred instead of NVIDIA display adapter, which results in NVIDIA display adapter not being used in HDX 3D Pro VDA 5.6 session.
The default display adapter can be changed to use NVIDIA adapter within the VDA session but it would result in Virtual Machine Console display becoming blank.

Solution 8

Apply one of the following:

Disclaimer

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

WINDOWS 2008 R2 REMOTE DESKTOP AND XENAPP 6 TUNING TIPS UPDATE  

6 December, 2010 (41336 reads)

Following the great article Terminal Server & XenApp Tuning Tips published on this website by Pierre Marmignon, this article defined all tips that I’ve found, test and validate for tuning Windows 2008 R2 and XenApp6.

Please note that :
–       These informations are provided “as is” and that using these tips is at your own risks.
–       All this tuning tips have been tested and validated only on VMs running on Vmware Vsphere 4, let us know your feeback related to any other platform (either Hypervisor or physical server).
Windows 2008 R2 OS Tuning Tips for Remote Desktop Service and XenApp 6
 
Registry Hive
Value
Type
Data
Purpose(s)
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
 KeepAliveTime
 REG_DWORD
180000
Determines how often TCP sends keep-alive transmissions
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
 KeepAliveInterval
 REG_DWORD
 100
Determines how often TCP repeats keep-alive transmissions when no response is received
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
 TcpMaxDataRetransmissions
 REG_DWORD
 10
Determines how many times TCP retransmits an unacknowledged data segment on an existing connection
HKLMSystemCurrentControlSetServicesLanmanServerParameters
 MaxWorkItems
 REG_DWORD
 512
Server Service Optimization
HKLMSystemCurrentControlSetServicesLanmanServerParameters
 MaxMpxCt
 REG_DWORD
 2048
Server Service Optimization
HKLMSystemCurrentControlSetServicesLanmanServerParameters
 MaxFreeConnections
 REG_DWORD
 100
Server Service Optimization
HKLMSystemCurrentControlSetServicesLanmanServerParameters
 MinFreeConnections
 REG_DWORD
 32
Server Service Optimization
HKLMSystemCurrentControlSetServicesLanmanWorkstationParameters
 UtilizeNTCaching
 REG_DWORD
 0
Disable Caching
HKLMSYSTEMCurrentControlSetServicesMRXSmbParameters
 OplocksDisabled
 REG_DWORD
 1
Disables Opportunistic Locking
HLMSYSTEMCurrentControlSetServicesLanmanworkstationParameters
 UseOpportunisticLocking
 REG_DWORD
 0
Disables Opportunistic Locking
HKLMSYSTEMCurrentControlSetServicesLanmanserverParameters
 EnableOplocks
 REG_DWORD
 0
Disables Opportunistic Locking
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
EnableRSS
 REG_DWORD
0
Disable Receive Side Scaling
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
EnableTCPA
 REG_DWORD
0
Disable TCP-acceleration
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
EnableTCPChimney
 REG_DWORD
0
Disable TCP Chimney Offload
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
DisableBandwidthThrottling
 REG_DWORD
1
The default is 0. By default, the SMB redirector throttles throughput across high-latency network connections in some cases to avoid network-related timeouts. Setting this registry value to 1 disables this throttling, enabling higher file transfer throughput over high-latency network connections
HKLMSystemCurrentControlSetServicesLanmanWorkstationParameters
 MaxThreads
 REG_DWORD
 17
Maximum Concurrent Threads
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
DisableLargeMtu
 REG_DWORD
0
The default is 1. By default, the SMB redirector does not transfer payloads larger than approximately 64 KB per request. Setting this registry value to 0 enables larger request sizes, which can improve file transfer speed.
HKLMSYSTEMCurrentControlSetServicesTcpipparameters
 EnableWsd
 REG_DWORD
 0
The default is 1 for client operating systems. By default, Windows Scaling Diagnostics (WSD) automatically disables TCP receive window auto tuning when heuristics suspect a network switch component might not support the required TCP option (scaling). Setting this registry setting to 0 disables this heuristic and allows auto tuning to stay enabled. When no faulty networking devices are involved, applying the setting can enable more reliable high-throughput networking via TCP receive window auto tuning. For more information about disabling this setting
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
FileInfoCacheEntriesMax
 REG_DWORD
32768
The default is 64 with a valid range of 1 to 65536. This value is used to determine the amount of file metadata that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of files are accessed
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
DirectoryCacheEntriesMax
 REG_DWORD
4096
The default is 16 with a valid range of 1 to 4096. This value is used to determine the amount of directory information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when large directories are accessed
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
FileNotFoundCacheEntriesMax
 REG_DWORD
32768
The default is 128 with a valid range of 1 to 65536. This value is used to determine the amount of file name information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of file names are accessed.
HKLMSYSTEMCurrentControlSetServicesLanmanWorkstationParameters
MaxCmds
 REG_DWORD
32768
The default is 15. This parameter limits the number of outstanding requests on a session. Increasing the value can use more memory, but can improve performance by enabling deeper request pipelining. Increasing the value in conjunction with MaxMpxCt can also eliminate errors encountered due to large numbers of outstanding long-term file requests, such as FindFirstChangeNotification calls. This parameter does not affect connections with SMB 2 servers.
Windows 2008 CPU Tuning (for VM only)
 
Because I’m working with VMware VSphere Server 4, I Supposed that the Hypervisor manage my processor and I don’t want to have any CPU management in the VM, I force all my VM to the “min  Power Scheme“  (High Performance) with the following command “owercfg -setactive scheme_min“
And force my Processor Performance Boost Policy, Minimum and Maximum Processor Performance State and Processor Performance Core Parking Maximum and Minimum Cores to the maximum. (http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv-R2.mspx)
The following commands set Processor Performance Boost Policy to 100 percent on the current power plan:
Powercfg -setacvalueindex scheme_current sub_processor 45bcc044-d885-43e2-8605-ee0ec6e96b59 100
Powercfg -setactive scheme_current
The following commands set Processor Performance State parameters to 100 %
Powercfg -setacvalueindex scheme_current sub_processor 893dee8e-2bef-41e0-89c6-b55d0929964c 100
Powercfg -setactive scheme_current
Core parking is a new feature in Windows Server 2008 R2. The processor power management (PPM) engine and the scheduler work together to dynamically adjust the number of cores available to execute threads, to turn off core parking, set the Minimum Cores parameter to 100 percent by using the following commands:
Powercfg -setacvalueindex scheme_current sub_processor bc5038f7-23e0-4960-96da-33abaf5935ec 100
Powercfg -setactive scheme_current
Additional Windows Explorer Tuning
 
Registry Hive
Value
Type
Data
Purpose(s)
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 UseDesktopIniCache
 REG_DWORD
 1
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 NoRemoteRecursiveEvents
 REG_DWORD
 1
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 NoRemoteChangeNotify
 REG_DWORD
 1
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 StartRunNoHOMEPATH
 REG_DWORD
 1
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 NoRecentDocsNetHood
 REG_DWORD
 1
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
 NoDetailsThumbnailOnNetwork
 REG_DWORD
 1
HKLMSystemCurrentControlSetServicesMRXSmbParameters
 InfoCacheLevel
 REG_DWORD
 16
HKCR*shellexPropertySheetHandlersCryptoSignMenu
 SuppressionPolicy
 REG_DWORD
 1048576
HKCR*shellexPropertySheetHandlers{3EA48300-8CF6-101B-84FB-666CCB9BCD32}
 SuppressionPolicy
 REG_DWORD
 1048576
HKCR*shellexPropertySheetHandlers{883373C3-BF89-11D1-BE35-080036B11A03}
 SuppressionPolicy
 REG_DWORD
 1048576
HKLMSOFTWAREMicrosoftWindowsCurrentVersionexplorerSCAPI
 Flags
 REG_DWORD
 1051650
HKLMSYSTEMCurrentControlSetControlSession Manager
 SafeDllSearchMode
 REG_DWORD
 1
HKLMSYSTEMCurrentControlSetControlSession Manager
 SafeProcessSearchMode
 REG_DWORD
 1
Windows 2008 R2 – RDP Tuning  
Registry Hive
Value
Type
Data
Purpose(s)
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 AutoEndTasks
 REG_SZ
 1
Determines whether user processes end automatically when the user either logs off.
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 WaitToKillAppTimeout
 REG_SZ
 20000
Determines how long the system waits for user processes to end after the user attempts to log off
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 MenuShowDelay
 REG_SZ
 10
Changes the Start menu display interval
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 CursorBlinkRate
 REG_SZ
 -1
Specifies how much time elapses between each blink of the selection cursor
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 DisableCursorBlink
 REG_DWORD
 1
Enables / Disables Cursor Blink
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 DragFullWindows
 REG_SZ
 0
Specifies what appears on the screen while a user drags a window / Only the outline of the window moves
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 SmoothScroll
 REG_DWORD
 0
Scrolls using smooth scrolling
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 Wallpaper
 REG_SZ
 (none)
Sets Wallpaper to “None”
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktopWindowsMetrics
 MinAnimate
 REG_SZ
 0
Disabled. Window does not animate while being resized
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverrideControl PanelDesktop
 InteractiveDelay
 REG_DWORD
 40
Optimizes Explorer and Start Menu responses Times
XenApp 6.0 – ICA tuning
  
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 AutoEndTasks
 REG_SZ
 1
 Determines whether user processes end automatically when the user either logs off.
Registry Hive
Value
Type
Data
Purpose(s)
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 WaitToKillAppTimeout
 REG_SZ
 20000
Determines how long the system waits for user processes to end after the user attempts to log off
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 MenuShowDelay
 REG_SZ
 10
Changes the Start menu display interval
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 CursorBlinkRate
 REG_SZ
 -1
Specifies how much time elapses between each blink of the selection cursor
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
DisableCursorBlink
REG_DWORD
 1
Enables / Disables Cursor Blink
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 DragFullWindows
 REG_SZ
 0
Specifies what appears on the screen while a user drags a window / Only the outline of the window moves
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 SmoothScroll
 REG_DWORD
 0
Scrolls using smooth scrolling
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 Wallpaper
 REG_SZ
 (none)
Sets Wallpaper to “None”
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktopWindowsMetrics
 MinAnimate
 REG_SZ
 0
Disabled. Window does not animate while being resized
HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverrideControl PanelDesktop
 InteractiveDelay
 REG_DWORD
 40
Optimizes Explorer and Start Menu responses Times
Please note that using these tips is at your own risks.
All these tips have been test with XenApp6 server running on VMware Vsphere 4 and should be test on your own environment.
Sources :
Author : Julien Sybille
CCEA & CCA XenDesktop
14 comments
By: Jonathan Pitre (JakeLD)
10 December, 2010
Very nice article Julien!

According to Thomas Koetzing paper on “Optimizing Logon and Logoff 1.4” available at http://www.thomaskoetzing.de/index.php?option=com_docman&task=doc_download&gid=135

the registry key HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverride dosen’t work anymore with Windows 2003 and 2008/2008 R2 I assume.

Here what he had to say on page 22: “With Windows 2003 those global keys don’t work anymore and has to be set on a per user basis.”

I tested it my self with existing profiles and it didn’t work…but I just read this morning that the profile must be NEW. So who’s right, you or Thomas ? 🙂

Also I suggest the following registry keys:

HKLMSSYSTEMCurrentControlSetControlProcessor
Key: “Capabilities” (dword)
Value: 0007e666
http://support.microsoft.com/kb/2000977

HKLMSYSTEMCurrentControlSetServicesTCPIPParameters
Key: “DisableTaskOffload” (dword)
Value: “1”

http://support.microsoft.com/kb/904946
http://support.citrix.com/article/CTX117491

Regards,

Jonathan Pitre

By: Helmut Hauser (Houzer)
16 December, 2010
Other tuning options are:

1st) Turn off TCP Offloading (at the NIC AND the OS)

OS:
%SYSTEMROOT%SYSTEM32
etsh.exe int tcp set global chimney=disabled
%SYSTEMROOT%SYSTEM32
etsh.exe int tcp set global rss=disabled

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters]
“EnableRSS”=dword:00000000
“EnableTCPChimney”=dword:00000000
“EnableTCPA”=dword:00000000
“DisableTaskOffload”=dword:00000001

2nd) If dealing with APP-V 4.6 64 Bit RDS Client on W2K8R2 this one could be for you [SCCM related]:

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftSoftGrid4.5ClientConfiguration]
“RequireAuthorizationIfCached”=dword:00000000
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftSoftGrid4.5ClientNetwork]
“AllowDisconnectedOperation”=dword:00000001
“Online”=dword:00000000
“DOTimeoutMinutes”=dword:ffffff
“LimitDisconnectedOperation”=dword:00000000
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftSoftGrid4.5ClientPermissions]
“ToggleOfflineMode”=dword:00000000

3rd)

other optimizations:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters]
“EnablePMTUBHDetect”=dword:00000001
“KeepAliveTime”=dword:00007530
“KeepAliveInterval”=dword:00001388
“TcpMaxDataRetransmissions”=dword:00000005
“EnableBcastArpReply”=dword:00000001
“DisableTaskOffload”=dword:00000001

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParameters]
“TreatHostAsStableStorage”=dword:00000001

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem]
“NtfsDisableLastAccessUpdate”=dword:00000001
“DontVerifyRandomDrivers”=dword:00000001
“NtfsDisable8dot3NameCreation”=dword:00000001

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaKerberosParameters]
“MaxTokenSize”=dword:0000FFFF

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
“DelayedDesktopSwitchTimeout”=dword:00000005

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
ServicesPipeTimeout”=dword:0001d4c0

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesBrowserParameters]
“IsDomainMaster”=”FALSE”
“MaintainServerList”=”No”

As always – do NOT use this in a production environment.
Test it in a lab.
Be very careful when touching the autotuning TCP/IP stack. This can backfire.
Talk with the networking gents.

By: Julien Sybille (Julien.sybille)
20 December, 2010
Jonathan, I made some investigation about HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpUserOverride

And, my result is that your Right about this key, it’s not applied anymore on 2008R2

So it’s meamn that also HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsICA-TcpUserOverride is not applied any more.

Looking on the Citrix Policy we found a few settings that replace this options like the DragFullWindows options.

I will test, all the options that you post and that are not already in my tips and make an update soon.

Please, if someone found other tuning Tips for 2008R2 / XenApp 6, let us know.

Julien Sybille

By: Xavier TINON (xaviertinon@yahoo.fr)
20 December, 2010
Thank you very much for all tuning tips.

For my test, I’ve trying to use de three PowerCFG command line, because my servers will going to 100 % CPU, causing by NTDLL.DLL under the svchost without reasons.

With this three command line enter on all Win2K8 R2 servers, this error is not coming back.
For information, we are running all VM on vsphere 4.1.

Very good job,
Best regards,

Xavier TINON

By: hector lorenzo (worldphoenix)
23 January, 2011
Julien

Can you give please give us an idea of what you mean when you say you have validated these performance tweaks?

Was it done in a production environment and if so what were the actual benefits ?

What I am getting at is that just adding them to a server in a test environment doesn’t really mean much….

Thanks

Hector

By: wilson mosquera (wmosquera)
7 February, 2011
This can also be used to xenserver 5.6 ?

Regard best

Wilson

By: Julien Sybille (Julien.sybille)
7 February, 2011
To respond to your question these tweaks have been applied on a production environment 3 months ago now with XenApp 6 patchs in the same time and itâ��s running fine. the tweaks have reduces my logon time from 37 seconds to 18-20 s, reduce my CPU usage and avoid my XenApp server hangs (when’s applying citrix strategy at user logon for example). Please note that Iâ��ve applied this setting only in one particular client environment, let us know your feedback from your personal test?

Julien

By: Julien Sybille (Julien.sybille)
7 February, 2011
Wilson I will say this can be tested on xenserver 5.6 on a lab environnement. I don’t see any reason why it will not working, but I’ve never try…

Please let us now your result if you try it ?

julien

By: Xavier TINON (xaviertinon@yahoo.fr)
15 February, 2011
Hi ,

Sorry for my late reply.

I confirm that the CFG command have correcting my 100 % CPU use for all servers in test and production environment.

I ‘ have seen, that Citrix have developped a hotfix, that fix this 100 CPU by ntdll.dll on “svchost”. But I don’t have enough time for test it.

Xavier

By: Shawn Bass (Shawn Bass)
22 April, 2011
Hello Julien & Pierre!

Was reviewing this list of items a grabbing a few for a project of mine when I noticed an error in your SuppressionPolicy settings for Windows Explorer optimizations. I think the mistake is when you were entering the values in hex you left a 0 out, so instead of entering 100000 which is 1048576 in decimal you have 10000 which is 65536 in decimal.

Thanks.

Shawn

By: Shaun Ritchie (ritchies)
7 July, 2011
Why do all the Explorer tuning tips relate to Windows XP?

All the links I have followed to Microsoft.com refer only to Windows XP or Windows 2000.

By: Orhan Taskin (otaskin@gmail.com)
7 July, 2011
are there any script or tool to backup/set registry values automatically? Thanks.
By: Shaun Ritchie (ritchies)
18 July, 2011
You can use REG EXPORT at command prompt or maybe the REGISTRY cmd-let in PowerShell.

You can also use group policy preference to enforce the registry settings and tick “Remove this item when it is no longer applied”

By: Scott McKenzie (Scott McKenzie)
25 August, 2011
It is recommended to set MaxWorkItems to 4x MaxMpxCt. With MaxMpxCt set to 2048 this would mean MaxWorkItems should be 8192.

I think you might have it back to front because in your article MaxMpxCt is 4x MaxWorkItems.

(Old Post) XP Performance Optimizations for XenDesktop and Provisioning Server vDisks

Performance Optimizations for XenDesktop and Provisioning Server vDisks
By Paul Wilson

Older post on XP xendesktop, but some information still applies.
Introduction
Many environments have already managed to streamline the image building process and already have familiarity with the many Windows XP performance and optimization tips. Both XenDesktop (XD) and Provisioning Server (PVS) support the Windows XP operating system and can benefit from performance enhancements. For those who are familiar with these performance enhancements, this blog may provide little assistance in the way of new information. None of the optimizations below are required, but they are available here for your convenience if they make sense in your environment.

The optimizations are put into three sections: Those that apply to the current user profile, those that apply to all users on the machine, and recommendations before creating the vDisk. The first section deals with the items that can be set in the default user profile. The second section deals with settings that can be set by the administrator for all users that work on the machine. The final section recommends a few things to do before taking the vDisk image. When available, the section will provide links to the URL on Microsoft?s website that explains the setting further.

Settings for the Default User Profile
This section lists a few of the settings that will improve the user experience but are set at the user profile level.  The recommendation is to create a generic user and then set the applicable settings, when completed, replace the default user profile with the generic user profile, the steps for which are found at the end of this section.

Force Offscreen Compositing for Internet Explorer
Turning this setting off removes any of the flickering that may display when using Internet Explorer through XenDesktop, by telling Internet Explore to fully render the page prior to displaying it. This is especially helpful on Internet Explorer 7.

Open Internet Explorer
Select Tools >> Internet Options from the menu
Select the Advanced tab
In the Browsing section, enable the checkbox for ?Force offscreen compositing even under Terminal Services?
Click OK to save the changes
Restart Internet Explorer
More information available at http://support.microsoft.com/kb/271246/en-us

Remove the Menu Delay
The Start menu has a built-in delay of 400 milliseconds. To speed the menu response time, follow these steps to remove the delay:

Start the Registry Editor (Regedit.exe)
Navigate to  HKEY_CURRENT_USERControl PanelDesktop
Set the value of MenuShowDelay to 0
Exit the Registry Editor

Remove Unnecessary Visual Effects
Disabling unnecessary visual effects such as menu animations and shadow effects that generally just slow down the response time of the desktop.

Right-click My Computer
Click Properties
Click Advanced
Click the Settings button under the Performance section
Click ?Adjust for best performance?
If you want to keep the XP Visual Style, scroll to the bottom and check the last box titled ?Use visual styles on windows and buttons?

Disable the desktop cleanup wizard
To stop the wizard from automatically running every 60 days:

Right-click a blank spot on the desktop, and then click Properties to open the Display Properties dialog box
Click the Desktop tab
Click Customize desktop to open the Desktop Items dialog box
Disable the ?Run Desktop Cleanup Wizard every 60 days? setting
Click OK twice to close the dialog boxes
More information available at http://support.microsoft.com/kb/320154

Disable Automatic Searching of Network Printers and Shares
Automatic search periodically polls your network to check for new shared resources and adds relevant icons into My Network Places if anything is found. If you wish to prevent XP from regularly searching your network unnecessarily then follow these steps:

Open the Control Panel
Select Folder Options.  If you use the Control Panel Category View you?ll find Folder Options under Appearance and Themes
Click the View tab
In the Advanced Settings list, disable the ?Automatically Search for Network Folders and Printers? setting
Click OK

Disable the Windows XP Tour Notifier
If you did not turn this off before you logged in as your base user for the default profile, you can manually disable the prompt on a per-user basis by following these steps:

Start Registry Editor (Regedit.exe)
Navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionAppletsTour
On the Edit menu, point to New, click Dword Value, type RunCount
Set the data value to 0 (zero), and then click OK
Quit Registry Editor
More information available at http://support.microsoft.com/kb/311489

Turn off Automatic Updates
Since you are running a read-only image, using automatic updates will cause the operating system to continually download the same updates each time the image is booted. The best course of action is to turn it off. You have three options that can be used to disable the service:

Use the PVS Optimizer tool and leave the ?Disable automatic update service? box checked
~ or ~

In the Services Control Panel, change the Startup Type of the Automatic Updates service to ?Disabled?
~ or ~

Run GPEDIT.MSC and navigate to:  Local Computer Policy > Computer Configuration >  Administrative Templates > Windows Components >  Windows Update. Set the ?Configure Automatic Updates? setting to ?Disabled?

Turn off Language Bar
If there is no need for the language tool bar (the pen icon in the systray) you can disable it using either of these two methods.

Right-click taskbar > Toolbars and uncheck the ?Language Bar? option.
~ or ~

Navigate to Control Panel > Regional and Language Options > Languages (tab) > Details (button) > Language Bar (button at bottom). Disable the ?Show the Language bar on the desktop? and ?show additional Language bar icons in the taskbar?.

Make the User Profile the Default User Profile
When you are done completing all the User Profile Settings (using a generic user) you can copy the profile over to the default user using the process below.

Login as an administrator (Local Administrator is recommended) not as the base user for the profile because you cannot copy a profile that is in use.

Right-click on My Computer
Choose Properties
Select the Advanced tab
Click the Settings button under the ?User Profiles? section
Select your base user profile where the changes above were made and click Copy To
Click the Browse button and browse to C:Documents and SettingsDefault User
Click OK once to save the path
Click the Change button under ?Permitted to use?
Enter Everyone
Click OK to save
Click Yes to confirm overwriting of the default user profile
NOTE: Before copying it over, be sure to remove any user or machine specific data for the ICA Client, the ICA Streaming Client, Password Manager, and EdgeSight. Since the image prep for these items is beyond the scope of this blog, I will save it for a topic another day.

If you would like to know more about user profile management in general, check out David Wagner?s blog on the Citrix User Profile Manager available at http://community.citrix.com/blogs/citrite/davidwag/.
Settings for the Machine
This section provides a list of the optimizations that will affect all users of the image. These settings are usually set after logging in as an administrator.

Power Configuration Settings
Two of the power settings can adversely affect the performance of PVS. One of them is the hard disk power savings. If the PVS server is using a local hard disk for the vDisk cache, you do not want the operating system to power down the local drive. The other setting is the Hibernate setting. The PVS Optimizer tool will disable hibernating, but you can manually do it as well. Here are the steps for disabling the power settings:

Open Control Panel
Select the Power Options applet
Select the Power Schemes  tab
For the default power scheme, set ?Turn off hard disks? setting to Never
Select the Hibernate tab
Disable the ?Enable Hibernation? setting
Click OK to save the settings
Delete the c:hiberfil.sys hidden file

Permanently Remove the Language Bar
If there is no need for the language tool bar to be installed at all, you can permanently remove it by running the following command from a command-prompt:

Regsvr32.exe /u msutb.dll

To reinstall it because you later found out you should not have removed it, you can run this command:

Regsvr32.exe msutb.dll
Disable TCP Checksum Offloading
This performance optimization is highly recommended by both Citrix and Microsoft for all Windows XP workstations that will be communicating over the network with other Microsoft resources. To work around this problem, turn off TCP checksum offloading on the network adapter using these steps:

Start the Registry Editor (Regedit.exe)
Navigate to the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
In the right pane, make sure that the DisableTaskOffload registry entry exists. If this entry does not exist, follow these steps to add the entry:
On the Edit menu, point to New, and then click DWORD Value.
Type DisableTaskOffload, and then press Enter
Click DisableTaskOffload.
On the Edit menu, click Modify
Type 1 in the Value data box, and then press Enter
Exit Registry Editor
More information available at http://support.microsoft.com/kb/904946/
Turn off Security Center
To disable the Security Center service, so users are not prompted when the firewall or anti-virus updates are out-of-date, you can disable it by peforming the following steps:

Open the Services Control Panel
Edit the Security Center service properties and set the Startup Type to ?Disabled?

Disable Last Access Time Stamp
Windows XP has a habit of time stamping all the files it reads with the date and time it was last accessed. While this is a nice feature, it is not always necessary in PVS environments where the files are statically supplied from a standard image and no backup software will be used. Putting a timestamp on a recently read file creates a write access every time a read is executed. With Provisioning Server, these writes go to the vDiskCache file increasing network traffic if cached on the PVS server. To disable the last access timestamp behavior, complete the following steps:

Start a command prompt
Type FSUTIL behavior set disablelastaccess 1 and press Enter
Requires a reboot to take effect

Disable the Windows XP Tour Notifier for New Users
Windows XP likes to notify all new users that an XP tour can be taken. While this is a nice feature for new users, it typically is annoying for existing users. To suppress the XP tour prompt for all new users, follow these steps:

Start Registry Editor (Regedit.exe)
Navigate to the registry key HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionAppletsTour
If the Tour key does not exist, follow these steps to create it:
From the Edit menu choose New
Click Key and type Tour as the key name
On the Edit menu, point to New, and then click Dword Value
Type RunCount as the name for the new value
Set the data value for the RunCount value to 0 (zero), and then click OK
Quit the Registry Editor
More information available at http://support.microsoft.com/kb/311489
Turn off System Restore
System Restore is the feature that allows a computer system to be rolled back, or restored, to a point before certain events took place, for example, prior to specific software or hardware installations. When you are using a standard mode (read-only) vDisk, there is no reason to have the System Restore feature enabled. The PVS Optimizer tool disables the System Restore feature, but if you are not using that tool, you should complete the following steps:

Right-click My Computer, and then click Properties
On the Performance tab, click File System, or press Alt+F
On the Troubleshooting tab, click to select the Disable System Restore check box
Click OK twice, and then click Yes when you are prompted to restart the computer
To re-enable System Restore, follow steps 1-3, but in step 3, click to clear the Disable System Restore check box
More information available at http://support.microsoft.com/kb/264887
Disable Windows Indexing Services
Windows Indexing service adds overhead to the PVS vDisk by reading the files from the vDisk for indexing. Use one of the following three methods to disable Indexing:

Use the PVS Optimizer tool and leave the ?Disable Indexing Services? setting enabled
~ or ~

To turn off indexing at the drive level, perform these steps:
Open My Computer
Right-click on the drive on which you wish to disable the Indexing Service
Select Properties
Under the General tab, disable the ?Allow the Indexing Service to index this disk for fast file searching? setting
~ or ~

To disable the indexing service at the service level, perform these steps:
Click Start, Run, type services.msc then press Enter or click OK
Scroll to the ?Indexing Service? in the right-hand pane and double-click it
Change the Startup type to ?Manual? or ?Disable? and Apply
Click the Stop button and wait for the service to stop then click OK

Modify the Windows Service Timeout
In environments with shift changes and large amounts of virtual machines rebooting some virtual machines may fail to register because the Windows Service timeout may be reached before Citrix Desktop Service starts.  The Windows Service default timeout is 30 seconds which may not be long enough for all the services to when the virtual machines are coming online simultaneously. We recommend changing the 30-second default to 120-seconds to give the services times to start before the Citrix Desktop Service starts.   The timeout value is represented in milliseconds so 60 seconds = 60000 ms.  The following registry change can be made to lengthen the Windows Service timeout period.

Start Registry Editor (Regedit.exe)
Navigate to the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
If the ServicesPipeTimeout value is not present, use the following steps to create it:
Click the Control subkey
On the Edit menu, point to New, and then click DWORD Value
Type ServicesPipeTimeout, and then press Enter
Right-click the ServicesPipeTimeout key and then click Modify
Click Decimal
Type 120000, and then click OK
Quit the Registry Editor
Reboot for the changes to take effect

Disable Remaining Unnecessary Services
You can go through the list of other services that are configured on Windows XP and disable any ones that will not be used in your environment. Two possible services are the Wireless Zero Configuration service and the Themes service.
Enable ClearType
To enable ClearType and make any adjustments to suit your eyes, go to the Microsoft Typography pages and follow the simple instructions. You can adjust ClearType in the Control Panel after installing the software at the link.
Recommendations Before Imaging
Below is a list of recommendations that can be completed right before creating the vDisk image. Most of these are designed to optimize the layout of the files on the disk so that PVS server can operate at maximum efficiency.
Zero Deleted Files
SDelete is a secure file delete utility that can be used to free and cleanup unused space on the image. In short, it zeroes out any files that have been freed up by the operating system and helps the image run faster. For more information about how it works or to download it, visit the URL below. The recommended options are -z and -c. (sdelete -z -c)

Usage: sdelete [-p passes] [-s] [-q] <file or directory>

sdelete [-p passes] [-z|-c] [drive letter]

More information available at http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx
Defragment the Local Disk
Run the some type of disk defragmenter tool to optimize the files on the image. It is best to run the utility after removing the pagefile.sys and hiberfil.sys files. If you will use a page file, just re-enable it after you defragment the disk, that way the page file is contiguous. The Windows Defragmenter can be found at Start >> Programs >> Accessories >> System Tools >> Disk Defragmenter.
Flush the DNS cache
Flush the DNS Cache using the ipconfig /flushdns command. This prevents any IP addresses cached on the read-only disk from interfering with DNS resolution at a later date.
Run ChkDsk
Verify the file system has no missing file links or pieces by running chkdsk –f from a command prompt.

Citrix Image creation

Automated Master Image Creation


//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fxenappblog.com%2F2014%2Fautomated-master-image-creation%2F&send=false&layout=button_count&width=120&show_faces=false&action=like&colorscheme=light&font&height=21“>

WSUS

When deploying a new computer or server image using MDT / SCCM, one of the most time consuming parts is Windows Update. So if the reference image isn’t getting updated on a regular basis, the deployment time will increase each and every month.

To achieve the fastest deployment the reference image should be automatically updated with the recent Windows Updates at least once a month.

Automated Master Image Creation-02

The recommended platform for building references images is the free Microsoft Deployment Toolkit, even if the images is going to be used with SCCM. So let’s get started with Automated Master Image Creation.

Open CustomSettings.ini for your Build Deployment share and add the following to the top:

And at the bottom you add a section for each and every OS type you want to automate with the correct MAC Address:

If you’re using Windows 2008 R2 or Windows 7 you should add the ProductKey= as well to skip the licensing screen.

Automated Master Image Creation-03

To be able to move a captured image to the correct location in a Task Sequence you need to create a script in the scripts catalog, in my case \mdt-01.ctxlab.localMDTBuildLab$Scripts.

Call the script Realocate.cmd and add the following:

And then add a Command Line task at the end with this command:

Automated Master Image Creation-04

So in the example above, if a computer with the MAC Address 00:15:5D:01:FB:32 boots on the ISO it will automatically start the Task Sequence W81, capture the image, move it to the Production Deployment Share and shutdown the computer.

All this without lifting a finger, a real zero touch deployment. Relax and check theAutomated Master Image Creation status now and then from you mobile device.

Automated Master Image Creation-05

Wouldn’t it be cool if we could leverage PowerShell to automatically build the master images as a Schedule Task? The following script will create and start a Hyper-V VM with the correct MAC Address and delete it when the capture is finished.

To further improve the building time of the reference images, the captured images should be copied back to the MDT Build Deployment Share once in a while. This way you will update the latest version instead of the base Microsoft ISO image with hundreds of Windows Updates.

So how long does it take to deploy Citrix XenDesktop 7.1 totally automated which Gunnar Berger referred to above? 28 minutes from start to finish, including GPMC and the SCVMM Console.

To further reduce time and space take a look at this article from fellow CTP Aaron Parker : Cleaning up and Reducing the Size of your Master Image.

To learn more check my free training on Automated Master Image Creation.

Source: http://stealthpuppy.com/cleaning-up-and-reducing-the-size-of-your-master-image/

Cleaning up and Reducing the Size of your Master Image

Compressed Car

There’s typically not too much that you can do to reduce the size of your master image. You might use application virtualization or layering solutions to reduce the number of master images, but once you work out what needs to go into the core image, that’s going to dictate the size of the image.

Reducing the size of your master image can help reduce the capacity required to store master images and virtual machines (dedupe helps, of course) and spend less cycles transmitting an image across the network for physical PCs.

An easy win, is running the Disk Clean-up tool included in Windows (since Windows XP) and fortunately this tool can be automated to run at the end of a build (e.g from MDT or ConfigMgr). For physical PCs or persistent desktops, this tool could even be run as a scheduled task.

Microsoft released an important update for Windows 7 last year that can result in a significant reduction in disk space: Disk Clean-up Wizard addon lets users delete outdated Windows updates on Windows 7 SP1. The same feature was originally delivered with Windows 8. (Windows 8.1 Update 1 is expected to reduce disk space requirements again).

Here’s an example system where I’ve run the Disk Clean-up tool that has resulted in a 3.4 GB reduction in disk usage – on the left is the before image, on the right is after the cleanup. (I’m cheating a bit here, this is a system that has gone from Windows 7 to Windows 7 SP1, hence the reason for such a large change).

Compare Disk Cleanup Before and After

Disk Clean-up can remove a number of interesting items, most of which will actually be applicable for PCs and persistent desktops post-deployment. Here’s the items that Disk Clean-up can manage on Windows 8.1:

Disk Cleanup options

To automate Disk Clean-up, use the following steps:

  1. Elevate a command prompt
  2. Run CLEANMGR /SAGESET:<number> (where <number is any number between 1 and 65535)
  3. Select each of the items to clean up
  4. Click OK

To run Disk Clean-up from a script run CLEANMGR /SAGERUN:<number> (where <number> is the same number use with SAGESET.

To automate the process of running Disk Cleanup, the following script can be used to enable all of the tool’s options in the registry and then execute the cleanup process. This script should work for both Windows 7 and Windows 8 and would be useful to run at the end of a deployment. This example uses 100 as the configuration setting, so you would run CLEANMGR /SAGERUN:100 to run Disk Cleanup with these settings.

It’s important to note that while Disk Clean-up exists on Windows 7 and Windows 8, it does not exist on Windows Server unless the Desktop Experience feature is installed (i.e. a Remote Desktop Session Host).

If your image is Windows 8.1 or Windows Server 2012 R2, then the following command is available to perform an even more in depth cleanup of the WinSXS folder, making some additional space available:

Running Disk Clean-up and the above DISM command in a script to clean up your master image should result in a smaller image. Don’t forget that this approach is also useful for persistent desktops – unless you’re using some type of dedupe solution, then there’s potentially gigabytes per desktop that can be removed.

There is one more method worth for reducing space worth mentioning – the Uninstall-WindowsFeature PowerShell cmdlet in Windows Server 2012 and Windows Server 2012 R2. This can go a long way too to reducing the disk footprint by completely removing features from Windows (making them unavailable for install).

For instance, if you’re deploying a Remote Desktop Session Host, there’s no need for IIS or Hyper-V to be in the component store. See this blog post article for full details: How to Reduce the Size of the Winsxs directory and Free Up Disk Space on Windows Server 2012 Using Features on Demand

[May 14 2014] Microsoft has released this update for Windows Server 2008 R2, which can be on the original KB article here: Disk Cleanup Wizard add-on lets users delete outdated Windows updates on Windows 7 SP1 or Windows Server 2008 R2 SP1. The update is available from Windows Update and WSUS.

XenApp 6.0 tidbits from www.thomaskoetzing.de

source: http://www.thomaskoetzing.de/

Citrix XenApp 6.0/6.5 and Microsoft Windows Server 2008 R2
I highly recommend to install service pack 1 for Server 2008 R2 because it fixes several Remote Desktop Service (Terminal Service) issues that are also affecting XenApp. Read the following KB for Known Issues CTX126711 with SP1 and CTX129241.

I also highly recommend installing the Rollup Pack 1 for XenApp 6.0 and XenApp 6.5. See also Citrix recommended Microsoft and Citrix Hotfixes for XenApp 6 and Windows Server 2008 R2 at CTX129229

Citrix XenApp 6.0/6.5 update script
I modified my existing update script just for XenApp 6.0 on Server 2008 R2. The script will not work with older versions of XenApp. Also the script is not downloading or applying components like the role manager etc.

Download the script here: XA6xUpdate_v1.6.zip

Citrix XenApp 6.0/6.5 things to know:

Citrix XenApp 6.0/6.5 and Server 2008 R2 Service Pack 1 (SP1)

Citrix XenApp 6.0 / 6.5 bug list:


Windows Server 2008 R2 bug list:

  • Shadowing users with multi monitor is not possible right now and therefore also NOT for XenApp 6.0, this is really a pain for support personal
    Error: Shadow failed. Error code 7044
    http://support.citrix.com/article/CTX125693
  • Annoying “Single-click” folder option for users on Server 2008 R2
    The group policy “Classic Shell activate” (Windows-Explorer) should fix that by enabling it but actually you should disable it! Then users have to set the folder option back and forth or you can set a registry value to do it for the users.