Avatar of ptsolutionsinc
ptsolutionsinc
Flag for United States of America asked on

Registry Key Permissions (Cannot open Windows: error while opening key)

I just removed several viruses from my customers computer (Windows XP SP3).  I am now trying to uninstall AVG 9 so we can install AVG 2011.  During the uninstall process, it fails stating it does not have access to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows.

When navigating to the key manually, I get the following error.  Cannot open Windows: error while opening key)

I have tried changing the permissions and owner but get the following error.  Unable to set new owner on Windows.  Access is denied.

Any ideas how i can fix this?
Microsoft Legacy OSWindows XP

Avatar of undefined
Last Comment
rpggamergirl

8/22/2022 - Mon
mastoo

I presume you're using regedit?  What does it show when you right click that key and select permissions?  It should list the local admin group with full control and you are hopefully logging in as a member of that group?
johnb6767

In the registry, go to.....

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Rt Click>Permissions>Advanced, and make sure that Administrators has Full Control, and select the botom checkbox "Replace all child permissions with inheritable permissions from this object"....

Then see if you can access the Windows subkey......

You really dont need to take ownership of the key.
Sudeep Sharma

John advice would work however below utilities would still help you in uninstalling the AVG if it fails from Add/Remove program
===============================================================================
AVG Remover

AVG Remover eliminates all the parts of your AVG installation from your computer, including registry items, installation files, user files, etc. AVG Remover is the last option to be used in case the AVG uninstall / repair installation process has failed repeatedly.

AVG Remover(32bit) 2011
http://download.avg.com/filedir/util/support/avg_remover_stf_x86_2011_1184.exe

AVG Remover(64bit) 2011
http://download.avg.com/filedir/util/support/avg_remover_stf_x64_2011_1184.exe

After running the removers:
http://forums.avg.com/ww-en/avg-free-forum?sec=thread&act=show&id=110317

More downloads at:
http://www.avg.com/ww-en/download-tools

==========================================================
Below is one more application remover for AVG, this from Sun Belt Software who have created Viper and GFI.

http://go.sunbeltsoftware.com/?linkid=1273

Source:
http://www.sunbeltsoftware.com/Business/Agent-Uninstallers/

I hope that would help

Sudeep
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
johnb6767

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rpggamergirl

For registry editing:
Try using the "At /interactive regedit.exe" command.
At DOS window. Type in below example:(change "12:00" to what time you want permission, e.g. 1 minute ahead in real time) it works.
 

at 12:00 /interactive regedit.exe


From the above example:
This means that at 12:00 the registry will have SYSTEM privileges! - you should be able to do anything at this time.

https://www.experts-exchange.com/questions/23650035/HKEY-LOCAL-MACHINE-Software-Licenses-inaccessible-or-corrupt.html