Repair Install Windows 10 with an In-place Upgrade  


  1. Posts : 42,734
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #590

    ppappas said:
    I would really like to avoid that, too many applications with registration keys, etc... and I don't want to reinstall everything, it will take me a week to get the system back to where it was. Is there anyway to find out why the repair install is failing?
    Thanks,
    Peter
    An alternative approach, as your file system is damaged and apparently unrepairable from what you say, and does not give you a sound base to work with would be to use e.g. a Easeus product which allows you to move your installed programs and data to another installation using a disk image- which you have.

    However this is a rather costly one of license- but $ vs time. You have a disk image, so you could check if that's compatible with the Easeus program.
    Professional PC transfer/migration software: EaseUS Todo PCTrans Professional

    Thus you clean install Win 10, and install and run the Easeus program which uses your image to reinstate programs and data.
      My Computers


  2. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
       #591

    ppappas said:
    I am trying to repair my Windows 10 Pro 64 bit system. I am doing this off a USB stick, and it will get past the point where I specify to keep my files and apps, then brings up the Installing Windows 10 screen. It get to about 35% and then just stops and says Windows 10 installation failed. I know I have file system corruption because it wants me to reboot to fix disk errors. However, I know if I do this it will trash the system and I won't be able to boot at all as this happened once before. Luckily I had a cloned bootable backup drive which let me recover from that. Unfortunately, without knowing it, that backup was updated with the corrupted system. My system boots and runs sort of, but at some point it may fail. I was hoping the repair install would fix things up, but don't know where to look as to why it's failing. I have tried several times with the same results.

    What can I look for, any help is greatly appreciated.

    Thanks,
    Peter
    Before attempting the in-place repair upgrade, try to make the system as healthy as possible. One way to do this means repairing the file system while your system is offline, so boot from your USB, and when the locale page and keyboard are done press shift+F10 to being up the command prompt.

    You need to run chkdsk /f on all of your drives to check particularly for bad sectors indicating a failing disk. If the disk is getting progressively worse, then your only recourse is a replacement.

    After you have satisfied yourself that you have a good disk, you need to run your defective backup onto it.

    Then attempt to do as many repairs as possible.

    One way is to use the free repair windows suite from Tweaking.com, as a last ditch effort. This brings together many of Windows own repair processes into a long script that may run for several hours.
    I have never had any problems with it, but others have.
    It will offer to start your system up in safe mode and also suggests that you completely power off your system in case there is some residual problem from bad hardware components before you attempt repairs.

    In safe mode open up the windows repair suite and run the prescan. It will always point to some filesystem errors with reparse points being missing which it can repair, and if there are any problems with the component store or environment variables that need to be fixed manually - because automatic repair is generally impossible. (currently, with some Insider builds there are problems with some Windows Update 32-bit certificates which are correctly signed, but are not rooted to the trusted Microsoft root certificates - which is, I guess, by design to debug some windows update problems in Insider builds.)

    Then the main program suite which will take more than an hour, and should be less than five. If it goes on longer, it may need to be stopped then restarted with the tests and repairs that have already been performed unchecked, so it will continue with the remaining repairs.

    At the end reboot and notice if there is an improvement. If there is, then by all means try the in-place repair upgrade:

    Keep the process as simple as possible. Put the setup ISO onto the hard drive to run from within your Windows, and don't have USB devices, other than mouse and keyboard plugged in - if wireless mouse & Keyb, try simple wired versions.

    Disconnect second monitors etc.,turn off your internet at the modem/router etc., and don't try to add any upgrades at this stage.

    The reasons for this are that between 20 and 35% of the first part of setup, drivers are being downloaded and installed. If any of these have problems, the errors they throw up may cause setup to fail, and at the next reboot after 35%, the system rolls back, if it fails gracefully, and if it doesn't leaves you in a worse state than before. So don't tempt fate by loading unnecessary drivers at this stage.

    See if that upgrade completes, and let us know what happens, Peter.
      My Computers


  3. Posts : 42
    Windows 10 Pro 64 bit
       #592

    I am really afraid to run chkdsk as this had totally destroyed my system before, I don't trust it at all. I never had these problem with Windows 7 and even though I have learned to like 10, I am sorry I ever upgraded. Looking at the BlueBox log I see this;

    2017-02-06 15:02:12: Launching process: [C:\$WINDOWS.~BT\Sources\SetupHost.exe] with command-line [/Install /Media /ProcessId 14624 /InstallFile "E:\Sources\Install.esd" /MediaPath "E:" /SuccessId a588217b-d05a-4c1c-917c-7c3d1020414c] in Session: [-1]2017-02-06 15:02:12: Launching: [C:\$WINDOWS.~BT\Sources\SetupHost.exe] [/Install /Media /ProcessId 14624 /InstallFile "E:\Sources\Install.esd" /MediaPath "E:" /SuccessId a588217b-d05a-4c1c-917c-7c3d1020414c] from []!2017-02-06 15:02:12: Waiting for process events...2017-02-06 15:06:45: Process exit code: [0x8007001F]2017-02-06 15:06:45: LaunchProcessInSession: Error = 0x8007001F2017-02-06 15:06:45: LaunchProcessInSession returned: [0x8007001F]

    Searching information on this error, some have suggested renaming the $WINDOWS.~BT directory, I may try this, but it also seems the registry has problems, see attached setuperr.log

    Thanks,
    Peter
      My Computer


  4. Posts : 42
    Windows 10 Pro 64 bit
       #593

    Hmmm, don't see the attachment so here is the setuperr.log, its not very long.

    Code:
    2017-02-06 15:02:59, Error                 CONX   Windows::Compat::Appraiser::WicaDeviceInventory::StartItem (513):   Devinv provided unexpected item type of InventoryDeviceMediaClass, swallowing.[gle=0x8007000d]
    
    2017-02-06 15:02:59, Error                 CONX   Windows::Compat::Appraiser::WicaDeviceInventory::StartItem (513):   Devinv provided unexpected item type of InventoryDeviceMediaClass, swallowing.[gle=0x8007000d]
    
    2017-02-06 15:02:59, Error                 CONX   Windows::Compat::Appraiser::WicaDeviceInventory::StartItem (513):   Devinv provided unexpected item type of InventoryDeviceMediaClass, swallowing.[gle=0x8007000d]
    
    2017-02-06 15:06:07, Error      [0x0803b6] MIG    Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD
    
    2017-02-06 15:06:07, Error      [0x08039d] MIG    Cannot add mapping for user profile C:\Users\DefaultAppPool. Error: 1009: Win32Exception: The configuration registry database is corrupt. [0x000003F1] __cdecl Mig::CIndirectKeyMapper::CIndirectKeyMapper(class UnBCL::String *,struct HKEY__ *,class UnBCL::String *,class UnBCL::String *,int,int,const Mig::HiveLoadRetryOptions *)[gle=0x000000cb]
    
    2017-02-06 15:06:07, Error      [0x080801] MIG    User profile loading error. Aborting due to external request.[gle=0x000000cb]
    
    2017-02-06 15:06:07, Error                        InitDownlevelOCMode caught exception: Win32Exception: User profile loading error. Aborting due to external request.: The specified user does not have a valid profile. [0x000004E5] void __cdecl Mig::COnlineWinNTPlatform::ProcessUser(class Mig::CRegistryDataStore *,class Mig::CRegistryDataUnit *,class UnBCL::String *,class UnBCL::String *,int,int)
    
    2017-02-06 15:06:07, Error                 MIG    OC Exception: OC::CDownlevelOCStore::CDownlevelOCStore: Engine's InitDownlevelOCMode failed.
    
    2017-02-06 15:06:07, Error                 SP     Could not save OC status. Error: 0x8007001F2017-02-06 15:06:15, Error      [0x0803b6] MIG    Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD
    
    2017-02-06 15:06:15, Error      [0x08039d] MIG    Cannot add mapping for user profile C:\Users\DefaultAppPool. Error: 1009: Win32Exception: The configuration registry database is corrupt. [0x000003F1] __cdecl Mig::CIndirectKeyMapper::CIndirectKeyMapper(class UnBCL::String *,struct HKEY__ *,class UnBCL::String *,class UnBCL::String *,int,int,const Mig::HiveLoadRetryOptions *)[gle=0x000000cb]
    
    2017-02-06 15:06:15, Error      [0x080801] MIG    User profile loading error. Aborting due to external request.[gle=0x000000cb]
    
    2017-02-06 15:06:15, Error                        MigPlatformStartupOnline caught exception: Win32Exception: User profile loading error. Aborting due to external request.: The specified user does not have a valid profile. [0x000004E5] void __cdecl Mig::COnlineWinNTPlatform::ProcessUser(class Mig::CRegistryDataStore *,class Mig::CRegistryDataUnit *,class UnBCL::String *,class UnBCL::String *,int,int)
    
    2017-02-06 15:06:15, Error                 SP     pSPDoMainGather: Engine initialization failed with error: 0x00000004
    
    2017-02-06 15:06:15, Error                 SP     CGatherData: Migration phase failed. Status: 4[gle=0x00000012]
    
    2017-02-06 15:06:15, Error                 SP     Operation failed: Gather data, scope: EVERYTHING. Error: 0x8007001F[gle=0x000000b7]
    
    2017-02-06 15:06:15, Error                 MOUPG  MoSetupPlatform: ExecuteCurrentOperations reported failure!
    
    2017-02-06 15:06:15, Error                 MOUPG  MoSetupPlatform: Using action error code: [0x8007001F]
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpActionDataMigrate::MigrateData(990): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpActionDataMigrate::ExecuteRoutine(648): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(441): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpTask::ExecuteAction(3243): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpTask::ExecuteActions(3397): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CDlpTask::Execute(1631): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CSetupManager::ExecuteTask(2067): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CSetupManager::ExecuteTask(2030): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CSetupManager::ExecuteInstallMode(815): Result = 0x8007001F
    
    2017-02-06 15:06:15, Error                 MOUPG  CSetupManager::ExecuteDownlevelMode(391): Result = 0x8007001F
    
    2017-02-06 15:06:26, Error                 MOUPG  CSetupManager::Execute(236): Result = 0x8007001F
    
    2017-02-06 15:06:26, Error                 MOUPG  CSetupHost::Execute(372): Result = 0x8007001F
    Last edited by Brink; 07 Feb 2017 at 12:22. Reason: code box
      My Computer


  5. Posts : 42
    Windows 10 Pro 64 bit
       #594

    So far I have had no luck fixing this, I did let windows do its repair disk thing at when starting up and it did correct a small number of errors, but now when it boots up it won't login to my user account. There are three users configured with no passwords and it was set to auto login to my account. Now all I get is the following screens.

    Repair Install Windows 10 with an In-place Upgrade-2017-02-09-14.57.20.jpgRepair Install Windows 10 with an In-place Upgrade-2017-02-09-14.57.02.jpg

    I have searched for how to resolve this and so far nothing has worked and I can't seem to boot into safe mode. I have put the system disk into an external enclosure and looked at it from another Win 10 Pro system and don't see anything wrong with it. running chkdsk against it yields no errors. I would like to run sfc /scannow against it which I used to be able to do with Win 7 by doing this;

    SFC /scannow /OFFWINDIR=F:\Windows /OFFBOOTDIR=F:\

    However Win 10 give an error. I am pretty stuck and any advice will be much appreciated. Is there anything I can do with the disk plugged into another Win 10 system?

    Thanks,
    Peter
      My Computer


  6. Posts : 5,478
    2004
       #595

    ppappas said:
    SFC /scannow /OFFWINDIR=F:\Windows /OFFBOOTDIR=F:\

    However Win 10 give an error. I am pretty stuck and any advice will be much appreciated. Is there anything I can do with the disk plugged into another Win 10 system?
    What error? Normally (not always but normally) you still get C assigned when you boot into recovery. Assuming it was F then your command was correct and still works in windows 10. See https://www.tenforums.com/tutorials/...a.html#option1 in case I missed a typo.

    You could run it from another windows system (as long as it was 7 or later) and do the same.

    You have various other options. You could put the disk in another Windows system and try to boot it (that is put the disk in and remove all the other disks).

    If that doesn't work you could hard power off 3 times during the boot process (that is boot up 3 successive times and in each case pull the plug or press the off button half way through) and that will normally force it into recovery.

    TBH describing the error you get in more detail would help.
      My Computer


  7. Posts : 42
    Windows 10 Pro 64 bit
       #596

    Hello lx07, thank you for the reply. I am not trying this booted in recovery mode. The system disk I am trying to repair is in a second drive bay of my system which is booted from C. When I try and run sfc, this is what I get. Volumes 4, 5 and 6 are the boot disk, and 0, 1 and 2 are the one I am trying to repair. This was done after using chkdsk to fix any errors on E which now runs clean. Also ran chkdsk on F, the system reserved partition, and it had no errors.

    Repair Install Windows 10 with an In-place Upgrade-2017_02_18_22_24_162.png
    Repair Install Windows 10 with an In-place Upgrade-2017_02_18_22_24_513.png

    If I try and boot from E, it will boot into Windows but as per my earlier post, I cannot login.

    Also, PPP is a brand new user account and I also ran sfc /scannow on the current boot volume C, with no errors.

    Thanks,
    Peter
      My Computer


  8. Posts : 5,478
    2004
       #597

    I'd delete everything in C:\Users\PPP\AppData\Local\Temp for a start.

    There is nothing important there (well there shouldn't be).

    You could also try this...
    Try**removing or renaming**x:\windows\winsxs\pending.xml
    source

    Not sure what else to suggest apart from physically remove the disk with working windows and leave only the non-working one connected. Then force it into recovery and try to enable the built in admin account (net user Administrator Password /active:yes)
      My Computer


  9. Posts : 42
    Windows 10 Pro 64 bit
       #598

    Thanks for the additional suggestions,

    C:\Users\PPP\AppData\Local\Temp\SSS_224ca5f50e8bd201010000002003101b is a folder that gets created dynamically when executing sfc, and its contents are deleted after the error occurs. Also could not find x:\windows\winsxs\pending.xml, doesn't seem to exist on either drive.

    What's really frustrating, even if I remove the working windows disk, I cannot force it into recovery mode. I have tried everything. I interrupted the windows startup several times by holding the power button, I also removed the battery and pulled the power cable 5 times during windows startup. Even after all that, if I let windows start up, I still get the initial screens without the ability to login. I can move the pointer around and holding the shift key and selecting restart doesn't work either. I can't do anything else at this screen, windows-r or anything else does nothing as well as ctrl-alt-del. Is there no way to break into the command prompt from here. I can access the registry on this disk when booted from the working windows disk, is there something I can set there?

    I still have my original windows 7 disk which I have kept somewhat current, as a last resort, I will just upgrade that to Windows 10 again.

    Thanks,
    Peter

    P.S. is there anything I can do by booting off the windows 10 install USB stick, that I can't do from the live windows system? I want to do a Repair Install, but I need to be able login first.
      My Computer


  10. Posts : 4
    windows 10
       #599

    Hi I was wondering if their is anyway of using this method, but it making windows install fresh drivers.
      My Computer


 

Tutorial Categories

Repair Install Windows 10 with an In-place Upgrade Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:10.
Find Us




Windows 10 Forums