Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

mso97rt.dll Is Missing: Repair the Old Office App Safely

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

mso97rt.dll is a legacy 32-bit Microsoft Office/VBA runtime component, not a normal Windows system file. The safest fix is to identify the old application requesting it, then repair or reinstall that application’s original Access, Office, Visual Basic, or runtime component.

What this file actually does

mso97rt.dll belongs to the older Microsoft Office 97 and Visual Basic software family. It is most strongly associated with Microsoft Access 97 runtime mode and applications created with the Office 97 Developer Edition Tools. Some Visual Basic 5/6 installations and older Excel, Query, and VBA components may also require it.

As an Amazon Associate I earn from qualifying purchases.

It does not normally ship with Windows 10 or Windows 11. You should not treat it as a missing file from C:WindowsSystem32, and Windows Update is not expected to restore it.

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

A 32-bit legacy application may historically look for the file under:

#1 Best Overall
Sale
The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • ABIS BOOK
C:Program FilesCommon FilesMicrosoft SharedVBA

On 64-bit Windows, the equivalent location may be:

C:Program Files (x86)Common FilesMicrosoft SharedVBA

The installer decides the correct location. Do not copy the file into System32 or `SysWOW64 merely because a website recommends it.

Causes and symptoms

What you see Most likely cause Correct direction
Can't find the dynamic-link library (DLL) Mso97rt Access 97 was started with /runtime without its runtime component Check the shortcut and remove /runtime, or reinstall the original runtime
A required .DLL file, MSO97RT.DLL, was not found Visual Basic or an older Office component is damaged Repair or reinstall the original product
Unexpected Error; Quitting when starting Visual Basic Visual Basic 5/6 files are missing or incompatible Run the original Visual Basic setup again
Cannot execute MSQRY32.EXE Excel 7, Query, and Visual Basic components conflict Reinstall the affected legacy components in a compatible order
The error began after antivirus activity The file may have been quarantined Check quarantine before reinstalling
The error appears after replacing Office A shared legacy component was removed or overwritten Restore the original application’s installer
The error appears at every startup A stale shortcut, startup entry, or old application remains Find and remove or repair the program that launches

Microsoft’s historical Access documentation specifically connects Mso97rt.dll with Access 97 runtime mode and the Office 97 Developer Edition Tools. The exact message can state that the /runtime switch cannot be used unless those tools are installed.

Fix 1: Check the program and shortcut first

Before downloading or replacing anything, find which program is asking for the DLL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Write down the full error message and the application name shown in its title bar.
  2. If the error appears after clicking a shortcut, right-click that shortcut.
  3. Select Properties.
  4. On the Shortcut tab, inspect Target.
  5. Look for a switch named /runtime.
  6. Check whether the target points to Access 97 or an old custom Access application.
  7. Also check the Start in field for the application’s original installation folder.
  8. Select Cancel without changing anything unless this is clearly the Access 97 case described below.

If the message appears during startup rather than after opening a program, check these locations:

  • Settings > Apps > Startup
  • The Startup folder opened with Win + R, followed by shell:startup
  • Task Scheduler, under Task Scheduler Library
  • Shortcuts in the Start menu

Do not delete an entry until you know which application owns it. A missing DLL message at boot often comes from an old application that was partially uninstalled.

Fix 2: Correct the Access 97 /runtime shortcut

This is the most important specific fix for mso97rt.dll.

If full Microsoft Access 97 is installed but the shortcut unnecessarily starts it in runtime mode, remove the switch:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Right-click the Access shortcut.
  2. Select Properties.
  3. Select the Shortcut tab.
  4. Click inside Target.
  5. Remove /runtime from the end of the command.
  6. Leave the quotation marks around the executable path intact.
  7. Select Apply, then OK.
  8. Start Access from the edited shortcut.

For example, a target may contain an executable path followed by /runtime. Remove only that switch, not the path to the executable.

If Access opens normally afterward, the shortcut was wrong and the DLL was not necessarily missing from the full Access installation.

If the application genuinely needs runtime mode, do not remove the switch permanently. Reinstall the original Access runtime or the Office 97 Developer Edition Tools from legitimate installation media instead.

Fix 3: Repair the original Access or custom application

Custom Access applications created with the Office 97 Developer Edition Tools often deployed their own matching runtime files. A generic DLL downloaded from the internet is not a reliable substitute.

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

Use the application’s original setup media or installer:

  1. Close the affected program.
  2. Open Control Panel.
  3. Select Programs > Programs and Features.
  4. Select the old Access runtime, Office component, or custom application.
  5. Choose Change, Repair, or Modify, if available.
  6. Follow the setup wizard.
  7. Restart Windows if setup requests it.
  8. Test the original application again.

If no repair option exists, run the original Setup.exe from the installation disc or backed-up installer. Choose a reinstall or maintenance option when offered.

If the application was deployed by an employer or software vendor, ask for its original deployment package rather than sourcing an individual DLL. The installer may need to place several matching Office and VBA files together.

Fix 4: Repair Visual Basic 5 or Visual Basic 6

Microsoft’s archived troubleshooting guidance identifies MSO97RT.DLL among files that older Visual Basic installations may need. It also identifies the Visual Basic installation CD’s OSSystem directory as a historical source.

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

If the error began after installing or repairing Visual Basic:

  1. Insert the original Visual Basic installation disc, if available.
  2. Open the disc in File Explorer.
  3. Run the main setup program.
  4. Choose Repair, Reinstall, or the equivalent maintenance option.
  5. Allow setup to restore its supporting files.
  6. Restart Windows.
  7. Open Visual Basic again.

If setup reports that another Office or Visual Basic version is already installed, do not force files into the VBA directory manually. Multiple Office generations can share components and overwrite each other with incompatible versions.

For a damaged installation with no repair choice:

  1. Back up your Visual Basic projects and custom templates.
  2. Uninstall the affected Visual Basic product from Programs and Features.
  3. Restart Windows.
  4. Reinstall it from the original media.
  5. Apply only updates intended for that product.
  6. Test the application that originally reported the error.

Fix 5: Resolve an Office, Excel, or Query version conflict

Older Microsoft products could replace shared components when installed in a different order. Microsoft documented cases involving Excel 7, MS Query, Visual Basic 5, and MSO97RT.DLL.

If the problem started after installing Visual Basic, Excel, Office, or a Query component:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Note which legacy products are installed.
  2. Open Control Panel > Programs and Features.
  3. Record the entries before removing anything.
  4. Uninstall the component that was installed immediately before the error began.
  5. Restart Windows.
  6. Reinstall the affected product from its original media.
  7. Test Excel, Query, and the original application separately.

Do not assume that the newest-looking legacy component is compatible with every other installed Office product. If the software belongs to a business or line-of-business application, follow that application’s deployment instructions.

Fix 6: Check antivirus quarantine

Security software may quarantine an old DLL because legacy files can have unusual age, metadata, or behavior. A quarantine event is not proof that the file is safe to restore.

  1. Open your antivirus or Windows Security application.
  2. Open Protection history, Quarantine, or Detection history.
  3. Search for mso97rt.dll.
  4. Check the file path and the application that installed it.
  5. Restore it only when the path belongs to a known, legitimate installation and you trust the original installer.
  6. If you cannot verify the source, leave it quarantined.
  7. Reinstall the original Access, Office, Visual Basic, or application package instead.
  8. Run a full system scan.

After reinstalling, test the application before changing any security exclusions. Do not create a permanent exclusion for a DLL obtained from an unknown source.

Fix 7: Check the 32-bit installation path

mso97rt.dll is a legacy 32-bit component. A 32-bit application on 64-bit Windows needs its 32-bit dependencies, but that does not mean the file belongs in the Windows system directories.

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.

Check the application’s own installation folder and the shared VBA folders:

C:Program FilesCommon FilesMicrosoft SharedVBA
C:Program Files (x86)Common FilesMicrosoft SharedVBA

The correct folder depends on the installer and the application. If the file exists in one of these locations but the program still reports it as missing, the application may be using an incorrect shortcut, a broken installation path, or another missing dependency.

A 64-bit copy of this file is not the expected solution. Claims that an arbitrary 64-bit mso97rt.dll is interchangeable with the legacy 32-bit component should be treated skeptically.

Fix 8: Use SFC and DISM only for wider Windows corruption

System File Checker and DISM repair protected Windows components. They generally cannot recreate an Office 97 DLL that was never part of the Windows component store.

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

Use them when other Windows features are also failing:

  1. Open Start.
  2. Type Command Prompt.
  3. Right-click Command Prompt.
  4. Select Run as administrator.
  5. Run:
DISM.exe /Online /Cleanup-Image /RestoreHealth
  1. Wait for it to complete.
  2. Then run:
sfc /scannow
  1. Restart Windows.
  2. Test the affected application.

Microsoft documents this DISM-then-SFC sequence for repairing the Windows image and protected system files. If the commands report that Windows was repaired but mso97rt.dll is still missing, reinstall the legacy application. Repeating SFC will not create a file supplied by an old Office installer.

Manually checking Windows components and interpreting repeated repair output takes time, especially when the missing file is actually owned by an old application. Outbyte PC Repair can scan for problems and show what needs attention; its full version performs the repair, but reinstalling the original program remains the definitive fix for an application-specific DLL.

Fix 9: Update drivers only when the application also has hardware errors

A graphics, printer, database, or peripheral driver does not normally supply mso97rt.dll. Driver work is therefore a secondary step, appropriate only when the old application also fails while accessing a device or Windows reports separate driver problems.

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

To check manually:

  1. Right-click Start.
  2. Select Device Manager.
  3. Expand the relevant category, such as Display adapters, Printers, or Sound, video and game controllers.
  4. Right-click the affected device.
  5. Select Update driver.
  6. Choose Search automatically for drivers.
  7. Restart Windows if a driver is installed.
  8. Test the application again.

Do not expect a driver update to restore an Office or Visual Basic runtime file. Outbyte Driver Updater can scan for outdated drivers and identify which versions need attention; the full version performs the installation, while the original application’s installer remains the correct source for mso97rt.dll.

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

Why downloading the DLL separately is unsafe

Avoid DLL download repositories and copied files from forums, file-sharing pages, or another computer. A replacement may have the wrong version, wrong architecture, altered contents, or missing dependencies. It may also leave the underlying broken installation unchanged.

There is no current Microsoft redistributable specifically named mso97rt.dll. The safe sources are:

  • The original Access runtime installer
  • Office 97 Developer Edition Tools media
  • The original Visual Basic 5/6 media
  • The installer for the custom Access application
  • A trusted backup of that application’s complete installation package

Microsoft’s current Microsoft 365 Access Runtime is a different product. Installing it is not a guaranteed replacement for the Office 97 component.

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

Does regsvr32 fix mso97rt.dll?

Usually not. regsvr32 is intended for DLLs that provide registration entry points such as DllRegisterServer; it is not a general missing-DLL repair command.

Running:

regsvr32 mso97rt.dll

may produce an error stating that the module loaded but the DllRegisterServer entry point was not found. That message does not necessarily mean the file is corrupt. It usually means registration is not the appropriate operation.

Microsoft documents the command’s purpose and syntax in its regsvr32 reference. Reinstall the owning application instead.

Frequently asked questions

Is mso97rt.dll part of Windows 11 or Windows 10?

No. It is a legacy 32-bit Microsoft Office/VBA runtime component and is not a standard Windows system file.

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.

Is it only used by Access?

No. Access 97 runtime mode is the clearest documented association, but older Office components and Visual Basic 5/6 may also require it.

Can I copy it into System32?

Do not. The correct location is determined by the original installer, and a 32-bit application does not become repaired by placing a random DLL in a Windows system folder.

Should I install the current Access Runtime?

Not as a direct replacement. The current Access Runtime is a different product intended for current supported Office releases.

What if the file exists but the error remains?

Inspect the shortcut for /runtime, confirm that the application is using the correct installation, and repair the complete product. Another dependency may be missing even though the visible error names mso97rt.dll.

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

What if the original media is unavailable?

Look for a legitimate backup, the application’s original deployment package, or the software vendor’s support channel. If the old application is no longer needed, remove its stale startup entry instead of downloading the DLL.

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
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver 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.