Registry error 'Error while opening key'

D

Dirk Mahoney

I have a program that places a key under HKEY_LOCAL_MACHINE\SOFTWARE during
install (an MSI built with Visual Studio Installer).

After about a week, the installer attempts to repair the installation (but
fails usually because the user is running under the 'Users' group and hence
has no install privs). Upon further examination, the registry key created
(call it HKEY_LOCAL_MACHINE\SOFTWARE\Blah) seems to be corrupted, such that
when viewed using RegEdit or RegEdt32, Windows complains... 'Error while
opening key'.

It is obvious that the installer is kicking in again to repair this registry
problem, but I cannot find a reason that my particular branch of the
registry should be corrupt. The program is written in VB6SP5 and this
problem occurs on Windows 2000 Pro and Windows XP, but not on every
installation of the software.

Has anyone seen this before and/or know what causes it?

Thanks in advance,

Dirk
 
S

steve

I have a program that places a key under HKEY_LOCAL_MACHINE\SOFTWARE during
install (an MSI built with Visual Studio Installer).

After about a week, the installer attempts to repair the installation (but
fails usually because the user is running under the 'Users' group and hence
has no install privs). Upon further examination, the registry key created
(call it HKEY_LOCAL_MACHINE\SOFTWARE\Blah) seems to be corrupted, such that
when viewed using RegEdit or RegEdt32, Windows complains... 'Error while
opening key'.

It is obvious that the installer is kicking in again to repair this registry
problem, but I cannot find a reason that my particular branch of the
registry should be corrupt. The program is written in VB6SP5 and this
problem occurs on Windows 2000 Pro and Windows XP, but not on every
installation of the software.

Has anyone seen this before and/or know what causes it?

Thanks in advance,

Dirk

Dirk

I would guess that your application is corrupting its own registry
key. But without details of what your application does to the registry
in its normal operation its difficult to say what the cause might be.

You should start by debugging your apps registry interaction.


steve
 
S

steve

I have a program that places a key under HKEY_LOCAL_MACHINE\SOFTWARE during
install (an MSI built with Visual Studio Installer).

After about a week, the installer attempts to repair the installation (but
fails usually because the user is running under the 'Users' group and hence
has no install privs). Upon further examination, the registry key created
(call it HKEY_LOCAL_MACHINE\SOFTWARE\Blah) seems to be corrupted, such that
when viewed using RegEdit or RegEdt32, Windows complains... 'Error while
opening key'.

It is obvious that the installer is kicking in again to repair this registry
problem, but I cannot find a reason that my particular branch of the
registry should be corrupt. The program is written in VB6SP5 and this
problem occurs on Windows 2000 Pro and Windows XP, but not on every
installation of the software.

Has anyone seen this before and/or know what causes it?

Thanks in advance,

Dirk

Dirk

I would guess that your application is corrupting its own registry
key. But without details of what your application does to the registry
in its normal operation its difficult to say what the cause might be.

You should start by debugging your apps registry interaction.


steve
 
R

Rakesh Rao

I have a similar problem but with a login script when it is run. I solved
that part of the problem by giving the file permission to run under the
users policy. So maybe you should check the security settings of the file as
this could be causing the problem.

Rakhesh
 
R

Rakesh Rao

I have a similar problem but with a login script when it is run. I solved
that part of the problem by giving the file permission to run under the
users policy. So maybe you should check the security settings of the file as
this could be causing the problem.

Rakhesh
 
Joined
Oct 25, 2005
Messages
1
Reaction score
0
Regedit Error Opening Key CzTj6AwnMf9

I tried several ways to open and delete this registry entry. I think it Virus or a downloader. I keep getting pop-up on the desktop and have run Xofspy, pestpatrol and my virus sccan plus an Internet Virus scan.

I need help on how to delete this entry.

Thanks Rich (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top