Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 33
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Steve Conner (46)


Next birthdays
04/29 GODSFUSION (37)
04/29 Zajcek (37)
04/29 ElectroDog (33)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

Windows registry problem when installing SP2 on Windows XP

Move Thread LAN_403
kell
Wed Apr 12 2006, 09:58PM Print
kell Registered Member #142 Joined: Sat Feb 11 2006, 01:19PM
Location:
Posts: 102
I am trying to install service pack 2 on a computer that had a recovery operation using the disc that came with it (a three-year-old Toshiba laptop).
Here I'll paste the text of a query I posted on the microsoft windows update newsgroup:
> After failed sp2 install, looked in setupapi log
> HKLM\Software\Microsoft\InternetExplorer\MAIN\Feat ureControl\FEATURE_DISABLE_MK_PROTOCOL
> said Access denied, so I went into regedit and saw that Feature Control
> is missing under the "...MAIN" folder. There are two files there, and
> Feature Control is not one of them.
> There are two other "Access denied" error messages in setupapi:
> [Product.Add.Reg] in "c:\d11d8fa80d462c219324\i386\update\update.inf"
> failed
> and [ProductInstall.GlobalRegistryChanges.Install] at the same
> location, also failed
> What do I do about the missing registry item? And what do the other
> two errors mean?

So, I'd appreciate any help from windows gurus.
Back to top
Carbon_Rod
Thu Apr 13 2006, 02:58AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
From te google cache ( Link2
);
"Cause:
The administrative user's permission on several registry keys are incorrectly
set and SP2 thinks it doesn't have access to modify the values in several
registry keys. In reality, the registry keys can be modified by the
administrative user, even though the registry key permissions are configured
improperly (Administrators is set to READ). I believe the registry key
permission problem is cause by a faulty MDAC 2.8 installation (prior to
installing SP2). As you may know, part of the SP2 installation process
installs MDAC 2.8 which is when the SP2 installation failure occurs."

Hmmmm... =p
Back to top
Desmogod
Thu Apr 13 2006, 01:36PM
Desmogod Registered Member #139 Joined: Sat Feb 11 2006, 11:01AM
Location: Perth, Western Australia
Posts: 358
When you say "recovery operation", do you mean a complete re-install, formatting the drive etc, or is it a repair situation, where you overwrite windows and keep all the info on a PC?
Windows really does not like to be re-installed or upgraded, and falls over at the slightest chance.
Back to top
kell
Thu Apr 13 2006, 01:39PM
kell Registered Member #142 Joined: Sat Feb 11 2006, 01:19PM
Location:
Posts: 102
Here's a better explanation that should clarify what happened to my computer:
I posted about my problem installing Service Pack 2 on the microsoft
windows update newsgroup and didn't get an answer.
My need to install sp2 stems from the fact that I did a "recovery" on
my Toshiba laptop, meaning that I used the emergency disc that came
with the computer (three years ago) to reinstall Windows.
When I tried to download sp2 it failed and I also tried it from a disc
I ordered from Microsoft, same result. I get Error 5: Access is
denied. I enabled verbose logging, ran the sp2 install, and looked in
setupapi.log to find the problem registry key.
According to microsoft's kb docs, "These issues may occur when
permissions for one or more registry keys are restricted in a way that
prevents the update of these registry keys."

Setupapi.log had this error message:


#E008 Setting registry value HKLM\Software\Microsoft\Internet
Explorer\MAIN\FeatureControl\FEATURE_DISABLE_MK_P ROTOCOL
#E033 Error 5: Access is denied.


So I went into regedit, followed the file path all the way to MAIN; but
the FeatureControl file or folder is absent. It is not a problem with
restricted permissions; the file simply is not there.



Back to top
Carbon_Rod
Thu Apr 13 2006, 08:27PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
You did not RTFA in google cache:
"
Problem:
When you try to install Microsoft Windows XP Service Pack 2 (SP2), you
experience the following issues:
You cannot install the service pack and may receive the following error
message towards the end of the installation process:
"Service Pack setup has failed. Access Denied"
(Link2

However, if you use the /u switch (no user interaction) to install SP2, you
won't see an error message.
Instead, look in C:\Windows\Svcpack.log to verify this problem exists. Look
for:
"Access is denied.
Service Pack 2 installation did not complete.
Select 'OK' to undo the changes that have been made.
Starting process: C: \WINDOWS\$NtServicePackUninstall$\spuninst\spunins t.exe
/~ -u -z
Software Update Rollback has completed with return code 0xbc2. This rollback
requires a reboot.
Service Pack 2 installation did not complete.
Windows XP has been partially updated and may not work properly.
Update.exe extended error code = 0x5
Update.exe return code was masked to 0x643 for MSI custom action compliance."

You can also look in C:\Windows\setupapi.log in order to verify this problem.
Look for:
"Setting registry value
HKCR\Interface\{00000500-0000-0010-8000-00AA006D2EA4}\TypeLib\Version
Error 5: Access is denied.
Parsing AddReg section [ado.AddReg] in
"c: \4d835a34ff0402a27889723cf2ea\i386\update\update.i nf" failed. Error 5:
Access is denied.
Parsing install section [DataAccessSection] in
"c: \4d835a34ff0402a27889723cf2ea\i386\update\update.i nf" failed. Error 5:
Access is denied."


Cause:
The administrative user's permission on several registry keys are incorrectly
set and SP2 thinks it doesn't have access to modify the values in several
registry keys. In reality, the registry keys can be modified by the
administrative user, even though the registry key permissions are configured
improperly (Administrators is set to READ). I believe the registry key
permission problem is cause by a faulty MDAC 2.8 installation (prior to
installing SP2). As you may know, part of the SP2 installation process
installs MDAC 2.8 which is when the SP2 installation failure occurs.


Solution:
Thus far, we have experienced this issue on 6% of all computers in our
organization. Create a batch file using the code below and run it on a
computer that has experienced this problem. Regperm.exe (part of Windows XP)
is used to set the registry key permissions correctly. Please fix the line
wraps (each line ends with /R).

@echo off
regperm /K HKEY_CLASSES_ROOT\Interface\{00000500-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000501-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000503-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000504-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000506-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{0000050E-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000512-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000515-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000534-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{0000054C-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{0000054D-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{0000054F-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000550-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000555-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000556-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000564-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000565-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
regperm /K HKEY_CLASSES_ROOT\Interface\{00000569-0000-0010-8000-00AA006D2EA4}
/I /S /A:Administrators:F /A:SYSTEM:F /A:"CREATOR OWNER":F /A:"POWER
USERS":WCRD /A:USERS:R /R
CLS

Now, does anyone know how to use VBScript to check the permissions on one of
these registry keys? I'd like to automate this solution to run the batch file
if necessary. And no, this
(Link2
px) won't work because the administrative user can change the permissions
even though it appears that they only have READ access.

Wally Beck
Gainesville College
wbeck@xxxxxxxxxxxxxxx
" ( Link2 )
Back to top
kell
Sat Apr 15 2006, 06:09PM
kell Registered Member #142 Joined: Sat Feb 11 2006, 01:19PM
Location:
Posts: 102
Carbon rod said:
"I believe the registry key permission problem is caused by a faulty MDAC 2.8 installation (prior to installing SP2). As you may know, part of the SP2 installation process installs MDAC 2.8 which is when the SP2 installation failure"

After the recovery operation I allowed windows update to do all downloads. There were about 38 or 39 downloads that came before sp2.
If what you said in your post is true, those downloads may have caused the problem. Do you think it would help if I run the recovery again, then install sp2 directly from disc (which I have), without doing any other updates first?
Back to top
Carbon_Rod
Sat Apr 15 2006, 11:24PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
I doubt it as your stumbling block may remain if you import the prior registry backups that already have the faulty keys present.
1.) Backup your user files to a FAT32 drive or DVDRs.
2.) Run the script with the administrative bug fix after all the updates complete.
3.) And attempt the sp2 update with the CD.


The problem with plugging holes in damns with bubble gum is eventually you have a damn built out of bubblegum... it’s the Microsoft way...
Back to top
kell
Mon Apr 17 2006, 12:48AM
kell Registered Member #142 Joined: Sat Feb 11 2006, 01:19PM
Location:
Posts: 102
kell wrote ...

Do you think it would help if I run the recovery again, then install sp2 directly from disc (which I have), without doing any other updates first?

That fixed it. SP2 installed finally.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.