Client Drive Mappings in a View Desktop
A customer recently came to me with a very specific request. They wanted all of the drive mappings that each user had created on their local workstation (their View Client) to be created on their VDI Desktop. Without roaming their profile, I created a simple logon script for the VDI Desktop to execute (VMware’s Profile Migration does not capture Drive Mappings, at least not when converting from XP to Win 7). As you’ll see below, I really just found 3 other smarter people’s scripts and mashed them together (with some minor adjustments to work in the VDI scenario) in order to get them to do what I needed. Since the results are highly specific (and a bit interesting), I figured that I’d go ahead and post the script. Be aware that it abuses the fact that, in this environment, everyone is a local administrator on their physical desktop, so I expect that some of the client registry queries might fail under other circumstances. Just so that everyone knows, the customer is consider