Dec 232021
 
Reset user profile folders permission

Preamble It’s a day before Christmas. Everything is fine. Or so it seems. But suddenly, no one can access their UPM profile.A quick look at the UPM profile folder, and the CREATOR OWNER permission has been removed accidentally by someone and propagated to all subfolders. The users have been “locked out” from their own profiles.P1 […]

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 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 […]

Dec 202017
 
Upgrading Persistent MCS VDAs (Automated)

In my environment I have nearly 100 persistent MCS VDAs. Our developers, contractors, and even us IT people need the ability to change things on our VDI desktops (install/uninstall/set registry/create local IIS sites/etc.) and have them persist reboots. Luckily, the only software I have to maintain on these desktops is the VDA itself. That still […]

Oct 242017
 
Citrix UPM Profiles to FSLogix Profiles Conversion Powershell Script

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. I moved from UPM to FSLogix earlier this year, and decided to write my own powershell script to convert the UPM profiles to .vhd.  FSLogix has its own conversion […]

Aug 252017
 
FSLogix VHD/VHDX Profile Compacting Script

(See the new tool Here) I recently switched from Citrix Profile Management to FSLogix! For those of you who do not know how it works… it mounts a virtual hard drive at the C:\Users\%UserName% folder for each user who connects. A huge advantage to this is that it is not copying the profile in at logon […]