# US 2021/0286685 A1 · Operating system repairs via recovery agents

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286685 A1
- Document ID: US20210286685A1
- Status: Published application
- Kind: A1
- Application number: 16/478,800
- Filed: 2017-11-06
- Published: 2021-09-16
- Earliest claimed: 2017-11-06
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Hewlett-Packard Development Company, L.P.
- Inventors: Vali Ali; Michael Provencher; Charles Ricardo Staub; Juliano Francisco Cagnini Ciocari; Paulo Alcantara
- Web page: https://patentgrep.com/patent/US20210286685A1

## CPC

- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1469: {Backup restoration techniques}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 11/2284: {by power-on test, e.g. power-on self test [POST]}
- G06F 2201/82: Solving problems relating to consistency
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example computing device includes a first storage device storing a firmware. The computing device also includes a second storage device storing an operating system of the computing device. The computing device further includes a processor. The processor is to retrieve a recovery agent from another computing device via the firmware; validate the recovery agent; execute the recovery agent to retrieve recovery data; validate the recovery data; and repair the operating system using the recovery data via the recovery agent.

## Claims

### Claim 1

A computing device comprising;
a first storage device storing a firmware;
a second storage device storing an operating system of the computing device; and
a processor to:
retrieve a recovery agent from another computing device via the firmware;
validate the recovery agent;
execute the recovery agent to retrieve recovery data;
validate the recovery data; and
repair the operating system using the recovery data via the recovery agent.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the processor is to retrieve the recovery agent subsequent to a reboot of the computing device.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein the processor is to retrieve the recovery agent by:
downloading a manifest file and a signature of the manifest file; and
downloading a component of the recovery agent based on the manifest file.

### Claim 4 (depends on 3)

The computing device of claim 3, wherein the processor is to validate the recovery agent by:
validating the signature of the manifest file; and
comparing a calculated hash value of the component with a corresponding hash values of the component in the manifest file.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein the recovery data includes an operating system image.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein the firmware is a Unified Extensible Firmware Interface (UEFI).

### Claim 7

A non-transitory computer-readable storage medium comprising instructions that when executed cause a processor of a first computing device to:
in response to detecting a recovery trigger, perform a recovery operation at the first computing device upon a completion of a Power-On Self-Test (POST) of the first computing device, wherein the recovery operation includes:
retrieve a recovery agent from a second computing device via a firmware of the computing device;
validate the recovery agent;
execute the recovery agent to retrieve recovery data from a third computing device;
validate the recovery data; and
repair an operating system of the first computing device using the recovery data via the recovery agent.

### Claim 8 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions when executed further cause the processor to detect the recovery trigger during an execution of the operating system, wherein the execution of the operating system is prior to the POST.

### Claim 9 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the recovery data includes an operating system image.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the instructions when executed further cause the processor to repair the operating system by re-imaging the first computing device using the operating system image via the recovery agent.

### Claim 11 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the firmware is a Unified Extensible Firmware Interface (UEFI).

### Claim 12

A non-transitory computer-readable storage medium comprising instructions that when executed cause a processor of a computing device to:
in response to detecting a recovery trigger during an execution of an operating system of the computing device, perform a recovery operation at the computing device, wherein the recovery opera on includes:
retrieve a recovery agent from a first remote repository via a firmware of the computing device;
validate the recovery agent;
execute the recovery agent to retrieve recovery data from a second remote repository;
validate the recovery data; and
repair the operating system using the recovery data via the recovery agent.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the recovery trigger includes an operating system failure, a failure to execute the operating system, an external recovery instruction, a recovery instruction from a monitoring application, or a combination thereof.

### Claim 14 (depends on 12)

The non-transitory-computer-readable storage medium of claim 12, wherein retrieving the recovery agent includes:
retrieving a manifest file and a signature of the manifest file; and
retrieving a component of the recovery agent based on the manifest file.

### Claim 15

The non-transitory computer-readable storage medium 14, wherein validating the recovery agent includes:
validating the manifest file using the signature; and
comparing a calculated hash value of the component with corresponding hash value of the component in the manifest file.
