Tweaking.com Support Forums

Main Forum => General Computer Support => Topic started by: kinaton on May 27, 2015, 06:02:46 am

Title: Any help
Post by: kinaton on May 27, 2015, 06:02:46 am
Hi all,
Hope somebody can help with this.

6 UPDATES that fail

KB3045171
KB3049563
KB3061904
KB3061518
KB3050514
KB3034348

Log from software



Tweaking.com - Windows Repair - Pre-Scan
Computer: UPSTAIRS (Windows 8.1 Pro with Media Center 6.3.9600 ) (32-bit)
Started at (27/05/2015 13:32:34)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Scanning Windows Packages Files.
Started at (27/05/2015 13:32:34)

These Files Are Missing: (Total: 24)
C:\WINDOWS\servicing\Packages\Package_1_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_1_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_1_for_KB3036562~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_1_for_KB3036562~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_2_for_KB2958262~31bf3856ad364e35~x86~~6.3.1.2.cat
C:\WINDOWS\servicing\Packages\Package_2_for_KB2958262~31bf3856ad364e35~x86~~6.3.1.2.mum
C:\WINDOWS\servicing\Packages\Package_for_KB2958262_RTM_GM~31bf3856ad364e35~x86~~6.3.1.2.cat
C:\WINDOWS\servicing\Packages\Package_for_KB2958262_RTM_GM~31bf3856ad364e35~x86~~6.3.1.2.mum
C:\WINDOWS\servicing\Packages\Package_for_KB2958262_RTM~31bf3856ad364e35~x86~~6.3.1.2.cat
C:\WINDOWS\servicing\Packages\Package_for_KB2958262_RTM~31bf3856ad364e35~x86~~6.3.1.2.mum
C:\WINDOWS\servicing\Packages\Package_for_KB2958262~31bf3856ad364e35~x86~~6.3.1.2.cat
C:\WINDOWS\servicing\Packages\Package_for_KB2958262~31bf3856ad364e35~x86~~6.3.1.2.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036228_RTM_GM~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036228_RTM_GM~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036228_RTM~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036228_RTM~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036562_RTM_GM~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036562_RTM_GM~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036562_RTM~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036562_RTM~31bf3856ad364e35~x86~~6.3.1.1.mum
C:\WINDOWS\servicing\Packages\Package_for_KB3036562~31bf3856ad364e35~x86~~6.3.1.1.cat
C:\WINDOWS\servicing\Packages\Package_for_KB3036562~31bf3856ad364e35~x86~~6.3.1.1.mum

Problems were found with the packages files, these files need to be replaced (These mainly only effect installing Windows Updates.)
The SFC (System File Checker) doesn't scan and replace some of these files, so you may need to replace them manually.
These files do not keep the repairs from working, you may still run the repairs in the program.

If you need help in replacing these files, post on the Forums at Tweaking.com for help.

Files Checked & Verified: 6,505

Done (27/05/2015 13:36:34)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Scanning Reparse Points.
Started at (27/05/2015 13:36:34)

No problems were found with the Reparse Points.

Files & Folders Searched: 293,758
Reparse Points Found: 114

Done (27/05/2015 13:41:36)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Checking Environment Variables.
Started at (27/05/2015 13:41:36)

No problems were found with the Environment Variables.

Done (27/05/2015 13:41:37)
--------------------------------------------------------------------------------

Done (27/05/2015 13:41:37)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Done (27/05/2015 13:41:37)
Scan Complete - Problems Found!

You can use the Repair Reparse Points or Repair Environment Variables tools at the bottom of this Window if needed.

While problems have been found, you can still run the repairs in the program.
But for the best results it is recommended to fix the problems reported in this scan if possible.
If you need help fixing any of the items in the log, just post in the forums at Tweaking.com for help.
Title: Re: Any help
Post by: Shane on May 27, 2015, 05:24:06 pm
Odd, I dont have any of those files in my repository I built from all the installs of Windows. Those must be some old updates that I cant grab.

So instead lets remove them from the registry so that the updates wont try to look at them and they might install.

In the registry go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages"

You will need to take ownership of these keys. But under that key you will a key for each file, there will actually only be 12 keys you need to find, as it will be for the file name and not the .mum or .cat

Example:
Say you need to remove these from the registry
Package_1_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.cat
Package_1_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1.mum

There will be just 1 entry in the registry for it and will show the file as "Package_1_for_KB3036228~31bf3856ad364e35~x86~~6.3.1.1"

So remove those 12 entries from that location, reboot and see how it goes. Make sure to do a registry backup first just in case. :wink:

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 06:06:50 pm
Hi.
Thanks for reply.

Says unable to change permissions access denied.
Title: Re: Any help
Post by: Shane on May 27, 2015, 06:08:28 pm
When you go to change permissions you want to change the ownership to administrators and tell it to do all subkeys as well, you might still get the error but you should be able to delete the ones you need.

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 06:36:20 pm
Thanks. Those are now not showing in pre-scan now.

Next is why updates won't install.

Title: Re: Any help
Post by: Shane on May 27, 2015, 06:37:54 pm
Did you reboot and try the windows updates again?

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 06:42:27 pm
Yes.

Says on login screen updates available.

Windows needs to sort out all these update issues.
Title: Re: Any help
Post by: Shane on May 27, 2015, 06:44:59 pm
Do a sfc /scannow

Let it finish, then use my Windows repair, have it do a registry backup first and have it do all the repairs, make sure to run the repairs in Windows safe mode. Then once done reboot and go back into Windows like normal and give it a try. The Windows updates will say checking for updates for a while as my repair clears it and so it starts fresh, so it takes a little time :-)

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 06:46:52 pm
Will do that now.

Great app. We need a tool that shows all updates available and what is missing etc :)
Title: Re: Any help
Post by: Shane on May 27, 2015, 06:50:17 pm
I looked into making something like that, it is a huge nightmare trying to do that, it is SO large and so many different things, MS really did a bad job on how they do updates, if there is a single error, no matter how small the update will simply bomb out and not install, and they dont give an option to force install the update.

Most of the time the update is just replacing files, it shouldnt be that big of a deal lol

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 06:52:21 pm
Lets hope win10 is better.

😤

There is an util called kuc 8.1 update checker.
Title: Re: Any help
Post by: Shane on May 27, 2015, 06:54:26 pm
Well the preview build isnt, the windows updates have huge problems and they dont offer any way to hit cancle or retry or anything, BUT this is a preview build, I am trying the latest one on my wifes acer switch 10, so I try not to judge till final release. They make so many changes between builds it isnt even funny, this is why I wont add support for it till it is released (RTM) :wink:

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 07:15:23 pm
Sfc running

Update found same updates as my initial post.
Title: Re: Any help
Post by: Shane on May 27, 2015, 07:16:46 pm
Dont do the updates until after all the repairs have been done and the repairs shouldnt be done until after the sfc is ran :wink:

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 07:26:18 pm
Default fixes (some load the same window at same time ). Update ran itself.
Title: Re: Any help
Post by: Shane on May 27, 2015, 07:30:02 pm
Quote
Do a sfc /scannow

Let it finish, then use my Windows repair, have it do a registry backup first and have it do all the repairs, make sure to run the repairs in Windows safe mode. Then once done reboot and go back into Windows like normal and give it a try. The Windows updates will say checking for updates for a while as my repair clears it and so it starts fresh, so it takes a little time :-)

Do the sfc scan first, then go into windows safe mode and do all the repairs, not just the defaults. Then when you reboot update shouldnt have ran itself yet because it will take it a while to do the first scan of the system to rebuild the update database.

The repairs shouldnt over lap each other, if they are then something is messing with the repairs, this is why you need to make sure to run it in safe mode. :wink:

Once done that way it should take longer than the 20 min it seems to have taken you last time, but hey, if you are on a fast system with ssd it could go that fast lol

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 07:41:04 pm
They ain't overlapping, but duplicate cmd boxes appear on certain tests.
Title: Re: Any help
Post by: kinaton on May 27, 2015, 07:42:18 pm
Sfc found errors that couldn't be repaired.
Title: Re: Any help
Post by: Shane on May 27, 2015, 07:45:31 pm
Odd, the program has the bat files create a file on the root of the c drive, the program waits for about 3 or 4 sec and then starts looking for that file, when the file is gone, because the end of the repair deletes it, then the program starts the next repair, or in the case when a repair is running under the system account and then the user account.

Is it all the repairs that are doing that? Also did you run them in safe mode? Havent got an answer to that yet lol

It is almost 8 pm for me and my head is going to pop. I am done for the night and I have some customers I have to go fix tomorrow, so I will reply again after that.

I see you posted while typing this and the sfc found files it couldnt fix, doing a chkdsk on the drive and have it look for bad sectors would be a good idea

chkdsk c: /r

Also after that is done download the windows system readiness tool from MS and see if it can correct those bad files. :wink:

Night!

Shane
Title: Re: Any help
Post by: kinaton on May 27, 2015, 07:53:13 pm
Thanks. Will leave running as its 4am.here.
Title: Re: Any help
Post by: kinaton on May 28, 2015, 04:15:20 am
Sfc /scan now found errors that cant be repaired.

Chkdsk /f found no errors.

All metro apps show as being install, but need to be installed.

Prescan shows no errors

All fixes run, and update shows 7 updates. All of which wont install.

So I'm lost as what to do next.
Title: Re: Any help
Post by: Boggin on May 28, 2015, 04:30:04 am
Open a Command prompt (Admin) and enter dism /online /cleanup-image /restorehealth and see what that reports.

If that is successful then run sfc /scannow again to see if it still reports files it is unable to repair.
Title: Re: Any help
Post by: kinaton on May 28, 2015, 05:16:04 am
Done all this via the app as above.

Title: Re: Any help
Post by: Boggin on May 28, 2015, 06:08:20 am
I wasn't sure if WR included that command.

See what these report -

dism /online /cleanup-image /analyzecomponentstore

dism /online /cleanup-image /scanhealth
Title: Re: Any help
Post by: kinaton on May 28, 2015, 06:18:12 am
Yeah under repairs.  I'm at loss on what to do next.
Title: Re: Any help
Post by: Boggin on May 28, 2015, 09:55:36 am
Have you run those other two commands and what did they report if done previously ?
Title: Re: Any help
Post by: kinaton on May 28, 2015, 06:18:51 pm
Command 1 reports as per photo 1.

Title: Re: Any help
Post by: kinaton on May 28, 2015, 06:53:06 pm
2nd command says component store repairable.

Title: Re: Any help
Post by: kinaton on May 28, 2015, 06:59:06 pm
Dsim log attached.

Seems csi issues
Title: Re: Any help
Post by: kinaton on May 28, 2015, 09:09:08 pm
/restorehealth bombs out saying cant down package.

Anyone have any ideas.. Help above hasn't worked. I think its made it worse, as temp files wont save now either.
Title: Re: Any help
Post by: kinaton on May 28, 2015, 10:59:14 pm
And getting errors as per picture
Title: Re: Any help
Post by: Boggin on May 29, 2015, 01:12:04 am
When I expand your pics I'm only getting half of them so they tell me nothing.

You are better off using the .png extender.

I think that unless Shane can replace those missing Packages for you then you're probably looking at a repair install as the Store seems to be corrupt.

https://www.winhelp.us/non-destructive-reinstall-of-windows-8-and-8-1.html
Title: Re: Any help
Post by: kinaton on May 29, 2015, 09:29:35 am
There was no damages packages, now I have stacks.

Now a repair wont even get files from update.

Title: Re: Any help
Post by: Boggin on May 29, 2015, 03:12:38 pm
Neither of those commands I have asked you to run would cause further damage.

Shane won't be back until Monday now as the weekend belongs to his family.
Title: Re: Any help
Post by: Shane on May 29, 2015, 03:41:50 pm
The fact that dism is failing out and sfc isnt able to fix files means there is something deeply screwed up somewhere.

By any chance did you get the chkdsk log from the event viewer? I just want to make sure it shows 0 KB in bad sectors.

Do you have your Windows 8 install disk by any chance, it might be a good idea to do a repair install.
http://www.eightforums.com/tutorials/26095-repair-install-windows-8-a.html

Shane
Title: Re: Any help
Post by: kinaton on May 29, 2015, 09:47:50 pm
Yes no bad blocks.

Prescan shows now bad blocks.

Windows come pre-installed.

Dism says unable to download files, and several apps are now failing due to access denied when saving temp files.

Title: Re: Any help
Post by: Shane on May 29, 2015, 10:12:30 pm
Do this trick with the UAC. In Windows 8 you cant turn off the UAC, you can only make it stop asking you, MS decided to keep it on, unless you put in a registry key to turn it off.

But I have been seeing a bug in the UAC on a lot of systems after some update a few months ago where the UAC wasnt working like it should and wasnt asking when it should and was blocking a lot of programs, which would then get the permission denied errors.

The trick is easy, change the UAC slider bar to anything else than what it is now, hit apply and then change it back and hit apply and then reboot. This fixes that odd bug I have found, lets see if that trick helps any. Of course in Windows 8 makes sure you have the UAC set at the default value when done.

Shane
Title: Re: Any help
Post by: kinaton on May 30, 2015, 06:29:58 am
Thanks.

Just an update the csi errors are matches to the entries we deleted from the registry. :)
Title: Re: Any help
Post by: kinaton on May 30, 2015, 07:16:36 am
I've done a registry rollback.
Title: Re: Any help
Post by: kinaton on May 31, 2015, 12:05:06 am
Thanks for fix.

Well it didn't work.  I'm believing this app has made it worse.  66 manifest now broken. And as many cat files.

No bad sectors on disk

So how do I roll back everything this app did.

Disk etc says cant download files. Something is stopping system connecting to update.

Title: Re: Any help
Post by: Shane on June 01, 2015, 12:52:10 pm
M program doesnt do anything to the system files. 90% of the repairs are all in the registry, so normally just restoring the registry to before the repairs is all that is needed.

The pre scan just looks for missing files and signatures, the files it knows to look for it pulls from "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages"

That is the list of files that are suppose to be in the packages folder. The pre scan loops through that registry key and if there is an entry in there but the file isnt in the folder then it will show as missing. Then after it looks for any missing it then calls the windows api to report if the files have a good signature or not, that is just a true/false return.

Cat files have their digital signature on them, the point of a cat file is to hold the hash values of any files types that cant hold a digital cert, in this case the .mum files. They are just text files in xml format you can open in notepad. So when the programs asks windows if the hash is good for that mum file windows goes and checks the cat database, if the cat file isnt there or if it is and the mum files was changed somehow then it will report back as bad.

Now if you installed any updates after the registry backup then those updates could have simply removed some older updates and thus the files would be gone and it would also be removed from the registry path I gave you. But if you restored the registry after that happened then those would show up in there again and thus the program shows missing files.

If that is what happened then I would just ignore the pre-scan. But remember the program doesn't remove or modify any of those files or any system files. The only files removed are temp files and the cache from windows updates when you run the windows updates repair. Otherwise everything is done in the registry :-)

Shane

Shane
Title: Re: Any help
Post by: kinaton on June 01, 2015, 02:01:33 pm
Thanks. So restoring registry will put back all file security as they was before. That I didn't know.

No updates can be installed, 14 now. Fails each time, and windows sucks ao bad and you can't remove any updates as that fails also.  No way of reinstalling ones that are not listed as it says already installed.
Title: Re: Any help
Post by: Shane on June 01, 2015, 02:11:07 pm
Restoring the registry will put back the registry and its permissions. The file permissions it doesn't, but only for Windows 8 I only have it set the permissions back to default, I don't change the permissions like I do in Windows 7 and older because 8 is so far the easiest OS to break. If one permissions is out of place, or one folder is missing or anything it just bombs out.

The problem is with each version of Windows each thing relies on something else. So when one thing fails down the line you have no clue what. So I am worried 10 will be even worse.

Perfect example in 8 is if a certain registry key has its owner changed from system to anything else the apps will all fail. Even when the owner is administrator and system still has full permissions, every app will still fail.

There was also another one where if a folder was missing the apps wouldnt download and update. Instead of the app store making the folder it needed it would just give a unhelpful error message and the user would have no clue why it failed. This was nothing more than a temp folder for the downloading of the apps, it didnt even make the folder! How the crap is that not a bug? lol

This is also true with updates, and as another thing as well the optional features list in the add/remove programs, if it encounters a single error, not matter how small when reading the packages files to know what to list it just bombs out and doesn't continue loading the ones it could read, so the list is just blank.

The real problem with Windows, they don't do ANY kind of error handling. So hit even the smallest error and everything goes to hell. I never understood why they did this.

Shane
Title: Re: Any help
Post by: kinaton on June 01, 2015, 02:29:47 pm
I cant add .net3.5 bombs out, dism errors with error code 5. Update fails.

Seems since I ran all fixes, the system is worse.

Anyone have a list of all updates since SP1 and know where they are are referenced in registry. And have an app to remove references easily.
Title: Re: Any help
Post by: Shane on June 01, 2015, 02:34:03 pm
I run my windows repair on about 10 to 12 windows 8 machines a week from my customers, never had anything that is happening to you happen to any of those machines. Any time there was a hiccup restoring the registry is all that was needed.

Something else is going on, and talking to you over multiple threads is making it hard for me to keep track lol

I will continue with you in the other thread :wink:

Shane