Microsoft Agent Patches for Windows 11

(and how to install them)

A guide by Alex Parr

Installing the Windows Assessment and Deployment Kit (Windows ADK)
Adding the Compatibility Settings
Updating the Database
Troubleshooting

Alright, so here's a little tutorial for getting the original Microsoft Agent software (+ others!) to work correctly under Windows 11. It's a bit technical, so just bare with me here.

This patch will add compatibility fixes for the following applications:

PLEASE NOTE: Any applications that are not listed here will be broken after installing the patch. If you have an MSAgent-based program that you want me to add to this list, please let me know.
Also, if you already have compatibility settings applied to either MASH or the Microsoft Agent server application, or if you have Double Agent installed and currently enabled, it would be best to disable those.
This guide has been confirmed to work with the latest 23H2 update and the latest 24H2 pre-release version. This guide may also work on 22H2, though I haven't tried it yet.
One more thing: if the scripts are broken, please let me know. I had a few choice people test the scripts out before I put this page up, but I'm still unsure if the scripts' functionality is just a fluke on my side.

Part 1: Installing the Windows Assessment and Deployment Kit (Windows ADK)

If you have previously installed the Windows ADK and have the Compatibility Administrator application, you can skip this part.

  1. Go to the official page for the Windows ADK:
    Download and install the Windows ADK | Microsoft Learn
  2. Download the ADK.
    • There is a jump link in the article that will quickly take you to the download button. You will not need to read through the whole article to understand what we're doing here.
    • Make sure you click the link that says "Download the Windows ADK" and not the one that says "Download the Windows PE add-on for the Windows ADK".
  3. Go through the installation until you get to the section named "Select the features you want to install".
    • If you skip past this screen, you won't install the specific application that we want.
  4. In the list of applications, make sure that "Application Compatibility Tools" is checked.
    • This option contains the application that we want; the Compatibility Administrator.
  5. Click on "Install" and complete the installation.
    • Close the installer when it's finished.

Part 2: Adding the Compatibility Settings

This is the "main" part of the tutorial.

  1. Download the Microsoft Agent Windows 11 compatibility fix database:
    MSAgent11.sdb
  2. Launch the 32-bit Compatibility Administrator.
    • The 64-bit version will not work, as Microsoft Agent and MASH are both 32-bit programs.
  3. Select "Open" from the top menu.
    • From here, you will want to open the MSAgent11.sdb file that you downloaded earlier.
  4. Right-click the newly-added "MSAgent Fix for Windows 11" database, and select "Install" from the drop-down menu.
    • Once the database is installed, you can safely close the Compatibility Administrator.
  5. Launch the Microsoft Agent Scripting Helper (or any other application from the list) to verify that everything works.
    • If everything worked correctly, MASH shouldn't crash upon startup and all Agents should now be completely transparent.

Part 3: Updating the Database

When/if I release a new version of the patch, this is what you should do to update the database on your computer.

  1. Repeat Part 1.
    • If you haven't uninstalled the Windows ADK yet, then you can skip this step.
  2. Download the Microsoft Agent Windows 11 compatibility fix database:
    MSAgent11.sdb
  3. Launch the 32-bit Compatibility Administrator.
  4. Right-click the "MSAgent Fix for Windows 11" database under Installed Databases, and click "Uninstall."
    • This part is necessary because we don't want two databases conflicting with each other.
  5. Select "Open" from the top menu.
    • From here, you will want to open the new MSAgent11.sdb file that you downloaded earlier.
  6. Right-click the newly-added "MSAgent Fix for Windows 11" database, and select "Install" from the drop-down menu.
    • Once the database is installed, you can safely close the Compatibility Administrator.
  7. Launch the Microsoft Agent Scripting Helper (or any other application from the list) to verify that everything works.
    • If everything worked correctly, you should still get the same results that you got before.

Part 4: Troubleshooting

So you followed this guide and MASH is coming up with an error. What gives? Please consider the following: