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

lonsint.dll Not Found: Safe IIS Repairs for Windows 11 and 10

Length13 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

lonsint.dll is a Microsoft Internet Information Services (IIS) component, not a general-purpose Windows runtime or gaming DLL. If Windows says lonsint.dll is missing, was not found, or could not be loaded, repair the IIS or Windows installation that owns it instead of downloading a loose copy.

The file is historically described as “IIS NT specific library” and was associated mainly with IIS 5.x and IIS 6.0 on Windows 2000, Windows XP, and Windows Server 2003-era systems. Its expected historical location is:

As an Amazon Associate I earn from qualifying purchases.

%windir%System32inetsrvlonsint.dll

Current Windows 10, Windows 11, and modern Windows Server installations may not include this exact legacy file. Installing modern IIS solely to obtain lonsint.dll is not automatically the right repair. First identify which program or service is requesting it.

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

Before repairing anything

Do not download lonsint.dll from a random DLL website and copy it into System32, SysWOW64, or an application folder. That approach can introduce malware, use the wrong Windows build, create a 32-bit and 64-bit mismatch, or leave the actual IIS installation damaged.

#1 Best Overall
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)

The safe sources are:

  • The Windows component store and Windows Update
  • Matching Windows installation media
  • The IIS role installed through Windows
  • The original application installer, if a legitimate application owns the dependency
  • A known-good backup or System Restore point

Before changing IIS on a production server, back up the IIS configuration, website files, certificates, application data, and any database connected to the sites.

Fix 1: Identify the program requesting lonsint.dll

Time needed: 5 to 15 minutes

A missing-DLL message does not always mean that the named file itself is absent. “The specified module could not be found” can also mean that Windows found lonsint.dll but could not load one of its dependencies.

Start by recording exactly when the message appears:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • When Windows starts
  • When IIS starts
  • When a website or application pool starts
  • When opening a legacy desktop application
  • When launching an installer
  • When opening a shortcut or scheduled task

If the message names a program, repair that program only after confirming that it legitimately depends on an IIS-era component. A stale shortcut, old installer, badly packaged application, or malware can request a file that the current operating system never provided.

Check the Windows event logs

  1. Press Win + X.
  2. Select Event Viewer.
  3. Expand Windows Logs.
  4. Open Application and System.
  5. Look for an error recorded at the same time as the lonsint.dll message.
  6. Also check Applications and Services Logs for entries from IIS, WAS, or the affected application.

Record the executable name, service name, application pool, and full path shown in the event. That information determines whether the correct repair is IIS, Windows, or a separate application.

Check whether the file exists

  1. Open File Explorer.
  2. Enter this path in the address bar:
C:WindowsSystem32inetsrv
  1. Look for lonsint.dll.

On a different Windows installation directory, replace C:Windows with the correct %windir% path. Do not copy the file from another computer merely because it has the same filename.

If the file is present in the expected IIS directory but the error remains, the problem may be a missing dependency, an incompatible build, damaged system files, or an application using the wrong architecture.

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

Fix 2: Repair or reinstall the IIS role

Time needed: 10 to 30 minutes, plus a restart if Windows requests one

Use this fix when the error occurs on a machine that actually runs IIS or when IIS was recently removed, upgraded, cleaned up, or damaged.

On supported modern Windows Server versions, Microsoft calls the role Web Server (IIS). The current IIS role should not be treated as a guaranteed way to recreate an IIS 5 or IIS 6-era lonsint.dll, but repairing the role is appropriate when the server is supposed to run its supported IIS installation.

Rank #2
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds
  • High-speed USB 3.0 performance of up to 150MB/s(1) [(1) Write to drive up to 15x faster than standard USB 2.0 drives (4MB/s); varies by drive capacity. Up to 150MB/s read speed. USB 3.0 port required. Based on internal testing; performance may be lower depending on host device, usage conditions, and other factors; 1MB=1,000,000 bytes]
  • Transfer a full-length movie in less than 30 seconds(2) [(2) Based on 1.2GB MPEG-4 video transfer with USB 3.0 host device. Results may vary based on host device, file attributes and other factors]
  • Transfer to drive up to 15 times faster than standard USB 2.0 drives(1)
  • Sleek, durable metal casing
  • Easy-to-use password protection for your private files(3) [(3)Password protection uses 128-bit AES encryption and is supported by Windows 7, Windows 8, Windows 10, and Mac OS X v10.9 plus; Software download required for Mac, visit the SanDisk SecureAccess support page]

Repair IIS through Server Manager

  1. Sign in with an administrator account.
  2. Open Server Manager.
  3. Select Manage in the upper-right corner.
  4. Choose Add Roles and Features.
  5. Select Role-based or feature-based installation.
  6. Choose the affected server.
  7. Select Web Server (IIS).
  8. Keep the required role services selected unless you have a documented reason to change them.
  9. Continue through the wizard.
  10. Select Install.
  11. Restart the server if prompted.
  12. Test the affected website, service, or application pool.

You can also use Microsoft’s documented IIS installation procedure.

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.

Install the current IIS role with PowerShell

Open Windows PowerShell as administrator and run:

Install-WindowsFeature Web-Server -IncludeManagementTools

Restart if requested, then test IIS:

  1. Open Server Manager.
  2. Select Tools.
  3. Open IIS Manager.
  4. Expand the server.
  5. Check Sites and Application Pools.
  6. Start the affected site or pool if it is stopped.
  7. Open the site locally or from a test client.

If the command completes successfully but the same legacy error remains, do not repeatedly reinstall modern IIS. The requesting program may be obsolete, the original IIS version may not be supported on that operating system, or the error may concern a missing dependency rather than IIS itself.

Fix 3: Repair Windows component files with DISM and SFC

Time needed: 15 to 45 minutes

Use Windows’ built-in repair tools when the problem began after an interrupted update, failed upgrade, disk cleanup, unexpected shutdown, or suspected component corruption.

These commands repair the Windows image and protected system files. They do not guarantee restoration of a legacy IIS file that is not part of the installed Windows image.

Run DISM first

  1. Press Start.
  2. Type Command Prompt.
  3. Right-click Command Prompt.
  4. Select Run as administrator.
  5. Approve the User Account Control prompt.
  6. Run:
DISM /Online /Cleanup-Image /RestoreHealth
  1. Wait for the operation to finish.
  2. Restart Windows if DISM requests it.

Do not close the window merely because progress appears to pause. DISM may take time while it checks and repairs the component store.

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

Run System File Checker

After DISM completes, open an elevated Command Prompt again and run:

sfc /scannow

Wait until verification reaches 100 percent. Then restart the computer and repeat the action that produced the error.

Possible results include:

  • Windows Resource Protection did not find any integrity violations: protected Windows files were not found to be corrupt.
  • Windows Resource Protection found corrupt files and successfully repaired them: restart and test again.
  • Windows Resource Protection found corrupt files but was unable to fix some of them: run DISM again, check the CBS log, and consider using matching installation media.
  • The requested operation could not be performed: restart into a normal administrative session and run the command again.

Microsoft documents DISM image repair and System File Checker.

If DISM cannot obtain repair files from Windows Update, use a matching Windows installation source and follow Microsoft’s guidance for repairing component corruption when Windows Update cannot provide the files. The source must match the installed Windows edition and build closely enough for the repair process.

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

Repeating SFC and DISM without checking what changed can be tedious, especially when the missing file belongs to an older IIS installation rather than the current Windows image. Outbyte PC Repair offers a free scan that shows repair issues, while repairs are performed by the full version; it is optional, and it does not replace repairing or reinstalling the correct IIS component.

Fix 4: Check Windows Security quarantine

Time needed: 5 to 15 minutes

Antivirus software can remove a damaged, modified, or suspicious file. It can also quarantine a legitimate file after a detection that needs investigation.

Rank #3
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
  • MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE
  1. Open Start.
  2. Search for Windows Security.
  3. Open it.
  4. Select Virus & threat protection.
  5. Choose Protection history.
  6. Review entries recorded when the error began.
  7. Expand any entry associated with lonsint.dll.
  8. Check the reported path and detection details.

Only consider restoring the file if all of the following are true:

  • The file is in the expected IIS directory.
  • Its publisher and digital signature are valid.
  • The installed IIS or application genuinely requires it.
  • The detection has been investigated rather than dismissed because the filename looks familiar.

If Defender quarantined the file and identifies it as a threat, leave it quarantined until its provenance is confirmed. Microsoft explains the available actions in its guide to Protection history in Windows Security.

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

If the file is restored and immediately quarantined again, do not create an exclusion as a first response. Verify the signature, hash, path, installer source, and surrounding IIS files. A Microsoft-sounding filename outside the expected directory deserves particular caution.

Fix 5: Restore IIS from matching installation media

Time needed: 30 minutes to several hours

Use this path for an old Windows Server installation where IIS was part of the original operating-system setup and DISM, SFC, or role repair cannot restore the component.

The replacement must come from the same Windows and IIS generation. Do not mix files from Windows XP, Windows Server 2003, modern Windows Server, or another machine simply because the filename matches.

Before proceeding:

  1. Back up the server.
  2. Export or document IIS configuration.
  3. Back up website content and certificates.
  4. Record application pool identities and settings.
  5. Confirm that you have the correct installation media.
  6. Schedule downtime if the server is in production.

Use the original operating system’s component-management interface or installation media to repair IIS. On unsupported legacy systems, the available repair steps depend on that Windows release and its installation source. If the server cannot be repaired safely, restoring the complete machine from a known-good backup is generally safer than assembling individual DLLs.

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.

A file copied manually may have the wrong version, dependencies, permissions, architecture, or servicing state even if it appears to fix the first error.

Fix 6: Repair the application that requests the file

Time needed: 10 to 45 minutes

If the error appears when launching a desktop program, installer, or legacy business application rather than IIS, identify that program before changing Windows.

  1. Right-click the program’s shortcut.
  2. Select Properties.
  3. Check the Target field.
  4. Note the executable path.
  5. Check Task Manager if the program starts briefly and then closes.
  6. Review Event Viewer for the executable name.
  7. Use the program’s own installer or Apps settings to repair or reinstall it.

On Windows 11:

  1. Open Settings.
  2. Select Apps.
  3. Choose Installed apps.
  4. Select the program’s three-dot menu.
  5. Choose Advanced options if available.
  6. Select Repair, or use the program’s installer.

On Windows 10:

  1. Open Settings.
  2. Select Apps.
  3. Choose Apps & features.
  4. Select the program.
  5. Choose Advanced options or Modify, if available.
  6. Select Repair when offered.

If the application genuinely bundles an IIS-era component, its official installer is safer than a loose DLL. If it is an obsolete program that merely searches for lonsint.dll, installing current IIS may not make it compatible.

Do not install Visual C++, DirectX, or .NET solely because a website recommends them for this file. There is no verified association between lonsint.dll and those runtimes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
JOIOT 128GB USB C Flash Drive Dual USB 3.0 Flash Drive Type C + USB A Portable Type-C Flash Drive 2-in-1 USB-C Thumb Drive for Smartphone Tablet Computer Mac iPhone 15 Black
  • [Dual Flash Drive] This 2-in-1 USB flash drive is designed with a Type-C plug and a USB-A plug at each end, working across all your Type-C Android phones, iPhone 15/15 Pro/15 Pro Max, iPhone 16/16Pro/16E, tablets, iPad Pro, Macs and USB-A computers, game consoles, car audios, and more (Not for Lightning iPhone/iPad).
  • [Fast Speed] Optimizing the USB 3.0 technology, this USB-C flash drive fast transfers and backs up your high-res photos, videos, music, and heavy files at a read speed of up to 130MB/s and a write speed of up to 35MB/s, 10X faster than USB 2.0 flash drives.
  • [Wide Use] This Type-C flash drive supports Windows, Android, Linux, and Mac OS, and is backward compatible with USB 2.0 ports. Plug and play, no need to install any software, working seamlessly with USB-C and USB-A devices.
  • [Durable and Reliable] This dual USB 3.0 flash drive adopts superb memory chips thus ensuring extremely reliable performance, plus the premium plastic enclosure offers excellent heat dissipation. The cap protects the connectors from dust and damage, providing extended durability and security.
  • [Compact and Portable] Constructed in a mini size of 63.5x17.8x8.4mm/2.5x0.7x0.3inch, this slim USB-C thumb drive can fit into your pocket, letting you enjoy the instant large capacity at any time.

Fix 7: Check architecture and file provenance

Time needed: 10 to 20 minutes

Historical evidence indicates that lonsint.dll was an older 32-bit Win32 component, but public historical listings show different builds. Do not choose a replacement based only on a version number, file size, or a claim that every copy has the same architecture.

Check the file that is actually being loaded:

  1. Right-click the file.
  2. Select Properties.
  3. Open the Digital Signatures tab, if present.
  4. Select the signature.
  5. Choose Details.
  6. Confirm that Windows reports a valid signature.
  7. Open the Details tab.
  8. Review the description, company, and product information.

The expected historical directory is:

%windir%System32inetsrv

Do not move the file between System32, SysWOW64, and an application folder to experiment. On 64-bit Windows, those directories have specific roles, and placing a legacy DLL in the wrong location can create a different loader failure.

A valid signature alone is not enough. Confirm that the path, requesting program, IIS role, Windows build, and architecture all make sense together.

Fix 8: Update drivers only when the evidence points there

Time needed: 15 to 30 minutes

A graphics, chipset, storage, or device-driver update is not a normal fix for an IIS library error. Use Device Manager only if the Event Viewer error identifies a device, the failure began after a driver change, or the application requesting lonsint.dll is tightly coupled to a device service.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Press Win + X.
  2. Select Device Manager.
  3. Expand the category for the suspected device.
  4. Right-click the device.
  5. Select Properties.
  6. Open the Driver tab.
  7. Note the provider, date, and version.
  8. Use Update Driver only with a driver from the device manufacturer or Windows Update.
  9. Restart Windows.
  10. Test the application again.

Do not replace a Microsoft IIS DLL with a driver package. If no device-related evidence exists, skip this fix.

Manually checking dozens of device versions is unnecessary when the error is unrelated to hardware. Outbyte Driver Updater offers a free scan that identifies driver issues, while driver installation is handled by the full version; it is optional and is not a substitute for repairing IIS when IIS is the cause.

Fix 9: Use System Restore after a known recent change

Time needed: 20 to 60 minutes

System Restore is useful when the error began immediately after uninstalling IIS, installing cleanup software, changing security software, or completing an upgrade, and a suitable restore point exists.

  1. Press Win + R.
  2. Type:
rstrui.exe
  1. Press Enter.
  2. Select Next.
  3. Choose a restore point created before the error began.
  4. Select Scan for affected programs if available.
  5. Review the changes.
  6. Select Next, then Finish.
  7. Allow Windows to restart.

System Restore rolls back monitored system files and settings. It is not a replacement for a full backup and may not restore website content, databases, certificates, or every application change. Microsoft provides additional System Restore guidance.

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

If the server is business-critical, use the organization’s recovery process rather than experimenting with multiple restore attempts.

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

Why these errors happen

The most likely causes are:

Cause What it usually means Appropriate response
Damaged legacy IIS installation IIS files were removed or corrupted Repair IIS from the matching Windows source
Windows component corruption An update, upgrade, or disk problem damaged protected files Run DISM, then SFC
Antivirus quarantine Security software removed or isolated the file Verify path and signature before restoring
Incomplete uninstall or upgrade IIS registration or files no longer match the system Repair the role and check Event Viewer
Missing dependency The named DLL exists but another required module does not Inspect the complete loader error
Wrong replacement A copied file does not match the build or architecture Remove it and restore from the correct source
Obsolete application A program expects an IIS-era file not provided by current Windows Repair, replace, or retire that application

What common messages mean

You may see wording such as:

  • “The program can’t start because lonsint.dll is missing from your computer.”
  • “There was a problem starting lonsint.dll.”
  • “The specified module could not be found.”
  • “The code execution cannot proceed because lonsint.dll was not found.”
  • “lonsint.dll is either not designed to run on Windows or it contains an error.”

The exact wording varies by Windows version and by the application or service making the request. “The specified module could not be found” can refer to a dependency, so checking only whether the named file exists is insufficient.

A “not designed to run on Windows” or bad-image message usually points toward a mismatched, damaged, or incompatible file. Restore the correct build instead of registering or replacing it randomly.

Best Value
128GB Flash Drive Aiibe USB Flash Drive 128 GB Thumb Drive USB 2.0 Memory Stick Zip Drive Backup Jump Drive Single 128GB 128G USB Drive for PC Laptop
  • Large Data Storage Capacity: Flash Drive with 128GB capacity, meet your needs of daily use on work, school, home and travelling for photos, music, videos, files storage and transfer
  • Easy to use: The thumb drive is plug and play without any software installation; Supports Windows 7/8/10 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, also compatible with USB 2.0 and 1.1 ports; Storage is fast, safe and stable
  • Wide Compatibility: USB flash drive support TV, desktop, notebook computer, car, audio and other device; It is your great data storage and transfer companion with traveling and working
  • Retractable Desgin: The usb drive's retractable design can effectively protect the USB interface; The capless design can avoid losing of cap; Weight: 7g, Size: 2.6 × 0.8 × 0.4 inch. Portable to take your digital world anywhere
  • What You Get: 1 x 128GB USB Flash Drive Thumb Drive, All of usb drives have been rigorously tested and formatted before leaving the factory; The default format of the USB stick is exFAT

Does regsvr32 fix lonsint.dll?

Usually, no.

regsvr32 is intended for DLLs that expose COM registration functions such as DllRegisterServer. It is not a universal command for repairing every missing or unloaded DLL.

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

Do not use this as a routine repair:

regsvr32 lonsint.dll

There is no reliable public evidence that lonsint.dll is a self-registering COM component. If regsvr32 reports that DllRegisterServer was not found, that does not prove the file is damaged. Microsoft explains the command’s purpose and limitations in its Regsvr32 documentation.

When to consider full server recovery

Escalate to a full recovery plan when:

  • IIS repair changes production behavior.
  • The server runs an unsupported Windows release.
  • The file has been altered in several directories.
  • DISM and SFC cannot complete.
  • Event Viewer shows widespread component or disk errors.
  • The server has no trustworthy installation media.
  • Malware may have modified system files.
  • A known-good backup exists.

A legacy server reporting a missing IIS library may be showing broader damage or an unsupported software stack, not merely one missing file. Restore the complete server from a verified backup when that is safer than mixing individual files from different Windows generations.

FAQ

Is lonsint.dll a genuine Windows file?

It is a genuine Microsoft DLL historically associated with IIS and described as “IIS NT specific library.” It is not safe to assume that every file with this name is genuine, particularly if it is outside the expected IIS directory.

Is lonsint.dll part of IIS or Windows?

It is associated with Internet Information Services, which is a Windows server component. Historical evidence ties this exact file mainly to older IIS and Windows generations. Current Windows 10 and Windows 11 installations should not automatically be expected to contain it.

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

Should I download lonsint.dll?

No. A loose download may contain malware or the wrong build and may not include required dependencies. Repair IIS, Windows, or the application that legitimately requires the file.

Will installing IIS on Windows 11 restore it?

Not necessarily. Current IIS is not guaranteed to include this legacy file. Identify the requesting application and confirm whether it is compatible with the current operating system before installing IIS.

Should I run regsvr32?

Usually not. regsvr32 applies to self-registering COM DLLs, not every DLL that Windows cannot load.

What if the file exists but Windows still reports it as missing?

Check the full Event Viewer message, digital signature, path, version information, architecture, and dependencies. The loader may be unable to find a required module even though lonsint.dll itself is present.

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

Could Windows Defender have removed it?

Yes, particularly after a detection or cleanup event. Review Protection history, but restore the file only after confirming its provenance and expected IIS path.

Is this a Visual C++, DirectX, or .NET problem?

There is no verified evidence that lonsint.dll belongs to those runtimes. Focus on IIS, Windows component repair, the originating application, and dependency diagnostics.

Quick Recap

SaleBestseller No. 1
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
Bestseller No. 2
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds
Transfer to drive up to 15 times faster than standard USB 2.0 drives(1); Sleek, durable metal casing
$25.01
Bestseller No. 3
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE

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 Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
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.