windows 10 repair failed - part 2

i'm trying to repair a system that won't boot anymore
disk + hardware checks out ok (new install on other disk + diags ok)
i ran SFC and Dism - trying to repair the os, but when dism runs it gives at 86.3 % Always the error the source files could not be found
my command was :  Dism /image:e: /Cleanup-Image /RestoreHealth /Source:wim:d:\sources\install.wim:2  /limitaccess
e: was my usb boot stick, and d: is the OS partition i'm trying to repair
the stick contains both the install.esd and install.wim files
more info here :  https://www.experts-exchange.com/questions/29061891/windows-10-repair-fails.html#a42375791
here's the log i got :
suggestions are welcome - but don't suggest a fresh install - i know that
dism.log
LVL 94
nobusAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John TsioumprisSoftware & Systems EngineerCommented:
Well the previous post was huge but :
1. Unless the  mounted image matches 100% the installed build then Dism just fails
2. Sometimes repair is not possible...unless you are willing to spend a lot of hours...
Why you want to repair it....?
nobusAuthor Commented:
several reasons - most important is i want to learn how to use dism, and other repair utilities and tricks
John TsioumprisSoftware & Systems EngineerCommented:
From my experience on Dism when it should work ...it works...if something is wrong it doesn't worth the time or the effort...last year i made a mistake and delete some program data folder....no matter what i couldn't repair it...so i moved on ...formatted the system ...end of story...can you give some more info on how the machine went "bad" in the first place...
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

nobusAuthor Commented:
after updates i guesss - but i'm not sure
anyway - can somebody answer me why it fails to see the needed files, when i clearly show they are there?
Davis McCarnOwnerCommented:
Personally, I fear that there have been changes to the filesystem which may well have rendered this installation as unrecoverable; but, I'll add my two cents anyway.....
About every two weeks, when Windows is working and beginning with Windows Vista, there are automatic backups of the working registry files created in \Windows\System32\Config\Regback and I have encountered numerous PC's where copying those files back to  \Windows\System32\Config fixes the boot problem and allows me to determine what else needs attention.  It has to be done from a command prompt while booted from the installation media or with the drive attached to a working PC and I always backup the original files before copying; but, it is a highly successful method because the files in the Regback folder are only updated during a normal, working, boot.
Another highly useful tool is event log explorer which lets you open and inspect the event logs from the failing installation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nobusAuthor Commented:
Davis - tx for that idea, sounds good - i will try it the coming days !
note that my question is intended more for learning how to repair such a system, than actually repairing it (the client has a new pc now)
Davis McCarnOwnerCommented:
I recently had one client who's SOFTWARE hive was 50 kilobytes; but, the REGBACK copy was 24 megabytes. More than a little bit was missing, huh?
nobusAuthor Commented:
you might say that
nobusAuthor Commented:
Davis - may i ask what you copy back ? Default, sam, security, software or system ?
post an example of what you copy plse; i'm trying your solution right now
here's what i have :
m
Davis McCarnOwnerCommented:
First I create a folder named Backup in the Config folder and copy *. (meaning all of the files with blank extents) to it.  Then I copy all of those files back to Config as they work together to become different sections of what you see when you run Regedit.
nobusAuthor Commented:
sorry, but what do you mean  with "meaning all of the files with blank extents)" and copy *.
do you mean to copy the whole regback folder?
and then restore them to the actual Default, sam, security, software or system folders ?
Davis McCarnOwnerCommented:
In the \Windows\System32\Config folder, in a CMD window:
MD BACKUP
COPY *. \Windows\System32\Config\BACKUP (to copy all of the files with empty extents to the BACKUP folder)
COPY Regback\*. (To copy all of the files in the RegBack folder  which were created by Windows when it still worked back to the Config folder)
EXIT

Reboot the PC and it should boot.
nobusAuthor Commented:
that means a copy of about 110 MB in my case
ok - i'll let you know how it goes; in anycase, already a big tx for the continued support
nobusAuthor Commented:
ok i did everything as said, but iy still boots up to repair which fails
other ideas? (btw i like the previous idea)
Davis McCarnOwnerCommented:
Getting the working registry hives back in place is generally the first thing I do to get the O/S booting again after I have verified the hard disk drive is healthy and I had said in my first post that I was afraid that DISM and/or SFC had already altered the file system rendering it irreparable.
You can try Event Log Explorer which may give you a hint as to why it fails to boot; but, even that may prove fruitless.
https://eventlogxp.com/free-personal.php
nobusAuthor Commented:
strange - i tried booting in safe mode with network - that works ok - but no Edge, so no internet also
Davis McCarnOwnerCommented:
Internet Explore is still in Windows Accessories.

Look in the Event Viewer for why it isn't booting into regular mode.
nobusAuthor Commented:
good idea, i'll try also removing latest updates, and AV
nobusAuthor Commented:
many errors : 10005 DCOM  Error 1084
and 1001 bugchk - 0x000005A preceded by
7001 NetTcpActivator not started because no connected devices

does these ring a bell ?
Davis McCarnOwnerCommented:
1)  Are you using the same hardware (system board model especially) that the drive was connected to originally?  If the hard disk controller or the super I/o part changes, Windoze hates it and gets really upset.
2) The DCOM errors are rampant and Microsoft really needs to fix their own mistakes! (I see them on almost every Windows 10 PC, even right after a fresh install on a wiped drive)

The stop 0x000005A is an ACPI error meaning that the Windows kernel thinks the PC's BIOS is non compliant which is why I asked question 1.
nobusAuthor Commented:
1-yes
and i saw about ACPI error, but windows updated itself, from Win7
Davis McCarnOwnerCommented:
Most of the problems I have seen with the Windows 10 "free upgrade" have been due to the software which was there prior to the upgrade, most often from the original PC manufacturer.  Heck, I just had a PC last week that refused to run Windows Defender Offline because every time I tried it, I got the Dell Backup and Recovery instead which led to a Dell page telling me I would have to do a wipe and reload to fix it and it needed to be updated BEFORE installing Windows 10! (Like most folks are going to check that, huh?)
Try booting into Safe Mode with Networking and, if that works, check for driver or BIOS updates; but, that should really only be done at the manufacturer's support page.
nobusAuthor Commented:
i already uninstalled video driver, and sound - which ones do you suggest?
would it be a good idea to unstall all other installed softwares - since it boots fine to safe mode?
Davis McCarnOwnerCommented:
"Try booting into Safe Mode with Networking and, if that works, check for driver or BIOS updates; but, that should really only be done at the manufacturer's support page."
Or, have you tried a regular boot since you saw it boot into Safe Mode?
nobusAuthor Commented:
sure i rebooted - many times - no change
Davis McCarnOwnerCommented:
What is the make and full model number of the PC?
nobusAuthor Commented:
MSI DC110
Davis McCarnOwnerCommented:
Here is the support page:
https://www.msi.com/Desktop/support/Wind_Box_DC110
There is a 2015 BIOS version 880; but, you may need to follow the instructions for using a bootable USB drive to do it.
Beyond that, it looks like the thing ought to work OK with Windows 10; but, did you know you already have a license so you can reinstall Windows 10 as many times as you want to and it will activate every time?
Or, since you evinced an interest in fixing it (kudos to you!), do you have any ideas as to what led up to it not booting?
nobusAuthor Commented:
i suppose  that updates killed it
i will do a fresh install on another disk
Question, can i copy folders from there, to the failing disk, to get it working?
eg driver folders, or windows folders?
Davis McCarnOwnerCommented:
Given that the MSI is from 2011, you shouldn't really need any drivers; but, yes, excepting programs which generally must be reinstalled, you can copy any installers, pictures, documents, music, favorites, etc. that you want.
nobusAuthor Commented:
Davis  it looks like you misunderstand
i don't want any data - only want to get the old -  drive running again, by copying folders from the fresh install to it
awaiting suggestions
Davis McCarnOwnerCommented:
You might be able to do that if you want to go to the trouble of booting a Linux distro so you can copy stuff from the SYSTEM and Windows volumes; but, unless the drive is failing, doing a fresh install directly to it would be far less trouble and time.
nobusAuthor Commented:
i don't need any Linux tools -i can copy what i need straightaway
Davis McCarnOwnerCommented:
Then go ahead, do a fresh install on a different hard disk drive and then copy everything from the hidden SYSTEM partition, the Windows folder, and the Users folder.
nobusAuthor Commented:
i'm busy doing that
nobusAuthor Commented:
Davis - i have tried copying what you said
the pârtition  is no problem
however, copying the rest showed following hickups :
-windows refuses to copy lots of files, even with ownership (copied folder too small, compared to origin)
-so i tried unstoppable copier; that worked, but now the copied folder is bigger than the Original

question - can you suggest how to copy the folders best?  also - do i need to copy the whole users folder - or only the "username"folder?
same question infact for windows folder
Davis McCarnOwnerCommented:
You need the username and the Public folders to be safe.  And I would have tried using a Linux boot to do the copying.
nobusAuthor Commented:
no problem with Linux boot cd -  any preference?  Knoppix ?
Davis McCarnOwnerCommented:
Nope; just something that gets us out of the Windows environment.  You do realize this is virtually the same as if we had just done a fresh install on the old drive, don't you?
nobusAuthor Commented:
agreed - and it's only for learning purposes also  - to see what can ultimately been done
nobusAuthor Commented:
can i use the windows 10 live cd for this?  http://theoven.org/index.php?topic=1336.0
Davis McCarnOwnerCommented:
You can try it; but, I was concerned about how Windoze would handle permissions issues which is why I suggested a Linux distro.
nobusAuthor Commented:
you've provided enough suggestiions for me to continue
tx for the continued support as well - it is appreciated
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.