> For the complete documentation index, see [llms.txt](https://nitwit.gitbook.io/nitwit-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nitwit.gitbook.io/nitwit-docs/macho.md).

# Macho

Macho Errors & Fixes

**To fix the error below, run Command Prompt as an administrator and execute the following command:**

```
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
```

<figure><img src="https://1787448337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCs3fBHGc4HrNwk4BBsej%2Fuploads%2FJwpdbfv7MneYOLO4hg5E%2Fimage.png?alt=media&amp;token=00608dd2-4bad-4cdb-be98-119f30e451cb" alt=""><figcaption></figcaption></figure>

**To fix the error below:**

Create a new folder directly in the **C drive**, move the Macho loader into that folder, and then run it.

<div data-with-frame="true"><figure><img src="https://1787448337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCs3fBHGc4HrNwk4BBsej%2Fuploads%2FTt5TVw6mcQEZfUbtpkgo%2Fimage.png?alt=media&amp;token=bae94bbd-ae6c-4a7e-9bfc-66ed660e1247" alt=""><figcaption></figcaption></figure></div>

**To fix the error below, run Command Prompt as an administrator and execute the following command:**

```
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 0 /f
```

<figure><img src="https://1787448337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCs3fBHGc4HrNwk4BBsej%2Fuploads%2FFJfkRVBfjSqv6fhhHoK2%2Fimage.png?alt=media&amp;token=e8bafdab-ce56-4c6b-a3b0-f1f19e42986a" alt=""><figcaption></figcaption></figure>

**To fix the infinite loading error, place the Macho loader inside a new folder and run it as an administrator.**

<figure><img src="https://1787448337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCs3fBHGc4HrNwk4BBsej%2Fuploads%2FTNjlVCjOiAl11m8i2yOQ%2Fimage.png?alt=media&amp;token=3724cd46-d761-4ddb-a86f-ac4bbb430607" alt=""><figcaption></figcaption></figure>

To resolve this error, download and install the Microsoft C++ Redistributable package from the following link:

{% embed url="<https://aka.ms/vs/17/release/vc_redist.x64.exe>" %}

<figure><img src="https://1787448337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCs3fBHGc4HrNwk4BBsej%2Fuploads%2FLdkONL6lFZlDNHu6BPZ7%2Fimage.png?alt=media&amp;token=25e1763d-bafd-4b07-9863-f31a6b5d396f" alt=""><figcaption></figcaption></figure>
