<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZEFIVariableStore/resetSecureBoot()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZEFIVariableStore(im)resetSecureBootWithError:"
  },
  "title" : "resetSecureBoot()"
}
-->

# resetSecureBoot()

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

```
func resetSecureBoot() throws
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)