We help IT Professionals succeed at work.

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

1,656 Views
Last Modified: 2012-05-11
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?
Comment
Watch Question

Commented:
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?
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
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 SharmaTechnical Designer
CERTIFIED EXPERT

Commented:
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
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2007

Commented:
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/OS/Microsoft_Operating_Systems/Q_23650035.html

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.