VMware vSphere

 View Only
  • 1.  0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 04:28 PM

    Hi All,

    Looking for some assistance please.

    A critical resize of a disk was required, we shut the VM down and resized to 1.5TB from 1TB.

    When trying to boot, it fails with the error:

    Windows Failed to Start. A recent hardware or software change might be the cause.

    File: \Windows\system32\config\system

    Status: 0xc000014c

    Info: Windows failed to load because the system registry is missing or corrupt.

    I have run the sfc /scannow command, it states that system repair is pending.

    Have tried SFC.EXE /scannow /offbootdir=:c:\ /offwindir=c:\windows



  • 2.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 04:38 PM


  • 3.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 04:50 PM

    Thanks for the info, Ive tried that and ended up with the same result.



  • 4.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 05:01 PM

    What OS version is it? I've never had a problem with re-sizing, and I always do it while the VM is still running unless it is greater than 2 TB.



  • 5.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 05:07 PM

    SBS 2011, the previous support firm converted from a physical hence the current problems.

    The disks seem intact when using diskpart to check, drive is active and shows the correct, previous size.

    However the disk within Windows was partitioned into two drives - C and D but both visible within diskpart as mentioned.

    I'm assuming this might have something to do with the start and end sectors of the disk for instance?



  • 6.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 05:16 PM

    Was it single disk attached to this VM ? How many volume's you had inside guest OS. Also let us know ESXI version.



  • 7.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 05:21 PM

    Hi,

    Yes it is a single disk attached to the VM, two volumes, C and D

    ESXi 6.0.0



  • 8.  RE: 0xc000014c Error after Disk Resize

    Posted Jul 03, 2017 05:31 PM

    Boot with Windows image, on install windows screen, choose repair.

    If doesn't work, then take snapshot first and try below steps.

    1. Shutdown virtual machine (VM).

    2. keep snapshots of VM hard disk settings like SCSI (0:0), and disk file path on datastore etc.

    3. Attach the OS disk as a data disk to another VM (a troubleshooting VM).

    4. Connect to the troubleshooting VM. Open Computer management > Disk management. Make sure that the OS disk is online and that its partitions     have drive letters assigned.

    5. On the OS disk you attached, navigate to \windows\system32\config. Copy all the files as a backup in case a rollback is required.

    6. On the OS disk you attached, copy the files in \windows\system32\config\regback and replace the files in \windows\system32\config.

    7. Detach the repaired OS disk from the troubleshooting VM.

    8. Then reattached disk with same configuration to original VM and check if its working.