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 DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
VGSources
Blog

cmax20.dll Missing: Trace the App Before Repairing Windows

Length11 min Posted Quest giverVGSources Team

“cmax20.dll was not found”

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

If cmax20.dll is missing, Windows may display messages such as “The file cmax20.dll is missing,” “Cannot find cmax20.dll,” or “Error loading cmax20.dll. The specified module could not be found.”

Do not start by downloading the file. cmax20.dll is associated with the CodeMax code-editor control, and Microsoft Visio 2010 also shipped copies of it. Other older programs, developer tools, utilities, and OpenSTA may use the same library. The correct repair is to restore the application that installed it.

Which fix applies to you

Use this list before changing anything:

  • The error names Visio or an Office installation: repair Visio or Office first.
  • The error names another program: repair or reinstall that specific program using its original installer or official vendor source.
  • The application was recently updated, removed, or cleaned up: reinstall it rather than copying a DLL into System32.
  • Windows Security shows the file in quarantine: verify the original path and application before restoring anything.
  • The error says “The specified module could not be found”: cmax20.dll itself may be present while one of its dependencies is missing.
  • The program is 32-bit or 64-bit: install the matching version of the parent application. Do not mix files between architectures.
  • The application was uninstalled but Windows still shows the error at startup: remove the obsolete startup or scheduled-task entry after confirming which program created it.
  • Windows has other system problems: run DISM and SFC, but do not expect them to restore a Visio-installed DLL.
  • The problem began after malware or an unexplained security event: scan the system before restoring or reinstalling the file.

What cmax20.dll is

The filename refers to a CodeMax component, not a normal Windows operating-system library. A CodeMax license notice distinguishes CMAX20.DLL from the related CMAX20.OCX, which is an ActiveX control. The DLL may be kept in the application’s own installation folder rather than in C:WindowsSystem32.

Visio included cmax20.dll among its installed files. Microsoft’s Visio 2010 update documentation lists separate x86 and x64 copies, and later Visio updates continued replacing the file. That confirms the file can be part of Visio, but it does not prove that every copy belongs to Visio.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
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)

Some file indexes describe the internal name as Microsoft Code Editor Control and list 2.1.0.15 builds. Treat that as file metadata, not as a universal version requirement. The version needed on your computer depends on the application that is loading it.

Fix 1: Repair the application named in the error

This is the safest and most likely solution.

Repair Visio or Office

The exact menus vary slightly between Windows 10, Windows 11, Microsoft 365, and older MSI-based installations.

  1. Save your work and close Visio and other Office programs.
  2. Open Settings.
  3. Select Apps.
  4. On Windows 11, choose Installed apps. On Windows 10, choose Apps & features.
  5. Find Microsoft 365, Microsoft Office, or Microsoft Visio.
  6. Select the three-dot menu, or select the program and choose Modify.
  7. If prompted by User Account Control, select Yes.
  8. Choose Quick Repair and select Repair.
  9. Restart Windows.
  10. Open Visio and repeat the action that produced the error.

If Quick Repair does not work, repeat the process and choose Online Repair. Online Repair can replace more of the Office installation and may require you to sign in or wait while the package is downloaded.

For an older MSI installation:

  1. Open Control Panel.
  2. Select Programs and then Programs and Features.
  3. Select the Visio or Office entry.
  4. Choose Change.
  5. Select Repair, then Continue.
  6. Restart Windows when the repair finishes.

Microsoft’s Office application repair instructions describe these repair paths.

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

How to tell it worked: Visio opens without the cmax20.dll message, and the affected document or feature loads normally. Check the application’s installation folder if you need to confirm that the file was restored. Do not move it elsewhere.

If repair fails, uninstall and reinstall Visio from the original Microsoft account, organization software portal, or installation media. For Visio 2010, use the correct x86 or x64 package. Microsoft also provides Visio 2010 Service Pack 2 information, including separate architecture packages.

Repair another application

If the message appears while opening an old utility, developer tool, emulator, or OpenSTA, Visio repair will not help.

  1. Write down the exact program name and the full path shown in the error, if one is provided.
  2. Open Settings → Apps → Installed apps.
  3. Select the affected program.
  4. Choose Advanced options, if available.
  5. Select Repair or Reset when offered. Try Repair first.
  6. If those options are unavailable, uninstall the program.
  7. Restart Windows.
  8. Reinstall it using the original installer or the software vendor’s official download.
  9. Launch the program again.

If the program came from a game launcher, use that launcher’s Verify, Repair, or equivalent feature. That applies only when the launcher owns the affected installation. It is not a general cmax20.dll repair method.

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.
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]

How to tell it worked: the program launches from its normal shortcut and no longer reports cmax20.dll. If the error returns immediately after reinstalling, record the exact installation path and continue with the architecture and dependency checks below.

Fix 2: Check Windows Security quarantine

Antivirus software can remove or quarantine an application file. A quarantine event does not automatically prove that the file was malicious, and it does not prove that restoring it is safe.

  1. Open Windows Security from the Start menu.
  2. Select Virus & threat protection.
  3. Select Protection history.
  4. Review recent detections.
  5. Open the entry that shows the original path.
  6. Check whether that path belongs to Visio or to the program you intended to install.
  7. Confirm that the application came from Microsoft, the software vendor, or trusted installation media.
  8. If the source and publisher are verified, follow the available restore or allow option.
  9. Run the application again.

Microsoft explains this process in its Protection History guidance.

Do not restore a copy from an unknown archive just because its filename matches. If Windows Security detects the file again, stop restoring it. Repair or reinstall the parent application from a trusted source, then run a full scan. If malware may have deleted the file, use Microsoft Defender Offline before reinstalling the application. Microsoft’s malware troubleshooting guidance explains the available scanning options.

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

Fix 3: Confirm the file path, version, and architecture

A file can exist and still be unusable. The copy may be for the wrong application version, wrong architecture, corrupted, unsigned, or replaced by an unsafe file.

Find the application that is loading it

Use the error dialog first. Look for:

  • The program name in the window title
  • The executable mentioned in the message
  • The folder path displayed in the error
  • Whether the error appears at startup, when opening a document, or during uninstall

You can also inspect shortcuts:

  1. Right-click the program’s shortcut.
  2. Select Properties.
  3. Check the Target field.
  4. Note the folder containing the executable.
  5. Look in that folder for cmax20.dll.

Do not assume that a copy in System32 is the correct copy. An application may require a private copy beside its own executable.

Check whether the application is 32-bit or 64-bit

A 32-bit program generally requires compatible 32-bit dependencies. A 64-bit program generally requires compatible 64-bit dependencies. Installing a 64-bit DLL beside a 32-bit executable, or the reverse, will not solve the loading problem.

Check the application’s documentation or About screen for its architecture. If the error concerns Visio, repair or reinstall the same x86 or x64 Office family already installed. Do not copy a file from a different Visio generation or from another computer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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

If a repaired installation still fails:

  1. Open Settings → Apps → Installed apps.
  2. Confirm whether multiple Office or Visio installations are present.
  3. Remove the obsolete or damaged installation only after confirming which one you use.
  4. Restart Windows.
  5. Install the matching architecture from the original source.

Fix 4: Check for a missing dependency

The message “The specified module could not be found” is ambiguous. It can mean that cmax20.dll is missing, but it can also mean that Windows found cmax20.dll and could not load a dependency required by it.

Do not install random runtime files based only on that sentence. First repair the parent application. Then check:

  1. Does cmax20.dll exist in the application’s installation folder?
  2. Does the error identify a different missing file?
  3. Does the program have separate x86 and x64 installers?
  4. Did the problem begin after an update or partial uninstall?
  5. Does Event Viewer record an application error at the same time?

To open the relevant logs:

  1. Right-click Start.
  2. Select Event Viewer.
  3. Expand Windows Logs.
  4. Select Application.
  5. Look for an error recorded when the program failed.
  6. Note the application name, faulting module, and path.

Use those details when contacting the application vendor. If the parent application uses a separately documented runtime, obtain that runtime only from the application vendor or Microsoft. A generic Visual C++ installation is not guaranteed to restore cmax20.dll.

Fix 5: Run DISM and SFC when Windows itself is damaged

DISM and SFC repair protected Windows components. They are useful when Windows has broader corruption, but they normally will not restore a DLL installed by Visio or another third-party application.

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

Open an elevated Command Prompt:

  1. Open the Start menu.
  2. Type Command Prompt.
  3. Right-click Command Prompt.
  4. Select Run as administrator.
  5. Select Yes at the permission prompt.
  6. Run:
DISM.exe /Online /Cleanup-Image /RestoreHealth

Wait for it to finish. Then run:

sfc /scannow

Restart Windows after both commands complete. Microsoft documents these commands in its DISM and SFC troubleshooting guidance.

How to tell it helped: SFC reports that it found and repaired corrupt system files, and other Windows functions that were failing begin working. If the cmax20.dll error remains but Windows otherwise works normally, repair the parent application instead.

Running the same commands repeatedly without recording the result rarely advances the repair. Note whether DISM completed successfully and whether SFC reported corruption, then use that information when troubleshooting the application.

Outbyte PC Repair can reduce the manual work of hunting through repair results and repeating SFC or DISM without knowing what changed; its free scan shows detected issues, while repair requires the full version. It is not a replacement for reinstalling Visio or the specific application that owns cmax20.dll.

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

Fix 6: Update or reinstall drivers only when the evidence points there

A display, printer, scanner, or other driver is not the normal owner of cmax20.dll. Consider a driver update only if the error began alongside a device failure, the application is hardware-related, or Event Viewer identifies a driver problem.

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.

For a standard Windows driver check:

  1. Right-click Start.
  2. Select Device Manager.
  3. Expand the category for the affected device.
  4. Right-click the device.
  5. Select Update driver.
  6. Choose Search automatically for drivers.
  7. Restart Windows if prompted.
  8. Test the application again.

For a clean reinstall:

  1. In Device Manager, right-click the affected device.
  2. Select Uninstall device.
  3. Choose the option to remove the driver package only if you have a verified replacement available.
  4. Select Uninstall.
  5. Restart Windows.
  6. Install the driver from the computer or device manufacturer.

Outbyte Driver Updater can help identify stale drivers when manually checking dozens of device entries is impractical; its free scan shows what it finds, while driver installation through the full version is optional. A driver update will not replace the parent application when Visio or another program is the actual owner of cmax20.dll.

Fix 7: Remove a leftover startup error after uninstalling the app

If the application has already been removed but Windows still reports cmax20.dll during startup, the error may come from a leftover startup entry or scheduled task.

First identify the entry:

  1. Open Settings → Apps → Startup.
  2. Turn off only the entry that clearly belongs to the removed application.
  3. Restart Windows.
  4. Confirm that the cmax20.dll message is gone.

You can also check Task Manager:

  1. Press Ctrl + Shift + Esc.
  2. Select Startup apps.
  3. Look for the removed program.
  4. Right-click it and select Disable.

Do not delete random registry values merely because they mention cmax20.dll. If the entry is unclear, leave it in place and use the application’s official uninstaller or contact support. If the old program is still needed, reinstall it instead of suppressing its startup component.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why regsvr32 usually does not apply

regsvr32 is not a universal DLL repair command. It is intended for DLLs or ActiveX controls that provide the registration entry point required by the command.

Microsoft documents its syntax and purpose in the Regsvr32 documentation. There is no verified reason to routinely register Visio’s cmax20.dll.

The related CMAX20.OCX is a separate ActiveX control. If a legacy application specifically reports that its OCX is not registered, follow that application’s documentation and confirm the correct architecture before using regsvr32. Registering the wrong file can produce another error without restoring the missing application installation.

Do not download cmax20.dll separately

Random DLL download pages are a common source of wrong fixes. A downloaded file may be:

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.
  • The wrong version
  • The wrong 32-bit or 64-bit architecture
  • Built for a different application
  • Corrupted or unsigned
  • Modified to contain malware
  • Missing the dependencies your program actually needs

Copying it into C:WindowsSystem32, C:WindowsSysWOW64, or an application folder can also hide the real problem and make later repair more difficult.

Use the original Visio or Office installer, Microsoft account, organization software portal, application vendor, or trusted installation media. Let the parent application place its files in the correct location.

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

When System Restore is appropriate

System Restore is a fallback, not the first repair for a missing application DLL. Consider it when:

  • The error began recently
  • A suitable restore point exists
  • Repair and reinstall have failed
  • You understand that recently installed applications or drivers may be affected

To check:

  1. Open Start and search for Create a restore point.
  2. Open it.
  3. Select System Restore.
  4. Review the available restore points.
  5. Choose one created before the error began.
  6. Confirm the affected programs before proceeding.

A restore point may not contain the correct application files, so reinstalling the parent application can still be necessary afterward.

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

Prevention and support details

Keep installers or official download access for older software you still use. Avoid removing application folders manually, and review antivirus detections before restoring files. When cleaning a disk, leave installed application directories intact.

If you need support, include:

  • The exact error text
  • The affected program
  • The full path shown in the error
  • Your Windows version
  • Whether Windows is 32-bit or 64-bit
  • Whether the application is 32-bit or 64-bit
  • Whether cmax20.dll was quarantined
  • What happened immediately before the failure
  • The results of the application repair, DISM, and SFC steps

FAQ

Is cmax20.dll a Windows system file?

No verified evidence establishes it as a normal Windows System32 or SysWOW64 component. It is associated with CodeMax-based software and was included with Microsoft Visio.

Does every cmax20.dll error mean Visio is damaged?

No. Visio is one confirmed application that shipped the file, but other older applications may use CodeMax. Identify the program producing the error before repairing anything.

Will Windows Update restore cmax20.dll?

Do not rely on Windows Update to restore it. Repair or reinstall the application that owns the file.

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

Should I copy cmax20.dll into System32?

No. That can introduce a mismatched or unsafe binary and often leaves the real application problem unresolved.

Why does the error say the specified module could not be found when the file is present?

A dependency required by cmax20.dll may be missing or incompatible. Repair the parent application, verify its architecture, and inspect the application log.

Should I use SFC for this error?

Run SFC when Windows also shows system corruption or related failures. SFC is not normally the mechanism for restoring a Visio-installed file.

Do I need to register cmax20.dll?

Usually not. regsvr32 applies to self-registering DLLs and controls, not to every application DLL.

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

What is the safest final fix?

Repair or reinstall the exact application named in the error using its official installer. If that application was removed and is no longer needed, remove its legitimate startup entry instead of downloading a replacement DLL.

Quick Recap

Bestseller 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
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
$24.69
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 Turn On Vibrant Visuals in MinecraftMinecraftBlog3min
  2. Best Multiplayer Games for Low-End PCsBlog4min
  3. Minecraft: How To Use And Install OptiFineBlog5min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
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.