Hydra 2.5.0 is out now. Check out what's new

Knowledge Worker 2025 - Preparing Microsoft Office

Overview

Before running any Knowledge Worker 2025 application workloads, you must choose the prep script that matches your Office installation, Office 2019 or Microsoft 365, and run it once to ensure a clean environment. Choose the script that matches the Office version you're testing. Each script launches Word, handles first‑run dialogs (or registry opt‑ins), and closes stray windows.

This workload is ready to use as provided.

You can download the workload from Additional Resources.

Office 2019 Prepare Script

Target application: Microsoft Word (new document mode)
Script file: PrepareOffice2019_DefaultScript.cs

Features

  • Dialog Dismissal: Closes any first‑run or “First things first” setup dialogs.

  • Window Cleanup: Closes stray Word windows matching *loginvsi*, *edited*, or *Document*.

Microsoft 365 Prepare Script

Target application: Microsoft Word (new document mode)
Script file: M365PrivacyPrep_DefaultScript.cs

Features

  • Registry Setup: Imports registry entries to suppress first‑run opt‑in, activation, EULA, Protected View, hardware‑acceleration, and welcome dialogs.

  • Dialog Dismissal: Closes any remaining first‑run dialogs.

  • Window Cleanup: Closes stray Word windows matching *loginvsi*, *edited*, or *Document*.

Uploading the Prepare Scripts to an Appliance

For details on uploading the workloads to an Appliance, consult the Editing Application Scripts section in Configuring Applications for Testing.

For instructions on adding these workloads to a Group, refer to the Creating an Application Group section in Configuring Applications for Testing.

The Prepare script needs the 'Run Once' setting configured, such as:

Frame 1154.png

or

Frame 1155.png

For more information, see the Run Once and Leave Application Running section in Configuring Applications for Testing.

Linking the Prepare Scripts to a Test

To add application workloads or application workload groups to a Load Test, see Configuring Applications for Testing.

Running a Test with Prepare Scripts

To run the Test with workloads linked to it, see the Starting a Load Test section in Configuring Load Testing.

Additional Resources

KW25 Prep 365 Microsoft Office.cs

KW25 Prep 2019 Office.cs