What is 0x80042415

 

Could be also:

ConstantTypeOS
VDS_E_INVALID_OPERATIONHRESULTWindows
Previous Next
VDS_E_PATH_NOT_FOUND

VSS_E_ASRERROR_CRITICAL_DISK_CANNOT_BE_EXCLUDED

uniqueid command of DiskPart utility displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the basic or dynamic disk with focus. A basic or dynamic disk must be selected for this operation to succeed. Use the select disk command to select a disk and shift the focus to it.

uniqueid disk [id={dword | GUID}] [noerr]
id={dword | GUID}

For MBR disks, this parameter specifies a 4-byte (DWORD) value in hexadecimal form for the signature. For GPT disks, this parameter specifies a GUID for the identifier.

noerr

For scripting only. When an error occurs, DiskPart continues to process commands as if the error didn't occur. Without this parameter, an error causes DiskPart to exit with an error code.

DiskPart utility

In computing, diskpart is a command-line disk partitioning utility included in Windows 2000 and later Microsoft operating systems, replacing its predecessor, fdisk. The command is also available in ReactOS.

The diskpart is a utility used for partitioning internal hard drives but can also format removable media such as flash drives.

Although theoretically it is possible to create in Windows NT 4.0 / 2000 / XP on removable drives such as flash drives or memory cards for example during system installation. However, the ability to format, for example, the Recovery Console, is completely blocked to format such a disk. A message will appear: 'Cannot format removable disk'. Microsoft noticed this error. And it completely blocked the ability to view and create partitions from Windows Vista to Windows 10.

The command supports the use of scripts to automate its usage. For example, the following text file could be supplied to diskpart to create a new partition:

create partition logical size=2048
assign letter=F

This will create a 2 GB logical partition at the beginning of the free space on the disk and assign it the drive letter F:, provided that space requirements are met.

The installed disks and their associated volumes and/or partitions can be viewed by these commands:

list disk
list volume
list partition

GPT and MBR partition tables

The GUID Partition Table (GPT) is a standard for the layout of partition tables of a physical computer storage device, such as a hard disk drive or solid-state drive, using universally unique identifiers, which are also known as globally unique identifiers (GUIDs). Forming a part of the Unified Extensible Firmware Interface (UEFI) standard (Unified EFI Forum-proposed replacement for the PC BIOS), it is nevertheless also used for some BIOS systems, because of the limitations of master boot record (MBR) partition tables, which use 32 bits for logical block addressing (LBA) of traditional 512-byte disk sectors.

MBR, GPT and VSS_E_ASRERROR_CRITICAL_DISK_CANNOT_BE_EXCLUDED (0x80042415)

All modern personal computer operating systems support GPT. Some, including macOS and Microsoft Windows on the x86 architecture, support booting from GPT partitions only on systems with EFI firmware, but FreeBSD and most Linux distributions can boot from GPT partitions on systems with either the BIOS or the EFI firmware interface.