Unable to remove the key under Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options
I wanted to delete key under this path Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options using Powershell command. I can see the folder path under registry but in powershell by using test-path , getting false. But the test-path returns true upto microsoft
4 Comments
[ + ] Show comments
-
Are you running the powershell script in the same user context as you are viewing the registry? - chucksteel 5 years ago
-
For installation, I did active setup and i need to uninstall the key from HKCU. Yes, trying to uninstall the key from the user context. Do i need to use active setup for uninstalling as well ? - ldhema 5 years ago
-
So you are opening regedit and can see the key, but then when you run the PowerShell script it can't? - chucksteel 5 years ago
-
i would say to try going for LOCAL_MAchine instead of current_user. per user is more of a headache than if u go straight to LOCAL_MACHINE. - haway_the_lads 5 years ago
Answers (0)
Please log in to answer
Be the first to answer this question