Fixing Windows 10 BSOD After Linux Ubuntu Live Boot

Yesterday I tried to create a persistent USB bootable version of Ubuntu 16.04. After not being able to retain persistence on a reboot a BSOD occurred with  BAD_SYSTEM_CONFIG_INFO.

After hours of googling and trying various methods, one worked.

1. Create a Windows 10 flash drive and go to this screen or if you already have a bootablerecovery image and see this screen after your computer fails to repair its self (my case). 

Select the Troubleshoot option. 

Select advanced options.

Select Command Prompt

2. Some of you may notice that the command prompt begins with X:\ to change to the C:\ directory execute  the “cd” (change directory) command with “/d” (change drive and directory).

cd /d C:\


To list the directory you are currently in use the “dir” (directory) command. You should see a list  of what is in your current directory.

To change into a directory you use the “cd” command and either

· Use the absolute path that begins with C:\  i.e. (C:\Windows\System32)
· Or use the non-absolute path  i.e. “cd Windows” will take you to C:\Windows
· To move back to the directory before the \ use “cd ..


3. Use the “ren” (rename) command to rename these files and press enter after each command. This is to backup the registry files in case we want to restore them.

The ren command takes these augments.

ren [filepath] [new name]

ren C:\Windows\System32\config\DEFAULT DEFAULT.old

ren C:\Windows\System32\config\SAM SAM.old 

ren C:\Windows\System32\config\SECURITY SECURITY.old

ren C:\Windows\System32\config\SOFTWARE SOFTWARE.old

ren C:\Windows\System32\config\SYSTEM SYSTEM.old

4. Use the “copy” command to copy the system stored back up files to their new locations.

The copy command takes these augments.

copy [filepath to be copied] [filepath to be pasted]

copy C:\Windows\System32\config\RegBack\DEFAULT 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\SYSTEM C:\Windows\System32\config\

copy C:\Windows\System32\config\RegBack\SOFTWARE C:\Windows\System32\config\ 

Related Posts

Terraform Tips & Tricks – Part 1 – Building A Constant Reference

One of the most common problems I see in large organizations when working with terraform is consistency. When we have a large amount of resources being managed…

Istio Architecture Diagram

Everything You Ever Wanted to Know About Istio but Were Afraid to Ask

Istio is a powerful service mesh that integrates natively with Kubernetes, I have been using Istio as my service mesh, ingress, and egress gateways on my personal…

Envoy Modules Solar Monitoring Grafana Dashboard

How to Monitor Your Enphase Home Solar System with Telegraf

How to collect metrics from an Enphase Envoy PV system, with telegraf and influxdb.

Anthos on Bare Metal Architecture Diagram

How to Deploy Anthos on Bare Metal On-Prem

Introduction The main advantage of Anthos on BM over Anthos on VMWare for on-prem deployments is the ability to run Anthos clusters without a hypervisor license. Cluster…

OPA Gatekeeper Architecture

OPA Gatekeeper: Bringing Law and Order to Kubernetes

Introduction Open Policy Agent (OPA) is a policy based control agent that is able to be integrated on various platforms. For the sake of this document we…

Anthos GKE Cluster Traffic Diagram

How to Setup Anthos on GKE Autopilot with Private Certificate Authority

What You Will Create The guide will set up the following: 2 Private GKE autopilot clusters with master global access ASM with multicluster mesh IstioIngress gateway to…

Leave a Reply