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 1 year 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 1 year ago
  • So you are opening regedit and can see the key, but then when you run the PowerShell script it can't? - chucksteel 1 year 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 1 year ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ