Knowledge Worker 2025 - Preparing Microsoft Office Workloads

Overview

Office 2019 Prepare script

Microsoft 365 Prepare script

Uploading the Prepare scripts to an Appliance

Linking the Prepare scripts to a Test

Running a Test with the Prepare scripts

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.

The download files for the workload are attached at the bottom of this page.

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 Uploading scripts.

For instructions on adding these workloads to a Group, refer to Application Groups.

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

Frame 1154.png

or

Frame 1155.png

For more information, see Application configurations: Run Once and Leave Application Running.

Linking the Prepare scripts to a Test

To add application workloads or application workload groups to a Load Test, see Adding Applications to a Load Test.

Running a Test with Prepare scripts

To run the Test with workloads linked to it, see Starting a Load Test.