imageAfter reading Andy Morgan’s (excellent) blog post about Removing Screen Resolution and Personalize shell extensions from a users desktop session I couldn’t help it.

imageI had to write a PowerShell script to take ownership of the mentioned registry keys. So here goes:

The code is only quick to show we can do it (after all PowerShell has no limits) and could be improved error handling and so on. But it works!