BrianPeek.com
A Compendium of Random Uselessness
Weird Vista Registry Issue

I'm attempting to track down a very strange Windows Vista registry permissions issue that hit me on two machines, that I've found mentioned in random various forum posts across the Internet, that has no known cause or solution, and which I cannot seem to reproduce in a VM though I've seen it happen on 2 machines across 4 Vista installs.  I'm hoping everyone that happens to read this post will take a few minutes to check the following and contact me directly or leave a comment with a way to communicate back to you.  Here's what to do:

  1. Run regedit.exe, everybody's favorite Registry Editor.
  2. At the root node of HKEY_CLASSES_ROOT, right-click and select Permissions from the context menu.
  3. Report what you see.  The first image is correct.  The second image is the problem scenario.

image reg

Subsequently, every subkey that is created or modified after this problem occurs has no permissions attached to them, causing all sorts of issues like COM components not being registered, file extensions not being registered, etc.  Permissions on every entry prior to the problem occurring are set properly.

I first noticed the problem when installing XNA 2.0 Beta, though its problems were caused by the already unnoticed and broken permission state.  Several folks in the XNA forums have reported a similar issue with no evidence of a cause, though I did find a not-so-perfect solution for x86 machines.  I have a feeling this is something that has happened recently, perhaps due to a Windows Update, but that's just a guess.

I attempted to reproduce this in a VM and failed.  I rebuilt my Vista x64 desktop since this was causing chaos and managed to reproduce it twice by installing Office 2007.  Yet, doing that same thing in a clean Vista VM would not reproduce it.  So that's not it either.  There are reports of it happening on both x86 and x64 installs.  There's obviously some sort of interaction here, but I have yet to find the common link.

My original installations were running with UAC off.  My first two re-install attempts ran with UAC off as I typically run.  On the third re-install attempt I left UAC on instead of turning it off and that seemed to make all the difference.  However....note that in attempting to reproduce this in a VM multiple times in multiple ways, UAC was turned off and the problem did not occur.

Update 1/26/09: I’ve received a lot of emails from people stating that the “new” secedit fix isn’t working for them.  It’s certainly still worth a try to see if it will fix the problem as it’s an easier solution, but it you’ll likely still have to go with the subinacl method in order to correct the problem.

Updated solution (1/12/2009): Jim Beveridge left a comment below with a new solution that is a much better fix:

The solution is to reset the registry permissions by running this command (this is for Vista - should all be on one line):

secedit /configure /cfg C:\Windows\inf\defltbase.inf /db defltbase.sdb /areas REGKEYS

This is described in:

http://support.microsoft.com/kb/313222

Note that I intenionally added the /areas REGKEYS parameter to the command line so that only the registry would be updated. You don't want to reset file system permissions if you don't have to because some applications use non-default security settings.

This command should work on both 32-bit and 64-bit platforms. Secedit is more intelligent than the brute-force subinacl commands above. I also found that Secedit ran an order of magnitude faster than trying to run subinacl six or more times.

So, the below remains for posterity, but definitely try the above fix and see if it corrects the problem before trying what’s below…


The partial solution below does not fix the root of the problem.  One can reset the registry permissions using subinacl from the Windows Resource Kit, but a) it's a 32-bit app so it can only touch the 32-bit reg keys, and b) HKEY_CLASSES_ROOT itself will still randomly reset its permissions to nothing though the subkeys will still retain their fixed permissions.  So, anything which attempts to write to the registry is once again broken.

To partially fix the issue, do the following:

  1. Install subinacl.
  2. Copy/paste the following to a batch file and run it, replacing YOURUSERNAME with your Windows username:
cd /d "%programfiles%\Windows Resource Kits\Tools" 

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators
subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators 

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators
subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators 

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators
subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators 

So, kind readers, please take a look at the above and let me know what permissions you're seeing on your registry so I can continue to find the root cause.


Posted Thu, Nov 29 2007 10:01 PM by Brian Peek
Filed under:

Comments

DotNetKicks.com wrote Weird Vista Registry Issue
on Tue, Dec 18 2007 6:34 PM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Steven wrote re: Weird Vista Registry Issue
on Sat, Dec 29 2007 8:53 PM

I had the same problem. I tried using subinacl, but I don't know if I tried the command you posted here. Twice my laptop would not boot and I had to restore from a backup, so I spent a day setting the permissions on every messed up key manually. Now all my errors are gone (Hurray).

I did not set the permissions for HKEY_CLASSES_ROOT though. I am trying to do that now and wondering (looking at the other root keys, what RESTRICTED is. They all have it as read only, but I cannot add RESTRICTED.

For several of the programs that I use and have too much invested in, they use plugins which need computer access and would simply not work with UAC on. I tried all the run as administrator options without success.

I'm not sure if UAC off is the reason for the registry problem, but this is BS! Dear Microsoft, don't let me turn it off if you make sure the computer won't work right with it off.

Sigh. Thanks for this info. At least I am not alone.

Tangent wrote re: Weird Vista Registry Issue
on Thu, Jan 3 2008 9:09 AM

This is a great utility and thank you for the instruction.  In my case, my Office 2007, after patched with SP1, never ceases to install itself every time I launch it.  A few of my programs also see the similar issue.  After attempting to fix it using RegEdit, which failed and crashed, my Vista had a lot of services fail to run (ironically it is way faster but a bit dysfunctional), thanks for this post.  I am able to install the util in an XP box and copy to my Vista, boom, things are back in business again.

photoshop dersleri wrote re: Weird Vista Registry Issue
on Sat, Feb 16 2008 10:41 AM

thank you

josh wrote re: Weird Vista Registry Issue
on Mon, Feb 18 2008 8:06 AM

How amazing to find your website detailing the exact same problem that I experienced on my system --- as well as the exact same conclusion pertaining to HKEY_CLASSES_ROOT not getting the correct permissions.

I partially solved this on my end by using a different software tool called Security Explorer, where I just gave "Everyone" permission to all of HKCR. This seems to have corrected many (but not all) of the issues. For example, even with permissions set in HKCR, my Office 2007 icons still do not display correctly. I don't know if this has to do with another part of the registry or other files in the OS that need to have permissions set properly but generally speaking, it's crystal clear that running with UAC off is causing MAJOR problems with permissions across the OS and that results in all kinds of issues like you mentioned.

Benheck wrote re: Weird Vista Registry Issue
on Sat, Feb 23 2008 11:26 AM

I had this problem affecting 2 programs, AI CS3 and iTunes... iTunes specifically "reinstalling" every time it ran. AI would give a "registry not in expected state" message upon running.

I ran your solution and it fixed both. Permissions were set for HKEY_CLASSES_ROOT as well.

Last night iTunes took the liberty of updating itself to 7.6.1.9 and it removed the permissions from HKEY_CLASSES_ROOT. AI isn't affected, but once again iTunes had to "configure" upon running.

I shall run your fix again, but yes, iTunes seems to be what did it to me.

Does this help narrow it down?

Sam wrote re: Weird Vista Registry Issue
on Thu, Feb 28 2008 7:46 AM

I also have the same problem and will be fixing it in a mo.

I don't have Itunes installed but I do have the Apple Software Update application installed (because of quicktime).  Might this be the culprit?

john wrote re: Weird Vista Registry Issue
on Thu, Feb 28 2008 7:26 PM

maybe this is a stupid question, but do u have to use the fix he provided? cant i just go into the permissions box like he has up there and add them myself? why use 3rd party apps?

Brian Peek wrote re: Weird Vista Registry Issue
on Fri, Feb 29 2008 3:13 AM

@John,

You'd know the answer to that if you tried it by hand.  :)  regedit.exe will not allow you to change the registry back in this manner likely due to the fact that the permissions are so out of whack.  It just throws an error if you attempt it.  Additionally, with the potential for so many keys and subkeys to be improperly permissioned, it's much easier to run the above batch file than to set security on hundreds of entries

Bryan J wrote re: Weird Vista Registry Issue
on Fri, Mar 7 2008 7:43 AM

I was affected by this as well. It was causing random problems in many programs. I was getting install shield errors with any application utilizing InstallShield 11.5. I was getting errors with video editing apps, internet browsers...all sorts of random problems....so far this fix has eliminated my errors. I'm not sure how it got messed up in the first place, a few people mentioned ITunes....I also had that installed at one point, and I do use Apple Updater for Quicktime...that very well may be the culprit. If you need more info, e-mail me at nocturnex@neuroticnetworks.com

Patrick wrote re: Weird Vista Registry Issue
on Thu, Mar 13 2008 7:23 AM

I had exactly the issue. Regedit showed same as the second image. Office 2007 SP1 & iTunes were effected. They ran their install program every time I opened them. I was also unable to open or activate macdrive as it couldn't access its own registry entries!

The program and batch aboved sorted it out (booted to command prompt to be sure no active apps would interfere).

Office runs without complaining now, as does iTunes and I was able to activate macdrive.

Tim wrote re: Weird Vista Registry Issue
on Thu, Mar 13 2008 7:58 AM

Hi peeps,

If I run the fix through subinacl it still gives me errors like 'Error when checking arguments HKey_CLASSES_ROOT' and 'Current object: HKEY_CLASSES_ROOT will not be processed' and also 'LookupAccountname: HKEY_CLASSES_ROOT users 1337 The securities-id structure is not valid'.

I ran also the fix of this webpage (forums.techarena.in/showthread.php). I had a problem installing Office Project, but now my Vista is messedup.

Maybe you guys understand more of this.

Greets Tim

John Kisha wrote re: Weird Vista Registry Issue
on Thu, Apr 17 2008 5:21 PM

According to a tech I am now working with at MS, this seems to be caused by turning UAC on and off repeatedly. I guess it was designed to be either turned on or off, not to be toggled between on and off.

Brian Peek wrote re: Weird Vista Registry Issue
on Fri, Apr 18 2008 2:27 PM

@John, I'm not so sure I believe that.  I have gotten the issue to show up accidentally once again on my laptop and UAC was turned off once and never turned back on...

Inland Pacific Consulting wrote Windows VISTA Warning!
on Sat, Apr 26 2008 8:41 PM

The last few weeks have found me in Vista hell with the fires being distinguished just yesterday...what a relief.   Vista has a new security 'feature' called User Account Control (UAC), which is designed to prevent novice computer users f ..

Inland Pacific Consulting Blog wrote Windows VISTA Warning!
on Thu, May 1 2008 1:42 AM

Windows VISTA Warning!

Josh wrote re: Weird Vista Registry Issue
on Sat, May 10 2008 4:15 PM

Have we determined if this is caused by iTunes and/or Apple's Software Update? Or are there people that have this issue that never installed any Apple items at all?

Brian Peek wrote re: Weird Vista Registry Issue
on Sat, May 10 2008 4:49 PM

It is definitely *not* caused by iTunes/Apple software.  I've never had either installed and still have experienced the problem.  The only link so far is UAC being turned off.

John wrote re: Weird Vista Registry Issue
on Mon, May 12 2008 9:35 AM

I have the same problem.. it first appeared after installing MS Empressa Web 2.   Ran your suggested fix and all seems to be working for now.

Josh wrote re: Weird Vista Registry Issue
on Sat, May 17 2008 2:05 PM

Brian,

In your experience, does this generally happen after initial install? Or does something seem to trigger the registry issue later on (i.e. MS patch, other software installation, etc.)

I just did a clean install of Vista with SP1 integrated into it and haven't seen this problem. My old install (without SP1 integrated) had the registry issue.

Brian Peek wrote re: Weird Vista Registry Issue
on Sat, May 17 2008 8:58 PM

@Josh, I've found it happens post-initial install.  I've never seen it show up until after I've had the machine running for a bit with other software installed, but I've found no trigger other than UAC being off.

Butch wrote re: Weird Vista Registry Issue
on Mon, May 26 2008 2:42 AM

I've had similar registry issues on my desktop vista machine.  Showed up when I installed the Zune 2.0 software.  I fixed it by taking ownership of the HK Classes Root, adding administrators, users, creator owner, system and my user profile to the permissions (full control) and propagating it down.  Dangerous sure.

Today I installed the XNA 3.0 CTP on my laptop (also Vista premium) which required me to install Zune.  Now I'm seeing registry error messages when trying to create a new project.  Probably the same permission thing.

Josh wrote re: Weird Vista Registry Issue
on Tue, May 27 2008 12:43 AM

For what it's worth, I've reinstalled my Vista using a slipstreamed version that has SP1 + all Windows updates through April of 2008 and I haven't had this issue appear since. I've installed all the same software I had on my previous installation where this problem surfaced...and as before, I have disabled the awful UAC. Still no issues.

I am wondering if this may have been something corrected with SP1 or recent update following? It seems that once you encounter this issue, there is no way to *permanently* fix the problem (unless I'm wrong?). Seems like you can only temporarily fix it until is gets screwed up again.

Josh wrote re: Weird Vista Registry Issue
on Tue, May 27 2008 12:46 AM

Also wanted to point out that my tactic since reinstalling Vista has been to create new System Restore points REGULARLY. I intend to catch my system when and/or if the registry gets screwed up and have a stable restore point to go back to. Hopefully, I can then figure out exactly what caused the corruption in the first place.

System Restore --- highly recommended!

Amway wrote re: Weird Vista Registry Issue
on Thu, May 29 2008 5:57 AM

i have had similar registry issues on my desktop vista machine.

doru wrote re: Weird Vista Registry Issue
on Tue, Jun 3 2008 3:14 PM

Have the same problem, I noticed it after I instaled XNA and vs2005 express edition. I had already instaled vs2008 professional, and with the last one I cant use c# anymore, c++ still working, I mean project with the respective language. Could be some recent vista update. XNA totaly broken.

Donovan Keith wrote re: Weird Vista Registry Issue
on Wed, Jun 11 2008 3:01 PM

I can't tell you how grateful I am for this fix. Every time I would load Microsoft Excel, Word, Outlook, etc I would get an install screen. When I installed Adobe CS3 and started getting similar errors I was frustrated to no end. The fix solved all those problems, my computer is running much more smoothly now. Thanks!

Daniel Tucker wrote re: Weird Vista Registry Issue
on Sun, Jun 15 2008 10:23 AM

Hi,

I'm afraid I might throw a spanner in your diagnosis here. I have recently started to have problems with programs continually doing "first run" setups and the Illustrator "registry state" issue. I have NEVER turnt UAC on OFF as by default its on. It started when I installed 'Microsoft Office Pro Plus 2007 with SP1 Installed' Ive lived with the issue & had no further problems until Adobe Illustrator. Im running your fix now but might I add that I run Vista x64 and had to alter the command line in the *.bat file to locate the folder correctly. I ended up with (CD "C:\Program Files x64\Windows Resource Kits\Tools") as my first line incase any other people are having similar problems. Ill let you know how I get on.

Brian Peek wrote re: Weird Vista Registry Issue
on Sun, Jun 15 2008 4:08 PM

@Daniel...

A few things:

1) By "registry state" you mean the above "no permissions set" state?

2) The cmd line for x64 users should start with "c:\Program Files (x86)"

3) I've found the fix to be of no help on 64-bit systems since istcacl is a 32-bit application and can only fix the 32-bit portions of the registry leaving a ton of it still in the broken state...are you seeing something different?

Thanks!

tuntis wrote re: Weird Vista Registry Issue
on Mon, Jun 16 2008 9:35 AM

Hey

Thanks for the fix. I had the same problem on my Vista x64 SP1 machine: your fix did 2 great things for me:

1) Visual Studio was in a "half broken" state. I couldn't make C++ or XNA projects (I could make C# projects though, because I managed to fix the permissions for them somehow). Now I can make whatever I want to!

2) Whenever I installed an Microsoft Office product (I tested 2007 and 2003), any program that used Windows Installer would pop up an Office Windows Installer dialog before starting. Now Office works like a dream!

I'm not sure how I can help, but I've had iTunes installed at some point and UAC is off for my account (which is an administrator).

Thanks again!

Rob wrote re: Weird Vista Registry Issue
on Mon, Jun 16 2008 10:54 AM

Hello,

I have a question similar to this registry issue. Yesterday (before I even knew about this page) I noticed in regedit.exe that HKEY_CLASSES_ROOT didn't have any permissions. I added the group Administrators with full control (since I'm the only one using the computer, and I'm in the group Administrators).

But after I did this, I noticed some Windows Media Player wouldn't start up and had to be reinstalled. Even worse, after installing I couldn't play any music or vids anymore. I also tried reinstalling all codecs but didn't work.

So.. me thinking the permission in the registry caused this all, I removed the permission again.

Things only got worse now, I couldn't start any program at all anymore (or well, all shortcuts that is). I decided to reboot my computer, since that sometimes helps with various issues.

And guess what, it even got worse! Vista did boot, but all I got was a black screen and my mouse pointer, no taskbar, no desktop, nothing else.

So I'm guessing I basically screwed up the registry, but I can't use my restore points, since I can't even get to the application for it. Also, since I'm using dual boot, I doubt there's still any restore points at this point, because once you boot the other operating system once, all restore points of Vista get deleted.

Is there still a way to get my registry back to the point where I didn't give any permissions yet? Or is the only option I have reinstalling Vista?

Thanks in advance if anyone could help me out.

Daniel Tucker wrote re: Weird Vista Registry Issue
on Mon, Jun 16 2008 11:18 AM

1) It was the message given by Adobe Illustrator "registry not in expected state". same issue as Benheck.

2) My fault, thast me thinking about 64bit Vista and typing it as opposed to x86 which I actually did.

3) Runnig it solved my Illustrator problem although the program did stop responding after quite some time & terminated itself. I have uninstalled Office so cannot comment on that program.

As I said though I have never switched off the UAC.

Gertjan wrote re: Weird Vista Registry Issue
on Sat, Jun 28 2008 4:20 AM

Thnx for your post, I pushed me in the right direction.

I just manually added the users 'Administrator' 'Myusername' and everything is fine now. thx again

Inland Pacific Consulting Blog wrote Windows VISTA Warning!
on Tue, Jul 8 2008 12:35 AM

Windows VISTA Warning!

jbrooks wrote re: Weird Vista Registry Issue
on Sun, Aug 3 2008 1:48 AM

I was having this while installing Visual Studio 2005 on VISTA

"The proper type library could not be found in the system registry."

and this when install SQL 2005 on VISTA

"setup could not connect to the database for server configuration"

Your posting solved both these problems.

nickr wrote re: Weird Vista Registry Issue
on Wed, Aug 6 2008 4:34 PM

I've had no problems with Vista until a few weeks ago when I installed Adobe CS3 Master Collection.

I started getting registry "expectation" messages for Illustrator and Indesign.  Then, my Flash Player was out of date, and removal and reinstallation resulted in registry error message, "information about installation can be found at www.adobe.com/go/tn_19166.

My user permissions looks like the "problem" scenario above.

Since nothing was wrong before using the Adobe "Cleaner" program, which took all old Adobe programs off the computer, I'm wondering if that clicked the permissions awry.

Thanks,

Nick

niki wrote re: Weird Vista Registry Issue
on Fri, Aug 8 2008 8:31 AM

I have the same problem with the registry - Vista SP1 with UAC turnet ON (it is always on - never off). So, I think UAC is not causing the issue.

Sorry for my bad english.

Frankie wrote re: Weird Vista Registry Issue
on Sat, Aug 9 2008 10:28 PM

You Fixed My Problem Halfway but I still can't make xna projects w/ c#

Max Power wrote re: Weird Vista Registry Issue
on Wed, Aug 13 2008 8:45 AM

my "a" system is currently vista 32bit sp1 integrated & slipstreamed with UAC & other stuff removed.  after running perfectly for a month or 2 with lots of applications & games installed, i attempted to rename a file & was told "you dont have permission".  i am sole user & administrator so i thought this a bit strange, even MORE so after rebooting & being then ABLE to rename.  while trying to install vista codecs i received the "you dont have permission" msg while installer tried to write registry keys.  couple days later i attempted to install word reader & got the same msg.  regedit would not allow me to view any keys within media player.

applied ur fix & all installed fine ... thanks m8, this  page was very helpful

stubbsie girl wrote re: Weird Vista Registry Issue
on Thu, Aug 14 2008 3:15 PM

Hi,

I am a computer technician and I use Adobe CS3 web premium for freelance work. I tried installing it to my Vista Business SP1 32bit machine, and went through installation hell for about 3 days with the app. I came across your site along with Aaron Stebner's web page. Using SubInACL I have fixed the issues with Adobe CS3 Web Premium and Flash player for IE.

Just wanted to send you stats for my affected system:

1. Vista Business, SP1, with UAC turned off

2. 4 users, 2 of them administrator users.

3.  I had tried to install Quicktime previously but it would not install, so I installed QTLite instead. This was the only major issue I had with anything on this machine.

4. Zune is installed and seemed working fine.

Thank you so much for sharing your knowledge of this issue. I hope that this fix will stay applied and my computer will not have this problem again.

PeterPan wrote re: Weird Vista Registry Issue
on Sat, Aug 16 2008 3:36 AM

Same problem appeared after reinstalling Adobe CS3.

Vista 32 Ultimate SP1 / UAC always on by default - never canged it

So its still no guess why this happened. I tried to fix the OWNER for the broken keys mannualy (It still can be done yet it gives constant errors). And saw that the broken keys are those that belong to Adobe CS3 - so maybe its the problem of the installer of adobe not setting owner to the keys it creates?

Did everyone who had this problem had any Adobe product installed?

Max Power wrote re: Weird Vista Registry Issue
on Sun, Aug 17 2008 2:41 AM

my problem occurred very soon after installing photoshop cs3.  it was my prime suspect & u guys have clinched it

Brian Peek wrote re: Weird Vista Registry Issue
on Sun, Aug 17 2008 2:52 AM

I have seen this happen on multiple machines with no Adobe products installed.  They maybe be a victim of the OS bug, but they're not the cause of it.

Rue wrote re: Weird Vista Registry Issue
on Sun, Aug 17 2008 9:59 AM

can someone do a walkthrough on how to make the batch file? I don't want to install the windows file subinacl.msi and find that it crashed my system because i didn't put the other stuff.

Do i open notepad and input the:

cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators

subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

I'm new to alot of this and my problem is when I uninstalled Illustrator CS3 and reinstalled it. Now It has that registry problem and Illustrator runs slow with crashes now and then.

Chilakill wrote re: Weird Vista Registry Issue
on Mon, Aug 25 2008 1:32 PM

Same problem in my vista home premium

UAC always on

I have photoshop cs2, i can open it.

I can´t use Quicktime.

I can´t use VS 2008, I only used it once, just after installed it.

I hope some day Microsoft repair this issue.

Rue wrote re: Weird Vista Registry Issue
on Sat, Aug 30 2008 2:32 AM

I say re-install Windows. That will fix your problem Full install. I did this with a new copy of Windows Vista Ultimate and My CS3 works perfectly again.

Mark Hutton wrote re: Weird Vista Registry Issue
on Wed, Sep 3 2008 4:47 PM

This issue prevented Adobe Air installing properly for me and I couldn't install any .air apps, thanks for the information!

Ryan Phelan wrote re: Weird Vista Registry Issue
on Mon, Sep 8 2008 4:02 PM

I had the same problem as Mark - the Adobe AIR installer wasn't working for me:  www.rphelan.com/.../air-install-badge-issues.  I also couldn't install Microsoft Project and didn't realize the problems were related until reading this post.  The fix is working for me so far.  Thanks!

Kellen wrote re: Weird Vista Registry Issue
on Tue, Sep 9 2008 8:02 PM

Thank you for the awesomeness!

Karl A. wrote re: Weird Vista Registry Issue
on Fri, Sep 19 2008 6:23 AM

Hey,

am having the same issue, and unfortunately am having no luck in applying the changes with subinacl. Narrowed it down to an error being thrown first thing:

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=Karl=f /grant=restricted=r /setowner=administrators

...only thing I can think of is that it is not actually called "administrators" on this OS, it being a Swedish language specific setup... But that feels a bit far fetched. Any ideas or thoughts?

My problems manifested after a QT update, but of course they could have been there all along without me knowing. I turned UAC off immediately when I got the machine, and it has been off ever since (3 months). Running Vista Ultimate SP1.

In any case, thx for support!

Brian Peek wrote re: Weird Vista Registry Issue
on Fri, Sep 19 2008 4:32 PM

@Karl, not sure...what's the error you're getting?

Berra wrote re: Weird Vista Registry Issue
on Wed, Sep 24 2008 8:46 PM

Karl A., You have to change Administrators to Administratörer in Swedish Vista.

Eric A. wrote re: Weird Vista Registry Issue
on Thu, Sep 25 2008 10:16 PM

Hej, just a note that after having upgrade issues with VMWare workstation I came accross this registry issue.  I have the problem scenario discribed here on Vista Enterprise x64 machine.  Also, noticed while running your subinacl batch file this reg entry.  Is this many subs fo Wow6432Node normal?  Script has been running now for about an hour and still in the HKEY_LOCAL_MACHINE and at Done: 1861010 and counting???

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\...\CLSID

Brian Peek wrote re: Weird Vista Registry Issue
on Thu, Sep 25 2008 11:32 PM

@Eric, this won't work for an x64 machine.  As it says above, subinacl is a 32-bit app so it can only touch the 32-bit reg keys.  It sees the Wow6432Node as a 32-bit reg key and winds up in an endless loop as it opens and process it.

Fakir wrote re: Weird Vista Registry Issue
on Sun, Sep 28 2008 9:17 PM

Thank you Brian Peek!

This fixed my Illustrator error and AIR issue...

Cheers!

F.

Logan wrote re: Weird Vista Registry Issue
on Mon, Sep 29 2008 12:13 PM

For all of you out there who couldn't run the fix. This is what i did.

1.- Remember to replace YOURUSERNAME with YOUR USERNAME. Ej: Logan

2.- If you are using vista in other language, you have to change the groups name for the name as they appears on your windows. Mine is in spanish so i'll be like this:

administrator = Administradores

users = Usuarios

3.- As last resource always put the names of the groups with capital first letter. Administrators, Users.

Finally this is the script for all os the spanish vista users out there.

cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_CURRENT_USER /grant=Administradores=f /grant=System=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=Administradores

subinacl /keyreg HKEY_CURRENT_USER /grant=Administradores=f /grant=System=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=Administradores

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=Administradores=f /grant=System=f /grant=Usuarios=r /grant=everyone=r /setowner=Administradores

subinacl /keyreg HKEY_LOCAL_MACHINE /grant=Administradores=f /grant=System=f /grant=Usuarios=r /grant=everyone=r /setowner=Administradores

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=Administradores=f /grant=System=f /grant=Usuarios=r /setowner=Administradores

subinacl /keyreg HKEY_CLASSES_ROOT /grant=Administradores=f /grant=System=f /grant=Usuarios=r /setowner=Administradores

PAUSE

... And brian! Thank you very much for the fix. It fix all my issues with acrobat, macdrive, windows install, cs3, itunes, etc. Now i hate vista less ;-)

rajive wrote re: Weird Vista Registry Issue
on Mon, Sep 29 2008 6:20 PM

thanks for the tip Brian - this fixed a vista registry error whereby permissions for VMWare registry disappeared, and manually setting permissions through regedit failed to work

Adam wrote re: Weird Vista Registry Issue
on Tue, Oct 21 2008 9:37 PM

Proooooobably just Apple F$%@ing with Vista because it helps them sell systems when they make PCs catch on FIRE.  Ever notice that the only real unstable product most of us uses on a daily basis is iTunes?  Adobe products are 1000 times more complex and resource intensive than iTunes, yet I can run for a week straight without a problem.  Curses to Apple.

Taake wrote re: Weird Vista Registry Issue
on Mon, Oct 27 2008 8:49 AM

Thanks a lot for this post. Been struggling with Visual Studio 2008 and noticed permissions on HKCR was all messed up. This fixed it, at least for now.

Brandon wrote re: Weird Vista Registry Issue
on Thu, Oct 30 2008 8:17 PM

I used this same cmd file with SubInACL because I was having the problem with VB.net running into the registry access error. It fixed my VB problem, but broke everything else. I can't connect to any websites, messengers, games, or anything else. My sound drivers are giving errors (anything that plays sound, like iTunes etc, does nothing) and I can't use a restore point because of an error saying the shadow volume won't work. I found this on another site...

You will notice a whole lot of programs and windows services that dont want to start properly. network icons and network listings will be down etc.

Dont worry they will revert after the next step

------------------------

---------- Step 2 ---------

next do the following (copied from the second link i gave at the start)

>>Right click "Computer"

>>Click "Manage"

>>Under the "System Tools" section, Double click "Local Users and Groups"

>>Click "Groups"

>>Right click "Administrators"

>>Click "Add to group..."

>>Click "Add"

>>Click "Advanced"

>>Click "Find Now"

>>Double click "Local Service"

>>Click "Ok"

>>Repeat to add "Network Service"

>>Click "OK"

>>"NT Authority\Local Service" and "NT Authority\Network Service" should show up in the list now

>>Click "OK"

>>Close Computer Management and reboot.

But when I try to get into the Local Users and Groups, the section doesn't even exist. What can I do other than reinstalling Vista (I'm using Vista Home on a Toshiba Satellite 305)? I don't have my restore disc at the moment and it's going to be days before I get it.

Brandon wrote re: Weird Vista Registry Issue
on Thu, Oct 30 2008 8:32 PM

Forgot to mention, the code from the site I used was a bit different...

cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f

subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f

If I use your code with my correct username after this problem has already happened, would that possibly fix my sound etc?

Brian Peek wrote re: Weird Vista Registry Issue
on Thu, Oct 30 2008 10:30 PM

@Brandon

No promises it will work, but I suppose it can't hurt to try it if you're already pretty much hosed.  I think using the batch file you tried without the /setowner may have caused your issue.

Give a try...it may help.  But, note that even if it does bring it back, it still doesn't actually fix the problem and it will happen again eventually.  A full re-install is the only known real fix that I'm aware of.

austinmtlhd wrote re: Weird Vista Registry Issue
on Fri, Oct 31 2008 1:06 PM

Vista Home Prem. UAC off. I have the same problem with I-Tunes going through install everytime when opening .  Office XP was doing the same thing. I uninstalled Office XP Pro and installed Office 2007 Ent. Office 2007 was doing the same thing. Ran the fix in normal mode and it errored out on all but 7. Permission on HKCR the same when running with .bat file from the desktop. Copied file to root of C:\ booted in safemode command promt swithed to the directory and ran .bat file with no errors. Rebooted into normal mode and fix worked...

You the Man...

Thnaks,

austinmtlhd

kreditrechner wrote re: Weird Vista Registry Issue
on Sat, Nov 1 2008 4:23 AM

  Proooooobably just Apple F$%@ing with Vista because it helps them sell systems when they make PCs catch on FIRE.  Ever notice that the only real unstable product most of us uses on a daily basis is iTunes?  Adobe products are 1000 times more complex and resource intensive than iTunes, yet I can run for a week straight without a problem.  Curses to Apple.

Jeremy Drake wrote re: Weird Vista Registry Issue
on Mon, Nov 3 2008 3:21 PM

I have seen this issue (NULL DACL on HKEY_LOCAL_MACHINE\Software\Classes/HKEY_CLASSES_ROOT) not just on Vista, but on XP as well.  I have so far had no luck finding the cause of it, but in my experience the best solution to this is to follow the steps in this knowledge base article:

support.microsoft.com/.../313222

However, the tool used in this article is not present on XP Home.

This issue or issues like it seem to be surprisingly common, with Symantec, Adobe, Microsoft, Intuit (that I know of) all having knowledge base articles about how to reset your registry permissions.  Out of all of these sites, yours is the only one that seems to have any interest in finding the cause.  Bravo, and keep up the good work.

Rick Holloway wrote re: Weird Vista Registry Issue
on Fri, Nov 7 2008 9:53 AM

I have been reading thru all these posts ... I run Vista Business X64 and have the same issue (second scenario). I note that no-one refers to whether the software they installed is "legit" or "hacked". When I first installed Vista I installed a hacked version of Office 2003 ... immediately following this I had the scenario where office kept trying to install every time you went to run it ... I then bought a legit version of office 2007 ... installed that ... same issue ... kept trying to install each time your ran any office app. After much frustration I formatted, re-installed vista and then office 2007 (legit) ... and have not had the issue return ...

Brian Peek wrote re: Weird Vista Registry Issue
on Fri, Nov 7 2008 11:10 AM

@Rick, all legit here...

Jessica wrote re: Weird Vista Registry Issue
on Mon, Nov 17 2008 6:26 PM

Thanks you saved me I had this issue before ran your file and everything was good, but then I had the problem again, because I reinstalled Adobe Acrobat and Illustrator. I ran the bat file and tg things seem to be working properly I am by far a computer genius so it's all a bit out of my league. Thanks for making it clear.

W John wrote re: Weird Vista Registry Issue
on Sat, Nov 29 2008 6:44 PM

Just about to attempt the fix in the OP.

I've been running Vista since April of 07, reinstalled once right around July 1st to fix some issues with the sound breaking up anytime a program was opened or a web link clicked, opened, loading, etc. It did fix that...and everything seemed alright. I will note that the UAC was turned off since May of 07, until that new installation, and immediately then. Never had any permission problems until this second install.

Currently, my issue mainly resides in iTunes both wanting to install every time I open it (requiring me to click an MP3 to get it to open) and then it telling me that it is not the current default media player on the machine, and would I like to go to Program Associations to fix the problem...when I click yes, it attempts to open "Set Program Associations" in which time explorer.exe in its entirety comes to a standstill, all explorer windows showing 'Not Responding' for about 30 seconds. Explorer then starts working again, but the 'Set Program Associations' window remains blank...and doesn't like to be touched without displaying another 'Not Responding' status.

I currently have Office Pro 2003 installed on here, with absolutely no issues (which is strange with how often so many people seem to have problems with that as well)

I should mention that in HK Classes Root, the permissions window does display your 'incorrect status'

Brian Peek wrote re: Weird Vista Registry Issue
on Sat, Nov 29 2008 7:13 PM

@W John, if you're not seeing the incorrect permissions on the reg key, I'm not certain this will fix the issues you are seeing...

Mike Mercy wrote re: Weird Vista Registry Issue
on Mon, Dec 1 2008 11:16 AM

Hi Brian! Thanks a lot for this post!

I stumbled upon it in my search to find out where the heck my problems came from - the most clear one not being able to associate filetypes with other programs anymore.

I use Vista x64 and it solved most of the problems. It's scary however - after a eventual reinstall and reinstalling my standard software it happened again :s

And it actually appeared to me like a very (if not same) problem I experienced on XP..

I think this is a huge problem that microsoft really should take a very good look at - I think it's very common to happen with a lot of people and the cause of a lot of serious problems.

About your remark 'I have seen this happen on multiple machines with no Adobe products installed.  They maybe be a victim of the OS bug, but they're not the cause of it.' - I think it's probable then that it's caused by more than one software. Maybe a bug in an api, common library or common installer.

We here at my company by the way also use Adobe CS4 master collection. Would it be a good idea to gather as much info as possible so that we can compare Windows version and what applications we have installed? (and possibly ms updates).

Cheers,

Mike

Dee wrote re: Weird Vista Registry Issue
on Thu, Dec 4 2008 10:59 PM

Thanks so much for this! It solved my AI CS3, Microsoft Office 2007 and iTunes issues.

Raphael Santos wrote re: Weird Vista Registry Issue
on Sun, Dec 7 2008 2:50 PM

I tried setting that manually (adding my account to permission), and have almost cranked up the whole OS

i could not start any program, neither open any folder, even My Computer, i hadnt access to anything

then i set my account as full controll, and things are working again...

Jeff Thomas wrote re: Weird Vista Registry Issue
on Sat, Dec 13 2008 4:21 AM

Thanks for the fix, how come there is nothing on this on the Microsoft website, as this is an ongoing problem. The problem for me was exactly as you described and the problem was with I-tunes and adobe flash player. I had a problem initially when I ran the batch file bot I ran it again in 'run as administrator and it worked no problem. Thanks once again

Wes Magyar wrote re: Weird Vista Registry Issue
on Sun, Dec 14 2008 11:10 AM

well i had the same exact problem, i run vista home premium X64 so far the only programs ive had problems with where 32 bit programs. and your fix solved those.

Hopefully M$ will pull their collective heads out of their a$$es and make a 64 bit version of subinacl...

anyway once again thank you!

Jim Beveridge wrote re: Weird Vista Registry Issue
on Sun, Jan 11 2009 8:11 PM

The solution is to reset the registry permissions by running this command (this is for Vista - should all be on one line):

secedit /configure /cfg C:\Windows\inf\defltbase.inf /db defltbase.sdb /areas REGKEYS

This is described in:

support.microsoft.com/.../313222

Note that I intenionally added the /areas REGKEYS parameter to the command line so that only the registry would be updated. You don't want to reset file system permissions if you don't have to because some applications use non-default security settings.

This command should work on both 32-bit and 64-bit platforms. Secedit is more intelligent than the brute-force subinacl commands above. I also found that Secedit ran an order of magnitude faster than trying to run subinacl six or more times.

Matt wrote re: Weird Vista Registry Issue
on Mon, Jan 12 2009 12:29 AM

I wish I would've found this thread sooner!  A month ago I updated Vista (64-bit) and Office 2007 through Windows Update, and from then on each time I opened an Office program it would "configure" it which took 10-20 minutes before the program would open.   I tried everything; uninstalled/reinstalled Office 2007 (in different directories and drives), same with Office 2003 and tried many different installation methods, uninstalled all the updates, used registry cleaners, cleared temporary files, and so on.  Nothing worked and then most Office programs wouldn't even open without returning errors.  I found another article right before seeing this which described resetting registry permissions and used a script very similar--but I stopped it before it finished after reading about the 64-bit incompatibility.  Then I ran Jim's posted command above.  Not sure which fixed the issue for sure but it seems to have done the trick.  Thanks guys, I was about to reinstall Windows.

Saulo Brito wrote re: Weird Vista Registry Issue
on Tue, Jan 13 2009 1:27 PM

Hi,

Using secedit didn't work for me. I'm running Vista with latest updates and I've got this error:

Erro estendido.

A tarefa foi concluída com um erro.

Consulte o log %windir%\security\logs\scesrv.log para obter informações detalhad

as.

Which in english would be something like:

The task was completed with one error.

Check the log ... to get detailed information.

In content of this log file is:

Aviso 1336: A estrutura da lista de controle de acesso (ACL) é inválida.

Erro ao definir segurança em machine\software\Licenses.

Configuração das chaves do Registro concluída com um ou mais erros.

That could be something like:

Warning 1336: The ACL structure is invalid.

Error while defining security on machine\software\Licenses.

Than I check the permissions of HKEY_CLASSES_ROOT and they still look like the image from the right.

I'll probably try the first solution for now =(

Jaa wrote re: Weird Vista Registry Issue
on Tue, Jan 20 2009 7:47 PM

Thanks! The subinacl method worked and has saved me a reinstall. I had tried the secedit method but it failed to work, spouting out the same error as that described by Saulo Brito in the comment above.

Xtrail wrote re: Weird Vista Registry Issue
on Tue, Feb 3 2009 6:12 AM

Thank you. I had problem installing my new scanner. Now all working perfect after I used the subinacl method.

Daniel wrote re: Weird Vista Registry Issue
on Wed, Feb 18 2009 11:17 PM

Ok After a lot of reinstalling I figured out that the cause of this issue was the corel installer. Whenever I installed corel, the permission issue cropped up.

However I am facing this problem repeatedly and quite frequent I may add.

Neither of the fixes seem to work now.

I am on Vista 64 Ultimate.

AMG wrote re: Weird Vista Registry Issue
on Wed, Mar 4 2009 12:58 PM

Daniel,

Which Corel product causes this?

Ken wrote re: Weird Vista Registry Issue
on Wed, Mar 4 2009 7:28 PM

All,

I created the original batch file from above, restarted in safe mode with command prompt, ran the batch file, finally followed by going through the registry with AccessEnum.exe (there were some failures in the batch file run) and correcting the failed entries. Worked perfectly.

Mike Mercy wrote re: Weird Vista Registry Issue
on Fri, Mar 6 2009 1:01 PM

I also use CorelDRAW - if I can find the time I will test if I can reproduce it with installing it again.

But still I think it could be caused by more than one (install)app as I described above.

Thx for the info anyway! :D

Daniel wrote re: Weird Vista Registry Issue
on Thu, Mar 12 2009 12:34 AM

AMG,

All of them. It happens exactly after the installation finishes.

Emmanuel Huna wrote re: Weird Vista Registry Issue
on Thu, Mar 12 2009 6:12 PM

I had the same issues on Windows Server 2008 x64.  I also turned off UAC.

One additional change: this machine was originally part of an Active Directory domain at work.  I took it out of the original domain and added it to my domain at home.  The main administrator/user changed accordingly.

I don't know if that's related, just adding more information, in case it might help.

For reference here are the two batch files I created and executed as an administrator:

------------------------------------------

subinacl-reset-permissions-in-registry.bat

cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=MYUSERNAME=f /grant=restricted=r /setowner=administrators

subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=MYUSERNAME=f /grant=restricted=r /setowner=administrators

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

secedit-reset-permissions-after-subinacl.bat

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

------------------------------------------

My issues were fixed!  

Unfortunately I'm now dealing with another issue: Windows Server 2008 x64 now only sees 2GB of RAM, even though the BIOS sees 8GB.  Before I ran the above batch files, Windows Server 2008 was using the full 8GB of RAM.

Emmanuel Huna wrote re: Weird Vista Registry Issue
on Fri, Mar 13 2009 2:36 AM

By the way, if anyone runs into the "missing RAM" issue, I found a Microsoft hotfix that did the trick:

The Microsoft System Information (Msinfo32.exe) tool reports the incorrect amount of physical memory in a Windows Server 2008-based or Windows Vista Service Pack 1-based computer that has more than 4 GB of physical memory installed

support.microsoft.com/.../950233

You have to request the hotfix in the article above - you then receive a password protected attachment.  I installed it and rebooted and I can now see the 8GB of RAM - sweet!

Daniel wrote re: Weird Vista Registry Issue
on Mon, Mar 16 2009 12:14 AM

Re: the ram issue, does the fix solve the problem of just reporting the correcr memory or the issue of the os using all of the memory?

Robert wrote re: Weird Vista Registry Issue
on Tue, Mar 17 2009 2:58 PM

I have the same problems out lined above and really want to get them resolved - how ever im only 16 and ever so slightly confused ... any chance of a step by step break down on a method that wont affect anything ? i just need to know what to do and that it wont permantly scar my system :D thanks

Robert wrote re: Weird Vista Registry Issue
on Tue, Mar 17 2009 2:59 PM

Just for refrence im a vista premiun 32 bit user :)

Mike P wrote re: Weird Vista Registry Issue
on Sat, Mar 21 2009 7:37 PM

Vista SP1 home toshiba laptop.

Live Messenger 2009 would not install. Improper Permissions  

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0101014E-D958-4d10-82A1-9195E2220B66}

Installer referenced

Visual Studio error aborted:0x80004004

Messenger error hr:0x80070643

The 'subinacl' and your bat file fixed it right up !!

Thanks

mike

Dave P wrote re: Weird Vista Registry Issue
on Tue, Mar 31 2009 5:42 AM

I have the same problems with vista losing registry permissions on several computers. All running Vista Ulimate or Business (all legit!). 32-bit. UAC off since install.

My culprit would have been Corel, or Apple (iTunes) or Adobe installers. I am not sure what really causes it. It even happens, when I install nothing at all! I check several times a day my registry permissions in the registry editor. Often there is no issue for weeks, sometimes the registry loses the permissions several times a day!

I always reset the permissions using a subinacl script.

There must be a solution. This must be caused by something! I can continue to work this way, but it is annoying :(

Mike Mercy wrote re: Weird Vista Registry Issue
on Fri, Apr 3 2009 1:23 PM

Ok all CorelDRAW X4 is definitely (one of the) culprit(s)!!

I just reinstalled my PC with Vista x64 and kept checking the HKey_classes_root permissions every time after installing my apps.

CS4 no problem, NOD32 no problem, etc.

Finally after installing X4 the permissions were changed so that the default permissions were gone and only Everyone & SYSTEM were set to Full Control & Read to Allow!!!

I am also going to post about this problem in the Corel support forum.

Now, are there any people with this problem who don't use CorelDraw?

I recall having this (simular) problem like Brians 2nd screenshot (no permissions left whatsoever).

But for an install program to change the registries permissions globally?!

I will post the link to the post in the forum here again.

Mike.

Mike Mercy wrote re: Weird Vista Registry Issue
on Fri, Apr 3 2009 1:42 PM

Okay everyone, the post in the official Corel support forum is here: coreldraw.com/.../51186.aspx

Cheers,

Mike

Dave P wrote re: Weird Vista Registry Issue
on Sun, Apr 5 2009 3:27 PM

Hello All!

Just to let you know: I did a fresh install of Vista Ultimate 32bit (legit) this weekend and did somethink different this time. I did not turn of UAC. I checked several times after I installed the big software packages like Adobe CS4, Apple, Corel, etc. Nothing. It just worked.

UAC does make it right! No loosing permissions anymore. But I don't like it. In fact I hate that annoying question from User Account Control. And I see it several times a day, because I need to run some scripts (.cmd) for backup.

I hope there is some other solution to this somewhere ...  But for all to know, there seems to be a way not loose the permissions in the registry.

kind regards,

Dave

A. M. Chiwo wrote re: Weird Vista Registry Issue
on Thu, Apr 16 2009 3:55 PM

Howdy...

Just a thought, all the programs having this issue (office, itunes, corel, etc) have one thing in common: they use Windows Installer and "advertised shortcuts" which supposedly lets users install a shortcut to a program which hasn't been installed. Since this is what these programs have in common, maybe what caused this problem is windows installer itself, somehow...

Not all programs using windows installer have this issue, so maybe it's a certain version or only those using the advertised shortcuts... may be worth checking

Bibia wrote re: Weird Vista Registry Issue
on Sat, Apr 25 2009 2:19 PM

thx for ur help to fix this problem..

but, ur "easier" method failed in my system..

so i tried the previous method (that subinacl). n it all fix now..

though ur left pic still different with mine..

that "special permissions"..

anyway, thx for not letting me reinstall my vista.. :)

keep up the good work, bro..

Jeremy wrote re: Weird Vista Registry Issue
on Wed, May 6 2009 12:11 PM

I had the same issue with the same permissions, isolated to office 2007 keys preventing SP2 upgrade, repair, or even an uninstall. First often didn't work; Bat file did the trick thank you for posting this.

Craig wrote re: Weird Vista Registry Issue
on Sun, May 31 2009 11:19 PM

This didnt work for me, I copied the command dircetly into cmd prompt. It ran said 100% and closed the box and then everything stayed the same, even after a restart..

Sugianto wrote re: Weird Vista Registry Issue
on Fri, Jun 19 2009 1:36 AM

Weird Vista Registry Issue : so nice, i fix everything include, vs2005 install error, sql express install error, with the error :

The proper type library could not be found in the system registry.

An attempt to repair this condition failed because you do not have the permissions to write to the system registry

thank you so much Brian Peek and Jim Beveridge

Chris wrote re: Weird Vista Registry Issue
on Wed, Jul 15 2009 7:51 PM

I tried the main fix and I keep getting the following error

----Configure Registry Keys...

Configure users\.default.

Configure machine\software.

Warning 1336: The access control list (ACL) structure is invalid.

Error setting security on machine\software\Audible.

Configuration of Registry Keys was completed with one or more errors.

----Un-initialize configuration engine...

Daniel wrote re: Weird Vista Registry Issue
on Mon, Aug 10 2009 1:31 PM

Leaving UAC on does make a difference even on WIndows 7

gman413 wrote re: Weird Vista Registry Issue
on Fri, Sep 11 2009 10:25 PM

Well so far so good...at least w/UAC off, I can create new projects in VC# 2008 Express as needed.  THANKS!!

D.Gravy wrote re: Weird Vista Registry Issue
on Sun, Oct 4 2009 8:20 PM

I ran many versions of windows on my vista(32bit) machine I didn't see this error until after I started to run a registry cleaner(cleanmypc). UAC has been off for years now and Office 2007 has been on it and working fine for about a year now. Like I said this error just appear shortly after I started to run a registry cleaner on a regular bases.

Thanks of the fix, hope my information was helpful.

ehubcap wrote re: Weird Vista Registry Issue
on Sun, Nov 8 2009 12:32 AM

Kudos to Jim, this registry fix came as a life saver, a MS Office bug as nasty as this one is scarier than Saw 6

thank you a lot:-)

Azuma wrote re: Weird Vista Registry Issue
on Fri, Dec 25 2009 11:32 AM

it's very helpful, it works very well. thanks!

Walter Lippens wrote re: Weird Vista Registry Issue
on Sun, Dec 27 2009 3:50 PM

I had the same problem on my laptop running Vista Ultimate 32bit.  The problem must have been existing for a while, but I discovered it only today after installing Visual Foxpro 9.  When starting this application I got an error message telling me that Foxpro was unable to access the registry.  I first tried the secedit method, but whithout result.  The subinacl method however did a wonderful job and my machine is up and running again.

Thanks Brian for sharing this knowledge!

Jack wrote re: Weird Vista Registry Issue
on Tue, Dec 29 2009 2:24 PM

I had a problem with Microsoft Visual C++ Express Edition where it would not create a project but this fixed it. (SubInAcl).

Thankyou.

Steve wrote re: Weird Vista Registry Issue
on Tue, Jan 12 2010 3:27 PM

BE VERY CAREFUL! CREATE SYSTEM RESTORE POINT BEFORE YOU DO ANY OF THESE SUGGESTIONS. I followed the steps and it corrupted my registry. Icons went missing, printers stopped working etc etc. Had to restore system from May 2009 then add back all my data files (having saved them to external drive).

You have been warned.

sandy wrote re: Weird Vista Registry Issue
on Sat, Jan 23 2010 2:41 PM

Does this fix work on windows 7? I'm having the same problem of certain programmes mainly office where i get the windows installer box everytime i open anything in office.

Thanks.

Brian Peek wrote re: Weird Vista Registry Issue
on Sat, Jan 23 2010 5:16 PM

@sandy, I haven't seen or heard of this problem in Win7.  Is your registry showing the screens above with no permissions?

Emil wrote re: Weird Vista Registry Issue
on Mon, Jan 25 2010 1:46 PM

Thank you for such an easy walkthrough. BUT I have some issues with it. Like others I get some errors.

I use Vista 32-bit Swedish version. Using the batch-thing I get an error saying something like this:

"LookUpAccountName HKEY_CURRENT_USER:administrat%rer 1337 This security-ID has an invalid structure

Current object  HKEY_CURRENT_USER will not be processed"

NOTE: This has been translated by me with what I think is the correct words. The "%" is supposed to be "ö" which is a Swedish letter.

When I try to reset the registry permissions I get the same error as others:

"Warning 1336: ACL (Access Control List) has an invalid structure

An error occured while setting security for machine\Software\audible"

If you can sort this out for me I would be extremely grateful!

Thanks!

Brian Peek wrote re: Weird Vista Registry Issue
on Mon, Jan 25 2010 2:09 PM

@Emil, I don't have an answer for you.  As the article says, your registry is already corrupted, and this is just a potential band-aid fix to get things working again.  I would suggest backing up what you have and rebuilding the machine...

Emil wrote re: Weird Vista Registry Issue
on Mon, Jan 25 2010 6:42 PM

I thought I'd better get back to you, I managed to get this to work. I needed a reboot and then I used the command prompt to write & run each line seperately. Brian, it did work!

Brian Peek wrote re: Weird Vista Registry Issue
on Mon, Jan 25 2010 6:50 PM

@Emil, good news!  Glad you got it working, but note that it's not a 100% fix, but it will improve the situation for a little while.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?