Source: Citrix Scout – Citrix Scout
Category: XenApp 7.x
Sealing a XenApp 7.6 PVS vDisk
- Run chkdsk C: and reboot
- Clean-up event logs if they are not redirected to the cache disk :
- Via PowerShell -> Get-EventLog -List |%{$_.clear()}
- wevtutil cl system
- if vSphere is used, delete « ghost » NICs :
- open elevated prompt
- type : ” SET DEVMGR_SHOW_NONPRESENT_DEVICES=1 “ and validate
- type : ” Start devmgmt.msc ” and validate
- click on View and ” Show Hidden Devices “
- delete « ghost » NICs
- run slmgr.vbs /dlv to ensure a proper KMS server and license configuration
- If MS Distributed Transaction Service is installed, run msdtc.exe -reset
- if MS Message Queuing is installed, clear its cache :
- NET STOP MQAC
- NET STOP MSMQ
- Run Disk Cleanup on C: drive as elevated administrator
- Delete local profiles that are not required
- Stop Citrix Profile Manager service
- If Citrix Profile Manager is configured via GPO, check that its INI in C:Program FilesCitrixUser Profile Manager has been renamed
- Delete Citrix Profile Manager logs from c:WindowsSystem32LogFilesUser Profile Manager if not redirected to the cache disk
- if using App-V or similar technology, check for updated App-V content to update the precache within the vDisk image
- Perform required “de-personalization” for your antivirus (refer to their KB, as the process will differ based on the vendor)
- Perform required “de-personalization” for your monitoring agent (SCOM, Tivoli..)
- Perform required “de-personalization” for your other agents (AppSense, RES, SCCM..)
- Perform a full antivirus scan on the virtual machine
- Stop Client DHCP service
- Run elevated : “regedit /s DHCP_clear.reg” (see Dave’s post)
- Perform a Defrag on the virtual machine
- PvD only: run inventory (with machine shutdown option ticked)
- Shutdown the machine if PvD is not used
- Perform a defrag of the VHD by mounting it in a WS2012R2 server
Change Remote PC delivery group display name – XenDesktop 7.x – Discussions
This is done via the powershell on a local XenDesktop Controller with the following commands:
>asnp citrix.*
>Get-BrokerDesktopGroup -name “Name of RemotePC Desktop group”
## note the “DesktopGroupUID” ##
>Get-BrokerPrivateDesktop -DesktopGroupUid UIDofRemotePCDesktopgroup | Set-BrokerPrivateDesktop -PublishedName “New Name”
What happened to QFARM?
QFARM is an IMA function and since XenApp 7.x has now moved to FMA it uses powershell
This script should give you the load on your servers similar to a QFARM output
Get-BrokerMachine –Filter ‘SessionSupport –eq “MultiSession”’ –Property @(‘DNSName’,’LoadIndex’)