Dec 192018
 
Citrix PVS Optimization Guide

PVS Server Memory Sizing Citrix PVS server will use the system memory as a cache for the streaming operation. It is recommended to allocate enough memory to the server to get the best streaming performances by caching the virtual disks into the RAM. I use Sysinternal RAMMap on the PVS servers under load to find the maximum […]

Nov 252018
 
Enforce File Type Associations

When defining the policy “Default Associations Configuration File” with an XML definition file, users are still able to use the “Open with…” command in the context menu and set their own file type association. This is by design. One solution to enforce the FTA at logon is to use the “SetUserFTA” software from Christoph Kolbicz’s Blog. […]

Oct 052018
 
Remove a symbolic link with PowerShell

Remove-Item cannot be used to remove symbolic link to directory as it will remove the content of the directory it points to (so be careful!). To safely remove a symbolic link from the file system using PowerShell, add the following function to your script: From: PowerShell Gallery | Private, LinkUtils Remove-Symlink -Link [path to the symbolic link […]

Mar 132018
 
UPDATE - FSLogix – Pre-Mount OneDrive Junction Points – Don’t Kill Your XenApp Server’s Drive Space!

——–UPDATE 3/28/2018 ———- Starting with FSLogix 2.8.12 you no longer need to do this.  Great work FSLogix! From their release notes: “• An issue with first time OneDrive installation has been resolved. The issue occurred when OneDrive was installed for the first time, and OneDrive syncing began. The FSLogix agent would not redirect the OneDrive […]

Mar 052018
 
PowerShell: find a process owner in a Citrix XenApp / Microsoft RDS environment

The PowerShell Get-Process commandlet cannot return the process owner in the v3 implementation. In PowerShell v4, the Get-Process cmdlet now has a “-IncludeUserName” parameter but it will only run as elevated (administrator). I’ve been searching for an optimized script, running in a non-elevated context. But all I’ve found was slow and high resource demanding scripts […]

Feb 212018
 
FSLogix Local Profiles Migration Script

I plagiarized David Ott’s script for migration of Citrix Profile Manager (UPM) profiles to FSLogix and created it for Local Profiles. NOTE: This only works between like profile versions.  eg. You can’t migrate your 2008R2 profiles to Server 2016 and expect it to work.  See this chart. This requires using frx.exe, which means that FSLogix […]