UEFI Shell command status codes

The following table lists the possible status codes displayed by the UEFI Shell when you issue a command. Codes vary by command.

UEFI Shell command status codes

Status code

Description

SHELL_SUCCESS

The action is completed as requested.

SHELL_NOT_FOUND

The target file or set of files cannot be found.

SHELL_SECURITY_VIOLATION

The function cannot be performed due to a security violation. When Secure Boot is enabled, any UEFI application that is not digitally signed using one of the embedded Secure Boot certificates cannot run and returns a SECURITY_VIOLATION status code instead.

SHELL_INVALID_PARAMETER

One of the passed-in parameters is formatted incorrectly or its value is out of bounds.

SHELL_OUT_OF_RESOURCES

A request to set a variable in a non-volatile fashion cannot be completed. The resulting non-volatile request is converted into a volatile request.

SHELL_WRITE_PROTECTED

The media on which the action takes place is write-protected.

SHELL_DEVICE_ERROR

There is a hardware error preventing the completion of this command.