New
#1
Using Powershell to delete REG key for all users
Hey all, not sure if this is the right place to ask, especially considering how pointed the question is.
We're trying to do a thorough clean install of a software due to changing the version (specifically, we're moving from SolidWorks 2017 to 2020 SP04). However, the issue is that uninstalling everything just doesn't actually clean everything. There seems to always be something left, especially in the registry. And of course, part of the registry is exclusive to each user, meaning I just can't clean everything through the Admin account.
So the question is this: Knowing that HKEY_USERS should contain all users that are on the computer, can I, through a Powershell script or something, delete the relevant registry keys for all users on the computer and how.
I've managed to find a few snippets of Powershell code through Google but it's not always clear what it does or why, and most importantly what I need to adapt.
So yeah, anyone got maybe some pointers?