I sucessfully installed Docklight on a new Windows 11 24H2 computer. It starts, but I get a crash / error “(80040154) class not registered” when opening certain dialogs like ‘Edit Send Sequence’ or when registering a license. How can I fix this?

I sucessfully installed Docklight on a new Windows 11 24H2 computer. It starts, but I get a crash / error “(80040154) class not registered” when opening certain dialogs like ‘Edit Send Sequence’ or when registering a license. How can I fix this?

Applies to: Docklight / Docklight Scripting (V2.4 or lower), Article ID: dl_prb067

On fresh installations of Windows 11 version 24H2, Microsoft no longer enables the ‘VBSCRIPT’ Windows Feature by default, contrary to their original roadmap announcement.

Docklight Scripting V2.4 (or lower) requires the VBSCRIPT module as scripting engine, but also the (non-scripting) Docklight V2.4 edition utilizes this standard Windows component for some internal functions. This can cause the application to crash when accessing features that rely on it.

To resolve this, please update Docklight V2.4 to the Docklight V2.5 Preview version from the link below.

For executing Docklight Scripting scripts, the VBSCRIPT component is still required. For this, you must manually re-enable the VBSCRIPT feature. You can use either the command line or the Windows Settings interface.

Method 1: Using Command Prompt
Open a Command Prompt or PowerShell with administrative privileges and execute the following command:

dism /online /add-capability /capabilityname:VBSCRIPT

Method 2: Using Windows Settings
Use Windows Settings:
1. Open the Settings app by right-clicking the Start Menu and selecting ‘Settings’.
2. Navigate to ‘System’ and then click on ‘Optional features’.
3. Click the ‘View features’ button next to the ‘Add an optional feature’ option.
4. In the search box, type “VBSCRIPT” to find the feature.
5. Select the checkbox next to VBSCRIPT, then click ‘Next’ and ‘Install’ to add the component.

After using either method, restart Docklight. The application should now function correctly.

Outlook:
We are actively working to reduce this dependency. A future Docklight update will ensure that the VBSCRIPT component is only required for running Docklight VBSCRIPT automation scripts (.pts file).

Microsoft Blog: VBScript deprecation timelines and next steps

Docklight News: Product Roadmap and VBScript Deprecation

Download Docklight V2.5 Preview Version