---
title: resetSecureBoot()
framework: virtualization
role: symbol
role_heading: Instance Method
path: virtualization/vzefivariablestore/resetsecureboot()
---

# resetSecureBoot()

Clears any previously applied Secure Boot configuration and disables Secure Boot.

## Declaration

```swift
func resetSecureBoot() throws
```

## Discussion

Discussion This operation clears any previously applied Secure Boot configuration, sets the “SetupMode” global variable to 1, and disables Secure Boot in the variable store.
