Discover
Member
- Joined
- Jan 29, 2026
- Messages
- 4
- Thread Author
-
- #1
I’m currently facing a boot issue with a virtual machine running Windows 10 IoT Enterprise LTSC 2021 on VMware Workstation.
The problem started after a sudden power outage caused the host PC to shut down unexpectedly. Since then, the virtual machine fails to boot and displays a "Bad System Config Info" blue screen error.
At the moment, the VM is unable to boot into Windows. It either gets stuck in a boot loop or automatically enters the Windows Recovery Environment. Attempting Automatic Repair does not resolve the issue.
Troubleshooting steps I have tried so far:
Based on my understanding, this error may be caused by corrupted system files, damaged Boot Configuration Data (BCD), or registry issues-possibly due to the improper shutdown during the power outage.
System details:
The problem started after a sudden power outage caused the host PC to shut down unexpectedly. Since then, the virtual machine fails to boot and displays a "Bad System Config Info" blue screen error.
At the moment, the VM is unable to boot into Windows. It either gets stuck in a boot loop or automatically enters the Windows Recovery Environment. Attempting Automatic Repair does not resolve the issue.
Troubleshooting steps I have tried so far:
- Restarting the virtual machine multiple times
- Running Automatic Repair from the recovery environment
Based on my understanding, this error may be caused by corrupted system files, damaged Boot Configuration Data (BCD), or registry issues-possibly due to the improper shutdown during the power outage.
System details:
- Environment: VMware Workstation (Guest OS)
- OS: Windows 10 IoT Enterprise LTSC 2021
- Error: "Bad System Config Info" (BSOD)
- Trigger: Sudden power outage / improper shutdown
- How to repair BCD or registry via Command Prompt in recovery mode
- Any reliable way to recover the system without performing a full reinstall
- Whether this type of issue is common after an unexpected shutdown in a virtual machine
- Any additional diagnostic steps to identify the root cause
- Joined
- Mar 14, 2023
- Messages
- 100,078
Hi,
Yes — a sudden power loss can absolutely cause this, even in a VM. From your description, the most likely causes are:
Troubleshoot > Advanced options > Command Prompt
Run:
Look for:
Keep note of:
If your Windows partition is
If it reports a lot of errors, or you suspect deeper corruption, run:
Notes:
If your Windows folder is on another letter, adjust accordingly.
Then rebuild boot files:
If
If the files there are non-zero size, you may be able to restore them.
Then reboot and test.
If the Windows path or device entries are obviously wrong, that supports a BCD issue.
Troubleshoot > Advanced options > System Restore
This is often one of the safest ways to recover from registry/boot damage.
A VM is still running a real NTFS file system and real Windows registry hives inside a virtual disk. If power is cut during writes, you can get:
If you want, I can give you a clean step-by-step command set for either UEFI or Legacy BIOS, depending on how this VMware guest was configured.
Yes — a sudden power loss can absolutely cause this, even in a VM. From your description, the most likely causes are:
- NTFS/file-system corruption inside the guest
- damaged BCD / boot files
- corrupted SYSTEM registry hive or related registry data
- less commonly, corruption in the virtual disk files on the host
First: protect the VM before trying repairs
Because the VM is already in a bad state, I strongly recommend:- Power the VM off completely
- Make a copy of the entire VM folder on the host first
.vmx.vmdk- any split VMDK segments
.nvram
- If possible, work on the copy
Recommended repair order
1) Open Command Prompt in WinRE
From the Windows Recovery Environment:Troubleshoot > Advanced options > Command Prompt
2) Identify the Windows and EFI/System partitions
Drive letters in WinRE are often different from normal boot.Run:
Code:
diskpart
list vol
exit
- the Windows partition: usually NTFS, largest partition, contains
Windows - the EFI partition on UEFI systems: usually FAT32, often 100–300 MB
Code:
dir C:\
dir D:\
dir E:\
- Windows partition, for example:
C: - EFI partition, for example:
S:
3) Check the file system first
Because the crash followed a power outage, this is the first real repair step.If your Windows partition is
C:, run:chkdsk C: /fIf it reports a lot of errors, or you suspect deeper corruption, run:
chkdsk C: /rNotes:
/frepairs logical file-system errors/ris more thorough and takes much longer
chkdsk finds and fixes errors, reboot once and test before doing more.4) Repair offline system files
If the VM still will not boot, run offline SFC:sfc /scannow /offbootdir=C:\ /offwindir=C:\WindowsIf your Windows folder is on another letter, adjust accordingly.
5) Rebuild boot files / BCD
This is usually more reliable than only usingbootrec.If the VM uses UEFI
Assign a letter to the EFI partition if needed:
Code:
diskpart
list vol
select vol <EFI volume number>
assign letter=S
exit
bcdboot C:\Windows /s S: /f UEFIIf the VM uses Legacy BIOS / MBR
Use:bcdboot C:\Windows /f BIOSOptional additional boot commands
After that, you can also try:
Code:
bootrec /scanos
bootrec /rebuildbcd
bootrec /fixboot returns Access is denied, that is fairly common. In that case, rely on bcdboot instead.If “Bad System Config Info” still continues
This stop code is often tied to registry corruption, especially the SYSTEM hive.6) Check whether RegBack contains usable registry backups
Run:dir C:\Windows\System32\Config\RegBackIf the files there are non-zero size, you may be able to restore them.
Back up current hives first
Code:
md C:\HiveBackup
copy C:\Windows\System32\Config\SYSTEM C:\HiveBackup\
copy C:\Windows\System32\Config\SOFTWARE C:\HiveBackup\
copy C:\Windows\System32\Config\SAM C:\HiveBackup\
copy C:\Windows\System32\Config\SECURITY C:\HiveBackup\
copy C:\Windows\System32\Config\DEFAULT C:\HiveBackup\
Then restore from RegBack
Code:
copy C:\Windows\System32\Config\RegBack\SYSTEM C:\Windows\System32\Config\
copy C:\Windows\System32\Config\RegBack\SOFTWARE C:\Windows\System32\Config\
copy C:\Windows\System32\Config\RegBack\SAM C:\Windows\System32\Config\
copy C:\Windows\System32\Config\RegBack\SECURITY C:\Windows\System32\Config\
copy C:\Windows\System32\Config\RegBack\DEFAULT C:\Windows\System32\Config\
Important note
On newer Windows 10 builds, RegBack is often empty or not automatically populated, so this method only works if those files actually contain data.Useful diagnostics from WinRE
7) Read the Automatic Repair log
This can sometimes point to the exact failure:type C:\Windows\System32\LogFiles\Srt\SrtTrail.txt8) Inspect current BCD entries
bcdedit /enum allIf the Windows path or device entries are obviously wrong, that supports a BCD issue.
Additional recovery options before reinstalling
9) Try System Restore
If restore points exist:Troubleshoot > Advanced options > System Restore
This is often one of the safest ways to recover from registry/boot damage.
10) Attach the VMDK to another working VM
If in-guest repair fails, a very practical VMware option is:- create a second working Windows VM
- attach the broken VM’s VMDK as a secondary disk
- copy important data off it
- inspect the Windows folder
- run offline checks from the helper VM
Is this common after an unexpected shutdown in a VM?
Yes. It is not unique to VMware.A VM is still running a real NTFS file system and real Windows registry hives inside a virtual disk. If power is cut during writes, you can get:
- dirty NTFS metadata
- incomplete registry hive writes
- damaged BCD
- pending update/servicing corruption
My suggested sequence for your case
If I were repairing this VM, I would do it in this exact order:- Clone the VM folder
- Boot to WinRE Command Prompt
- Identify correct letters with
diskpart - Run:
chkdsk C: /f - Run:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows - Rebuild boot files with:
bcdboot C:\Windows /s S: /f UEFI
or
bcdboot C:\Windows /f BIOS - Reboot and test
- If still failing, inspect
SrtTrail.txt - If still failing, check RegBack
- If still failing, mount the VMDK on another VM and recover data / continue offline repair
One caution specific to VMware
If multiple VMs or files were affected on the host after the outage, also check the host disk and host file system. Sometimes the guest is only part of the problem, and the actual damage happened to the.vmdk or host storage layer.If you want, I can give you a clean step-by-step command set for either UEFI or Legacy BIOS, depending on how this VMware guest was configured.
- Joined
- Mar 14, 2023
- Messages
- 100,078
That narrows it down quite a bit.
Clues:
If Windows is on
If it reports significant corruption, follow with:
If CHKDSK repairs errors, reboot once and test before doing more.
3) Rebuild boot files with BCDBOOT instead of fighting
This is the main next move.
Then rebuild boot files:
If your Windows folder is actually on
or, if you identify the system partition explicitly:
The reason I’d prioritize
4) If
A classic failure pattern is running repair commands against the wrong partition. In older cases, users saw
Check with:
Whichever one clearly contains the installed OS is the one to use with
If
This can tell you whether:
About the old
You may run into old advice suggesting
However, in your case I would not jump to that first unless you confirm the VM is Legacy BIOS/MBR.
Why:
If it still won’t boot after
At that point I would try this order:
Identify:
Then, for UEFI:
Or for BIOS:
Then reboot and test.
If you want, reply with the output of:
and I can tell you exactly which
bootrec /fixbootreturning “Access is denied” is a very common outcome in modern recovery scenarios and does not by itself mean the VM is unrecoverable. In similar boot-repair discussions, the next step is usually to stop relying onfixbootand rebuild boot files withbcdbootafter confirming the correct system partition.- An empty
C:\Windows\System32\Config\RegBackmeans the easy registry-hive rollback path is unavailable, so I would shift focus away from registry restore and toward disk/file-system checks + boot-file reconstruction. Older recovery advice often uses RegBack successfully, but that depends on those backups actually existing.
What I would do next
1) Confirm whether the VM is UEFI or Legacy BIOS
In VMware Workstation, this matters a lot.- If the VM was installed as UEFI/GPT, the important partition is the small FAT32 EFI System Partition
- If it was installed as BIOS/MBR, the repair path is different
Code:
diskpart
list disk
select disk 0
list part
list vol
exit
- A small FAT32 partition usually means UEFI
- An EFI System Partition strongly suggests UEFI
- No EFI partition + active NTFS system partition usually means Legacy BIOS
2) Run CHKDSK first if you have not already
Because the trigger was a hard power loss, file-system corruption is still one of the most likely causes.If Windows is on
C:, run:chkdsk C: /fIf it reports significant corruption, follow with:
chkdsk C: /rIf CHKDSK repairs errors, reboot once and test before doing more.
3) Rebuild boot files with BCDBOOT instead of fighting bootrec /fixboot
This is the main next move.If the VM is UEFI
Use DiskPart to assign a letter to the EFI partition, for exampleS::
Code:
diskpart
list vol
select vol <EFI volume number>
assign letter=S
exit
bcdboot C:\Windows /s S: /f UEFIIf your Windows folder is actually on
D: or another drive in WinRE, replace C: accordingly.If the VM is Legacy BIOS / MBR
Use:bcdboot C:\Windows /f BIOSor, if you identify the system partition explicitly:
bcdboot C:\Windows /s C: /f BIOSThe reason I’d prioritize
bcdboot is that it is specifically used to copy fresh boot files from the Windows directory and recreate the boot environment/system partition, which is exactly the failure pattern you’re describing.4) If bcdboot fails, verify you are targeting the correct Windows install
A classic failure pattern is running repair commands against the wrong partition. In older cases, users saw fixboot/rebuildbcd fail simply because they were not actually pointed at the real Windows partition.Check with:
Code:
dir C:\Windows
dir D:\Windows
dir E:\Windows
bcdboot.5) Also dump the current boot configuration and repair log
These are high-value diagnostics now:
Code:
bcdedit /enum all
type C:\Windows\System32\LogFiles\Srt\SrtTrail.txt
C: is not the Windows volume in WinRE, adjust the drive letter.This can tell you whether:
- the boot entry points to the wrong partition
- the OS loader path is broken
- Automatic Repair is failing on a specific file or registry step
About the old bootsect /nt60 sys workaround
You may run into old advice suggesting bootsect /nt60 sys before retrying bootrec /fixboot; that workaround does appear in older forum material.However, in your case I would not jump to that first unless you confirm the VM is Legacy BIOS/MBR.
Why:
- on UEFI systems, the cleaner route is usually to repair the EFI partition with
bcdboot bootsectis more relevant to BIOS/MBR-style boot code repair
bootsect as a BIOS-only fallback, not the primary next step.If it still won’t boot after bcdboot
At that point I would try this order:- Offline SFC
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
Adjust letters as needed. - System Restore from WinRE, if restore points exist
- Mount the VMDK in another VM and copy data out before more invasive repair
- If the VM remains unbootable, consider an in-place repair install or reinstall after backup
My practical recommendation for your exact situation
Since:fixbootis deniedRegBackis empty- the issue began after abrupt power loss
Code:
diskpart
list vol
exit
- Windows partition
- EFI/system partition
chkdsk <WindowsDrive>: /fThen, for UEFI:
Code:
diskpart
select vol <EFI volume>
assign letter=S
exit
bcdboot <WindowsDrive>:\Windows /s S: /f UEFI
bcdboot <WindowsDrive>:\Windows /f BIOSThen reboot and test.
If you want, reply with the output of:
Code:
diskpart
list vol
bcdboot command to run for your VM.- Joined
- Mar 14, 2023
- Messages
- 100,078
Thanks —
In your case, there are 3 likely causes:
Use the drive letter that actually shows your offline Windows installation.
Do not assume it is
If these also return Error 87, then the issue is probably:
Mount or boot from matching media for:
If the ISO contains
First list indexes:
Then run:
If the ISO contains
First list indexes:
Then run:
The
For IoT Enterprise LTSC 2021, using the wrong index can cause repair failure even if the file exists.
Sometimes copied commands use:
Because your issue started after a sudden power loss, the highest-value repairs are still:
With that, I can tell you the exact DISM command and the exact
DISM Error: 87 usually means DISM does not like the command syntax or one of the parameters, rather than proving the image is beyond repair.In your case, there are 3 likely causes:
- the Windows partition is not actually
C:in WinRE - the command needs a matching install source instead of relying on local component store repair
- there is a syntax/parameter issue in the exact command entered
RestoreHealth fails, the next successful step is often to point DISM at a mounted ISO using /Source:WIM:... /LimitAccess.Try this in order
1) Confirm the real Windows drive letter in WinRE
Run:
Code:
dir C:\Windows
dir D:\Windows
dir E:\Windows
dir F:\Windows
Do not assume it is
C: in recovery mode. Boot-repair guidance regularly stresses that WinRE drive letters can differ from normal boot.2) Test simpler DISM commands first
If your Windows folder turns out to be onD:, try:
Code:
dism /Image:D:\ /Cleanup-Image /CheckHealth
dism /Image:D:\ /Cleanup-Image /ScanHealth
- wrong path
- unsupported parameter in the environment you booted from
- bad copy/paste syntax
3) Use a matching Windows ISO as the repair source
This is the most important next step.Mount or boot from matching media for:
- Windows 10 IoT Enterprise LTSC 2021
- same architecture
- same language
- as close a build as possible
X: or E:.If the ISO contains install.wim
First list indexes:dism /Get-WimInfo /WimFile:E:\sources\install.wimThen run:
dism /Image:D:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1 /LimitAccessIf the ISO contains install.esd
First list indexes:dism /Get-WimInfo /WimFile:E:\sources\install.esdThen run:
dism /Image:D:\ /Cleanup-Image /RestoreHealth /Source:ESD:E:\sources\install.esd:1 /LimitAccessThe
/Source:WIM:... /LimitAccess pattern is the same approach shown in WindowsForum examples when RestoreHealth fails without a usable source.4) Make sure the index matches your edition
If the image has multiple indexes, choose the one that matches your installed edition.For IoT Enterprise LTSC 2021, using the wrong index can cause repair failure even if the file exists.
5) If you still get Error 87, check for these exact problems
Use plain keyboard characters only
Re-type the command manually if possible.Sometimes copied commands use:
- smart dashes
- hidden characters
- broken spacing
Make sure the parameter format is exact
Use this exact style:dism /Image:D:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1 /LimitAccessVerify the source file exists
Run:
Code:
dir E:\sources\install.wim
dir E:\sources\install.esd
Important point
For this boot problem, I would not rely on DISM alone.Because your issue started after a sudden power loss, the highest-value repairs are still:
chkdskbcdboot- then DISM/SFC if needed
bcdboot successfully, that is still a priority.What I recommend next
Please post the output of these commands:
Code:
dir C:\Windows
dir D:\Windows
dir E:\Windows
diskpart
list vol
exit
dir E:\sources
bcdboot command for your VM.Similar threads
- Replies
- 0
- Views
- 215
- Replies
- 1
- Views
- 5K