BlInitializeLibrary failed 0xc0000001

Open administrative command prompt (ACP) and type or copy and paste: (all at one time)



Code:
bcdedit /enum all
reagentc /info
diskpart
lis dis
lis vol
sel dis 0
det dis
lis par
sel par 1
det par
ass letter=r
sel par 2
det par
sel par 3
det par
sel par 4
det par
sel dis 1
det dis
lis par
sel par 1
det par
ass letter=s
sel par 2
det par
ass letter=t
sel par 3
det par
ass letter=u
sel par 4
det par
sel par 5
det par
sel par 6
det par
sel dis 0
lis vol
lis par
sel dis 1
lis par


When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread
 
I don't know how to do it, what do you need me to do?

I noticed the procedure I did, did nothing.
I saw the event viewer and nothing about the defrag appeared...
Trying the defrag on another partition, instead, caused an event to be registered in the application log.
Therefore, it seems you need to defrag the ESP at boot with a third party tool (auslogics disk defrag, iobit smart defrag, etcetera).



Given that some years ago I had a bad experience with defrag at boot (with piriform defraggler, but it could happen also with other tools), I suggest you to create a system image with macrium reflect free, if you don't already have a system image with another tool (NOT microsoft backup):
  • Download, install, open macrium reflect free.
  • Create the recovery media and test if it works; i.e., if it boots your pc and open macrium reflect.
  • Reboot to windows, open macrium reflect, select the partitions you want to include in the image.
    The system partitions are:
    - EFI/ESP partition (FAT32)
    - MS reserved 128MB partition
    - C: (or where windows is installed
    - Recovery partitions
    If you are still unsure and confused, select the entire disk where C: is (the image file will be bigger and it will need more time to be restored); in this case, you should also backup your important files (i.e., make a copy of them and put the copies in another safe place, i.e. another EXTERNAL disk/cd/dvd/usb key).

    You can also decide to do a full system image; i.e., all disks and partitions (the image file will be bigger and it will need more time to be restored).
    In this case, the backup of your important files is optional given that you include them in the image (but if you have more copies of them is better).
  • Click Image selected disks on this computer.
    Change the destination folder; i.e., you have to choose where the image will be saved.
    You can not choose a partition that you have included in the image.
    All other settings are optional, hence click Next.
  • Scheduling is optional. Click Next.
  • Summary of your decisions. Click Finish to start the image creation.

You can also find a tutorial here, for the use of macrium reflect free: Using Macrium Free to Backup or Image your drives.
 
After I've created a macrium reflect image, I tried some defrag software:
  • Windows defrag seems to do nothing: I've tried every options singularly, no defrag events have been displayed in the windows event viewer.
  • Windows GUI displayed the T: (ESP) volume, but did not in its properties, tools, optimise.
  • Piriform defraggler free 2.22.995 didn't display the T: (ESP) volume.
  • Iobit smart defrag free 6.6.5.19 displayed T: and seemed to do something.
  • Auslogics disk defrag free 10.0.0.2 displayed T: and seemed to do something.
  • Glarysoft disk speedup free 5.0.1.67 displayed T: and seemed to do something.
    It allowed to turn on boot defrag on T:, but after a reboot it said something like: "This volume cannot be processed".
  • Ultradefrag-portable-7.1.4.amd64 (on sourceforge.com) displayed T: and seemed to do something.
T: is the letter I assigned to my ESP.

The procedure to assign a letter to the ESP is:
(press enter on your keyboard after you typed or copied/pasted commands in bold)
Read More:
Real example:
Read More:



Another possibility is to boot the machine with an external OS and then try to defrag the ESP.
Examples: windows recovery environment (x:), any linux cd/usb media (macrium reflect recovery media, kaspersky rescue disk, and so forth).
I still didn't try this.
 
I ran chkdsk on both drives. The larger drive took several hours overnight and I fell asleep before it finished so just to be sure I went over C: again.

I just had another "BlInitializeLibrary failed 0xc0000001". I didn't get a picture of it as I was distracted and switched it off almost immediately. I'll try and remember for next time.

I'd like to delay on the Macrium for a little while until I've found a suitable place to store the image/s, and to make sure I actually understood what I'm supposed to do. Meanwhile I've got MiniTool and Hard Disk Sentinel installed.

Microsoft Windows [Version 10.0.19042.685]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>bcdedit /enum all

Firmware Boot Manager
---------------------
identifier {fwbootmgr}
displayorder {bootmgr}
{aad23783-d388-11ea-a1df-0008caf58dee}
{aad23784-d388-11ea-a1df-0008caf58dee}
{aad23785-d388-11ea-a1df-0008caf58dee}
{aad23782-d388-11ea-a1df-0008caf58dee}
timeout 2

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=S:
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-GB
inherit {globalsettings}
default {current}
resumeobject {f8f4ae48-f5fd-11ea-9675-964138089177}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Firmware Application (101fffff)
-------------------------------
identifier {aad23782-d388-11ea-a1df-0008caf58dee}
description CD/DVD Drive

Firmware Application (101fffff)
-------------------------------
identifier {aad23783-d388-11ea-a1df-0008caf58dee}
description Hard Drive

Firmware Application (101fffff)
-------------------------------
identifier {aad23784-d388-11ea-a1df-0008caf58dee}
description UEFI: IP4 Intel(R) 82579V Gigabit Network Connection

Firmware Application (101fffff)
-------------------------------
identifier {aad23785-d388-11ea-a1df-0008caf58dee}
description UEFI: IP6 Intel(R) 82579V Gigabit Network Connection

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \WINDOWS\system32\winload.efi
description Windows 10
locale en-GB
inherit {bootloadersettings}
recoverysequence {f8f4ae4a-f5fd-11ea-9675-964138089177}
displaymessageoverride Recovery
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {f8f4ae48-f5fd-11ea-9675-964138089177}
nx OptIn
bootmenupolicy Standard

Windows Boot Loader
-------------------
identifier {f8f4ae4a-f5fd-11ea-9675-964138089177}
device ramdisk=[U:]\Recovery\WindowsRE\Winre.wim,{f8f4ae4b-f5fd-11ea-9675-964138089177}
path \windows\system32\winload.efi
description Windows Recovery Environment
locale en-GB
inherit {bootloadersettings}
displaymessage Recovery
osdevice ramdisk=[U:]\Recovery\WindowsRE\Winre.wim,{f8f4ae4b-f5fd-11ea-9675-964138089177}
systemroot \windows
nx OptIn
bootmenupolicy Standard
winpe Yes

Resume from Hibernate
---------------------
identifier {f8f4ae48-f5fd-11ea-9675-964138089177}
device partition=C:
path \WINDOWS\system32\winresume.efi
description Windows Resume Application
locale en-GB
inherit {resumeloadersettings}
recoverysequence {f8f4ae4a-f5fd-11ea-9675-964138089177}
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
filedevice partition=C:
filepath \hiberfil.sys
bootmenupolicy Standard
debugoptionenabled No

Windows Memory Tester
---------------------
identifier {memdiag}
device partition=S:
path \EFI\Microsoft\Boot\memtest.efi
description Windows Memory Diagnostic
locale en-GB
inherit {globalsettings}
badmemoryaccess Yes

EMS Settings
------------
identifier {emssettings}
bootems No

Debugger Settings
-----------------
identifier {dbgsettings}
debugtype Local

RAM Defects
-----------
identifier {badmemory}

Global Settings
---------------
identifier {globalsettings}
inherit {dbgsettings}
{emssettings}
{badmemory}

Boot Loader Settings
--------------------
identifier {bootloadersettings}
inherit {globalsettings}
{hypervisorsettings}

Hypervisor Settings
-------------------
identifier {hypervisorsettings}
hypervisordebugtype Serial
hypervisordebugport 1
hypervisorbaudrate 115200

Resume Loader Settings
----------------------
identifier {resumeloadersettings}
inherit {globalsettings}

Device options
--------------
identifier {f8f4ae4b-f5fd-11ea-9675-964138089177}
description Windows Recovery
ramdisksdidevice partition=U:
ramdisksdipath \Recovery\WindowsRE\boot.sdi

C:\WINDOWS\system32>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:

Windows RE status: Disabled
Windows RE location:
Boot Configuration Data (BCD) identifier: f8f4ae4a-f5fd-11ea-9675-964138089177
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0

REAGENTC.EXE: Operation Successful.


C:\WINDOWS\system32>diskpart

Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-7UD8RFF

DISKPART> lis dis

Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 1863 GB 1024 KB *
Disk 1 Online 167 GB 0 B *

DISKPART> lis vol

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 E DVD-ROM 0 B No Media
Volume 2 F New Volume NTFS Partition 1863 GB Healthy
Volume 3 C Windows NTFS Partition 166 GB Healthy Boot
Volume 4 S SYSTEM FAT32 Partition 260 MB Healthy System
Volume 5 U RAW Partition 500 MB Healthy Hidden

DISKPART> sel dis 0

Disk 0 is now the selected disk.

DISKPART> det dis

ST2000DM008-2FR102
Disk ID: {B0BF5EDC-3AA1-4483-BDB3-1BFC1968F0EF}
Type : SATA
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1F02)#ATA(C00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 2 F New Volume NTFS Partition 1863 GB Healthy

DISKPART> lis par

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Reserved 15 MB 17 KB
Partition 2 Primary 1863 GB 16 MB

DISKPART> sel par 1

Partition 1 is now the selected partition.

DISKPART> det par

Partition 1
Type : e3c9e316-0b5c-4db8-817d-f92df00215ae
Hidden : Yes
Required: No
Attrib : 0000000000000000
Offset in Bytes: 17408

There is no volume associated with this partition.

DISKPART> ass letter=r

There is no volume specified.
Please select a volume and try again.

DISKPART> sel par 2

Partition 2 is now the selected partition.

DISKPART> det par

Partition 2
Type : ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
Hidden : No
Required: No
Attrib : 0000000000000000
Offset in Bytes: 16777216

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 2 F New Volume NTFS Partition 1863 GB Healthy

DISKPART> sel par 3

The specified partition is not valid.
Please select a valid partition.

There is no partition selected.

DISKPART> det par

There is no partition selected.
Please select a partition and try again.

DISKPART> sel par 4

The specified partition is not valid.
Please select a valid partition.

There is no partition selected.

DISKPART> det par

There is no partition selected.
Please select a partition and try again.

DISKPART> sel dis 1

Disk 1 is now the selected disk.

DISKPART> det dis

INTEL SSDSC2CW180A
Disk ID: {FEE9C77D-A5C6-4B1B-B4D0-77CDF938A413}
Type : SATA
Status : Online
Path : 1
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1F02)#ATA(C01T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 3 C Windows NTFS Partition 166 GB Healthy Boot
Volume 4 S SYSTEM FAT32 Partition 260 MB Healthy System
Volume 5 U RAW Partition 500 MB Healthy Hidden

DISKPART> lis par

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 128 MB 261 MB
Partition 3 Recovery 500 MB 389 MB
Partition 4 Primary 166 GB 889 MB

DISKPART> sel par 1

Partition 1 is now the selected partition.

DISKPART> det par

Partition 1
Type : c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Hidden : Yes
Required: No
Attrib : 0X8000000000000000
Offset in Bytes: 1048576

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 4 S SYSTEM FAT32 Partition 260 MB Healthy System

DISKPART> ass letter=s

Virtual Disk Service error:
The specified drive letter is not free to be assigned.


DISKPART> sel par 2

Partition 2 is now the selected partition.

DISKPART> det par

Partition 2
Type : e3c9e316-0b5c-4db8-817d-f92df00215ae
Hidden : Yes
Required: No
Attrib : 0X8000000000000000
Offset in Bytes: 273678336

There is no volume associated with this partition.

DISKPART> ass letter=t

There is no volume specified.
Please select a volume and try again.

DISKPART> sel par 3

Partition 3 is now the selected partition.

DISKPART> det par

Partition 3
Type : de94bba4-06d1-4d40-a16a-bfd50179d6ac
Hidden : Yes
Required: Yes
Attrib : 0X8000000000000001
Offset in Bytes: 407896064

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 5 U RAW Partition 500 MB Healthy Hidden

DISKPART> ass letter=u

Virtual Disk Service error:
The specified drive letter is not free to be assigned.


DISKPART> sel par 4

Partition 4 is now the selected partition.

DISKPART> det par

Partition 4
Type : ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
Hidden : No
Required: No
Attrib : 0000000000000000
Offset in Bytes: 932184064

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 3 C Windows NTFS Partition 166 GB Healthy Boot

DISKPART> sel par 5

The specified partition is not valid.
Please select a valid partition.

There is no partition selected.

DISKPART> det par

There is no partition selected.
Please select a partition and try again.

DISKPART> sel par 6

The specified partition is not valid.
Please select a valid partition.

There is no partition selected.

DISKPART> det par

There is no partition selected.
Please select a partition and try again.

DISKPART> sel dis 0

Disk 0 is now the selected disk.

DISKPART> lis vol

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 E DVD-ROM 0 B No Media
Volume 2 F New Volume NTFS Partition 1863 GB Healthy
Volume 3 C Windows NTFS Partition 166 GB Healthy Boot
Volume 4 S SYSTEM FAT32 Partition 260 MB Healthy System
Volume 5 U RAW Partition 500 MB Healthy Hidden

DISKPART> lis par

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Reserved 15 MB 17 KB
Partition 2 Primary 1863 GB 16 MB

DISKPART> sel dis 1

Disk 1 is now the selected disk.

DISKPART> lis par

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 128 MB 261 MB
Partition 3 Recovery 500 MB 389 MB
Partition 4 Primary 166 GB 889 MB

DISKPART>
 
1) Run the Sysnative log collector > upload results

2) Backup any important files on C: (Intel SSD) to F: (ST2000) or to the cloud

3) Consider purchasing an external HD for storage (4 TB on sale ~ $100 US)

4) Open disk management > by default some columns are compressed > widen each Status and Volume > make sure the contents within the parenthesis are in full view and that none of the characters are cutoff > view disk 0 > widen this row as needed so that all of the characters are in full view > post an image into the thread
Disk Management - How to Post a Screenshot of

5) Download and install Minitool Partition Wizard > click launch > post an image of the results into this thread
MiniTool Partition Wizard Free Edition
MiniTool Portable Partition Magic Brings Easier Disk Management

6) Find a flash drive that you can format (> or = 8 GB)

7) Create a bootable Windows 10 iso 20H2:

Download Windows 10
Download Windows 10 ISO File
Create Bootable USB Flash Drive to Install Windows 10

8) Detach the cable or remove ST2000

9) Perform an in place upgrade repair:

Repair Install Windows 10 with an In-place Upgrade
 
I am looking into getting a new drive, but it's not likely to be any time soon as my budget is pretty restricted currently.

Sorry wait, back up, how do I do the Macrium and the MiniTool again?
 

Attachments

Important files can be copied and pasted > another disk drive or the cloud

In addition backup images can be made (all drive partitions) and restored as needed.



When available post new images for each:

a) disk management

b) Minitool partition wizard




Update the progress with:

a) turning off windows fast startup

b) making a bootable Windows 10 iso

c) performing an in place upgrade repair

d) HD Sentinel results




It’s our business to protect your data
Backup and Restore with Macrium Reflect
 
It hasn't yet, but when I booted it up just today it froze on the Windows splash screen at the part of the process just before the loading wheel would appear, just the same as it did before the system got a clean re-install.

I will create a system image eventually, but I'm still waiting on additional storage to backup my files and I don't know how long that will take. There's a bunch of complications impeding my progress on this front.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top