Skip to main content

How to Fix Error 0x80072F76 During Swif Agent Enrollment on Windows

Overview

When installing the Swif agent on a Windows device, you may encounter the following enrollment error:

Enrollment completed with status: Error there was an error calling The operation completed successfully. (0x80072F76)

This error is a Microsoft Windows networking error — not a Swif-specific issue. It occurs when Windows cannot establish a secure connection, typically due to network configuration problems, SSL/TLS misconfigurations, or firewall interference on the device.


Who Is Affected

  • Windows 10 and Windows 11 devices

  • Devices that were previously enrolled and removed, then re-enrolled

  • Devices behind corporate proxies, firewalls, or VPNs


Solution

Follow the steps below in order. After completing step 6, restart your computer and retry the Swif installation. In most cases, the issue is resolved by that point.

Step 1: Check Your Internet Connection

A stable network connection is required for enrollment.

  • Ensure your PC is connected to a reliable internet network.

  • Restart your router or modem.

  • Disable any active VPN connections temporarily.

Step 2: Verify Date and Time Settings

Incorrect date/time settings can cause certificate validation failures.

  1. Go to Settings → Time & Language → Date & Time.

  2. Enable Set time automatically and Set time zone automatically.

  3. Restart your PC.

Step 3: Enable TLS 1.2 and TLS 1.3

Older or disabled TLS protocols can block the secure connection needed for enrollment.

  1. Press Win + R, type inetcpl.cpl, and press Enter.

  2. Go to the Advanced tab and scroll down to the Security section.

  3. Make sure the following are checked:

    • ☑ Use TLS 1.1

    • ☑ Use TLS 1.2

    • ☑ Use TLS 1.3 (if available)

  4. Click Apply → OK.

  5. Restart your PC.

Step 4: Update Root Certificates

Expired or missing root certificates can prevent Windows from validating the server.

  1. Open PowerShell as Administrator.

  2. Run the following commands:

    certutil -generateSSTFromWU RootCAs.sst  

    certutil -addstore -f Root RootCAs.sst

Step 5: Reset Cryptographic Services and Cache

  1. Open Command Prompt as Administrator.

  2. Run the following commands:

    net stop cryptsvc  

    ren %systemroot%\System32\catroot2 catroot2.old

    net start cryptsvc

Step 6: Reset WinHTTP Proxy and Network Settings

  1. Open Command Prompt as Administrator.

  2. Run the following commands:

    netsh winhttp reset proxy  

    netsh winsock reset

    ipconfig /flushdns
  3. Restart your computer.

✅ Retry Swif Installation

After completing the steps above and restarting, download and run the Swif installer again. Enrollment should now complete successfully.


If the Issue Persists

If you've completed all six steps and the error still occurs, try these additional measures:

  • Temporarily disable third-party firewall or antivirus software (e.g., CrowdStrike, custom Windows Defender policies), then retry the installation. Re-enable your security software afterward.

  • Run the Windows Update Troubleshooter: Go to Settings → System → Troubleshoot → Other troubleshooters → Windows Update.

  • Check for conflicting MDM enrollment: If the device is enrolled in another MDM provider (e.g., Intune), unenroll from it before installing Swif.

If none of the above resolves the issue, please contact Swif support at support@swif.ai and include:

  • Your device serial number

  • Your Windows version (run winver to check)

  • Any logs from C:\ProgramData\Swif\logs\ if available


Did this answer your question?