09/17/2019 275 views

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

3 Comments   [ + ] Show comments


  • Are you running the powershell script in the same user context as you are viewing the registry?
  • 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 ?
  • So you are opening regedit and can see the key, but then when you run the PowerShell script it can't?

There are no answers at this time