October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

authui.dll Missing at Sign-In: Repair Windows Authentication UI

Length9 min Posted Quest giverVGSources Team

Start with this diagnostic checklist

Before changing files, note:

  • Which program shows the error? If the message appears before sign-in, after Ctrl+Alt+Delete, or during a UAC credential prompt, it may be a Windows logon problem rather than an application problem.
  • When did it begin? Check whether it followed Windows Update, antivirus activity, malware removal, a cleanup utility, a driver installation, or logon customization.
  • Can you reach the desktop? If not, use Windows Recovery Environment steps later in this guide.
  • Which Windows architecture is installed? Open Settings → System → About and check System type. On 64-bit Windows, System32 contains native 64-bit system files. It is not a 32-bit folder.
  • Is another DLL named in the same dialog? Repairing authui.dll will not fix a separate missing dependency.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

authui.dll is a genuine Microsoft Windows component, not a Visual C++ Redistributable, DirectX, .NET, game, or ordinary application runtime. The safest repair is to repair Windows itself, not to download a replacement DLL.

What authui.dll does

authui.dll is associated with the Windows Authentication UI. Windows uses it as part of the credential-provider system that presents authentication interfaces, while LogonUI.exe loads the providers used for interactive sign-in. Microsoft documents the component under %SystemRoot%System32.Microsoft Windows Internals sample

The normal native path is:

%SystemRoot%System32authui.dll

On 64-bit Windows, this normally means:

C:WindowsSystem32authui.dll

Windows also maintains compatibility locations for 32-bit components, including C:WindowsSysWOW64. Do not decide where to copy a file based only on whether Windows is 32-bit or 64-bit. Servicing tools select the correct component for the installed build.

A version or file size seen on another computer is not a universal reference. The correct file depends on the Windows edition, architecture, language, servicing level, and build. Do not replace it with a file from another Windows installation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Yubico - YubiKey 5C NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5C NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5C NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5C NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts

What the error messages mean

You may see wording such as:

  • “The program can’t start because authui.dll is missing from your computer.”
  • “The code execution cannot proceed because authui.dll was not found.”
  • “authui.dll was not found.”
  • “LogonUI.exe – Bad Image.”
  • “authui.dll is either not designed to run on Windows or it contains an error.”
  • “Windows could not start because authui.dll is missing or corrupt.”

A message during an ordinary application launch can indicate that Windows authentication components are damaged, but the application may also be naming another dependency nearby in the failure chain. A message at the sign-in screen, after Ctrl+Alt+Delete, or during a credential prompt points more directly to LogonUI.exe, Windows servicing, security software, or a third-party credential provider.

“Missing” does not always mean the file is absent. The file may be present but corrupted, unsigned, the wrong architecture, from the wrong Windows build, or blocked after antivirus quarantine.

Fix 1: Restart, then install pending Windows updates

A restart can complete a pending component replacement or update transaction.

  1. Save your work.
  2. Select Start → Power → Restart.
  3. After Windows starts, open Settings.
  4. Select Windows Update.
  5. Select Check for updates.
  6. Install all available updates and restart when requested.

Microsoft provides the standard update procedure here.Install Windows updates

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Try the action that originally produced the error. If the message returns, continue with component repair.

Fix 2: Repair Windows with DISM and SFC

This is the most important fix for a missing or damaged authui.dll. DISM repairs the Windows component store, and System File Checker verifies protected files and replaces damaged copies.

  1. Open Start and type Command Prompt.
  2. Right-click Command Prompt and select Run as administrator.
  3. Select Yes at the User Account Control prompt.
  4. Run this command:
DISM.exe /Online /Cleanup-Image /RestoreHealth
  1. Wait for it to complete. Do not close the window if progress appears to pause.
  2. Run SFC afterward:
sfc /scannow
  1. When both commands finish, restart Windows.

Microsoft documents DISM image repair and the SFC command.

Rank #2
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

A successful result is an SFC message saying that Windows Resource Protection found no integrity violations, or that it found corrupt files and successfully repaired them. Test sign-in or the affected credential prompt.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If SFC says it could not repair some files:

  1. Run DISM again.
  2. Restart.
  3. Run sfc /scannow again.
  4. If the problem remains, review %windir%LogsCBSCBS.log or continue to the repair-installation options below. DISM may use Windows Update or a matching repair source when the local component store is incomplete.

Repeating SFC without knowing whether the component store is healthy can leave you guessing about what changed. Outbyte PC Repair can show what its free scan identifies, while repairs are performed by the full version; it is optional, and Windows DISM/SFC remains the direct repair path.

Fix 3: Check antivirus quarantine before restoring anything

Security software may quarantine a genuine system file, but malware can also use a familiar filename. Do not restore authui.dll merely because the name looks legitimate.

For Microsoft Defender:

  1. Open Windows Security from the Start menu.
  2. Select Virus & threat protection.
  3. Select Protection history.
  4. Review the detection details and path.
  5. If the detection is confirmed false and the file is identified as a genuine Microsoft-signed Windows component, use the available Restore action.
  6. Restart Windows.
  7. If authenticity is uncertain, leave it quarantined and run DISM followed by SFC instead.
  8. Return to Virus & threat protection, select Scan options, choose Full scan, and select Scan now.

Microsoft explains the available quarantine and restore actions in Protection history.

If malware is suspected, do not whitelist the file just to make the error disappear. Repair Windows after the scan, and use official recovery media if the system remains compromised.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix 4: Remove a conflicting credential provider or logon customizer

Fingerprint readers, smart-card packages, corporate authentication agents, and logon customizers can interact with LogonUI.exe. A recent installation or update can therefore trigger an authentication failure without owning authui.dll.

If you can sign in:

  1. Open Settings → Apps → Installed apps.
  2. Sort by Date installed if available.
  3. Identify recently installed fingerprint, smart-card, security, remote-access, or logon-customization software.
  4. Select its three-dot menu and choose Uninstall, or use the vendor’s official uninstaller.
  5. Restart.
  6. Install a current package from the hardware or software vendor only after Windows sign-in works.

For a recently installed Windows update, open Settings → Windows Update → Update history → Uninstall updates. Remove only the update that clearly matches the beginning of the problem, then restart. System Restore is another suitable rollback when the failure began after a system change.

Update related device software

If the problem began after a fingerprint reader, smart-card device, camera, or security-device change:

Rank #3
Yubico - YubiKey 5 NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-A or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5 NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5 NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5 NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts
  1. Right-click Start and select Device Manager.
  2. Expand the relevant category, such as Biometric devices, Smart card readers, Cameras, or Security devices.
  3. Right-click the affected device and select Properties.
  4. Check the General tab for an error status.
  5. Open the Driver tab.
  6. Use Roll Back Driver if the button is available and the issue began immediately after an update.
  7. Otherwise select Uninstall Device, restart, and install the correct driver from the device manufacturer’s official support page.

Manually hunting through driver versions can be tedious, especially when several authentication devices are installed. Outbyte Driver Updater can use its free scan to identify outdated drivers, while driver installation is handled by the full version; it is optional and is not a replacement for repairing Windows or reinstalling the responsible credential-provider package.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not treat a driver update as a repair for authui.dll itself. It addresses a possible conflict around LogonUI.exe.

Fix 5: Use Windows 11’s repair reinstall

Windows 11 may offer a repair reinstall that keeps your applications, personal files, and settings.

  1. Open Settings → System → Recovery.
  2. Find Fix problems using Windows Update.
  3. Select Reinstall now.
  4. Follow the prompts.
  5. Keep the computer connected to power and restart when requested.

This reinstalls the same Windows version and can restore damaged system components without a conventional clean installation. If the option is not present or does not solve the issue, use matching official installation media.

Fix 6: Perform an in-place repair from official installation media

An in-place repair replaces Windows components while preserving the selected data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Obtain official Windows installation media that matches the installed Windows release and architecture.
  2. Mount the ISO or insert the official installation media.
  3. Open the media in File Explorer.
  4. Run setup.exe.
  5. Follow the installer prompts.
  6. Select Change what to keep.
  7. Choose Keep personal files and apps.
  8. Confirm the selection and start the installation.
  9. Let Windows restart as needed.

Do not start by booting from the media if your goal is to preserve applications. Starting setup.exe inside Windows is the path used for an in-place repair. Microsoft’s procedure is described in Reinstall Windows with installation media.

If Windows cannot complete the repair, back up important data and consider a clean installation, particularly after confirmed malware or severe system corruption.

If you cannot reach the desktop

Use Windows Recovery Environment:

  1. Start the computer.
  2. At the sign-in or recovery screen, select Power.
  3. Hold Shift and select Restart, if the option is available.
  4. Select Troubleshoot → Advanced options → Command Prompt.
  5. Sign in with an administrator account if prompted.

In recovery mode, Windows may not be mounted as C:. Find the Windows drive before running offline repairs:

Rank #4
Yubico - Security Key NFC - Basic Compatibility - Multi-Factor Authentication (MFA) Key, Connect via USB-A or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.
diskpart
list volume
exit

Check likely drive letters:

dir C:Windows
dir D:Windows

When you identify the correct letter, use offline SFC, replacing D: below if necessary:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sfc /scannow /offbootdir=D: /offwindir=D:Windows

If the repair environment can access a matching Windows source, DISM may also be used with an appropriate /Source path. Avoid guessing source paths or copying a DLL from another computer.

For rollback, open Troubleshoot → Advanced options → System Restore, or open Command Prompt and run:

rstrui.exe

Choose a restore point from before the error began. System Restore normally rolls back system files, settings, drivers, and installed programs without removing personal files. Microsoft describes this recovery method in System Restore.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What not to do

Do not download a loose authui.dll

Random DLL download pages can provide malware, the wrong architecture, the wrong Windows build, or a file with incompatible dependencies. A copied file may also hide the real cause, such as component-store corruption or an antivirus action.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Microsoft does not provide a universal standalone current authui.dll download page. Use Windows Update, DISM, SFC, Windows recovery, or official installation media instead.

Do not copy it from another PC

Even two computers running Windows 10 or Windows 11 may have different editions, builds, languages, architectures, and servicing states. Manual copying can cause “Bad Image,” missing-entry-point, signing, or dependency errors. Whole-component servicing is safer.

Best Value
Thetis FIDO2 Security Key (USB-A, 2-Pack) - Hardware MFA & Passkey Access for Business, School ERP & Employee Accounts | Compatible with Windows, Google Workspace, Apple ID, Coinbase, Salesforce
  • FIDO2 & Passkey Ready: Business-ready and FIDO2 L1 certified. This key is supported by major management suites and is ideal for both individual and enterprise deployment. Works seamlessly with Gmail, Facebook, GitHub, Dropbox, Coinbase, and more.
  • Universal Connectivity (USB-A ): Features a built-in USB-A connector—simply unfold the key and plug it into your compatible PC or laptop for seamless authentication on the go.
  • Dedicated Manager App: Use the Thetis Manager App for the initial hardware PIN setup. Setting the PIN on the device first ensures a smooth registration process. Once the PIN is configured, you can begin registering the key across your favorite FIDO2-compatible online services.
  • Ultra-Durable & Portable: Featuring a rotating metal cover, this key is water, crush, and tamper-resistant. It fits easily on a keychain and requires no batteries or network connectivity.
  • Check FIDO2 compatibility before purchase - Known limitations: ID Austria is not supported (requires FIDO2 Level 2). Windows Hello login only works with Windows Enterprise editions that support Entra ID, and NFC is NOT supported.

Do not run regsvr32 as a general fix

regsvr32 authui.dll does not restore a missing Windows component. regsvr32 is for DLLs that expose registration functions such as DllRegisterServer; an authentication component may not provide that interface. It can simply produce an entry-point error.Microsoft regsvr32 documentation

Do not reinstall unrelated runtimes

Visual C++ Redistributable, DirectX, and .NET do not own this Windows authentication component. Reinstalling them is unlikely to repair authui.dll.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows Features also is not a repair source for this file. You can inspect Settings → System → Optional features → More Windows features, or run optionalfeatures.exe, but enabling random features will not replace a damaged authentication component.

Verification checklist

After repairing Windows:

  • Confirm that the original error no longer appears.
  • Test normal sign-in, lock/unlock, Ctrl+Alt+Delete, and a UAC prompt.
  • Check that the affected fingerprint, smart-card, or corporate credential provider still works.
  • Confirm that Windows Update completes without another rollback.
  • If the file exists, inspect its path and properties rather than comparing only its size or version with an online list.
  • If another DLL is named in the error, troubleshoot that file separately.
  • If the issue returns after a credential-provider installation, remove or update that package before attempting another manual file change.

FAQ

Is authui.dll a third-party application file?

No. It is part of Microsoft Windows and is used by the Windows Authentication UI and LogonUI.exe. An application can expose the error while Windows authentication components are damaged, but the file is not supplied by a game or ordinary app.

Should I install both 32-bit and 64-bit copies?

No. Do not install isolated copies. Windows services the correct architecture and build. On 64-bit Windows, native system files normally reside in System32, while compatibility components may use SysWOW64.

Why does the error appear when launching a program?

The dialog may be triggered while Windows displays a credential prompt, elevated permission request, or sign-in-related interface. It may also name authui.dll alongside another failed dependency. Record the full message before repairing anything.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can antivirus quarantine cause the problem?

Yes. Check Protection history, but restore only after confirming that the detection is false and the file is an authentic Microsoft-signed system component. Otherwise use a full scan and DISM/SFC.

What if DISM and SFC do not fix it?

Use Windows 11’s repair reinstall if available, then perform an in-place repair from matching official media. If malware or severe corruption is suspected, back up personal data and use a clean installation.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.