Overview
Microsoft is deprecating VBScript in Windows. According to Microsoft, around 2027 the VBScript features on demand will no longer be enabled by default, and a later phase removes VBScript from future versions of Windows. After the first change, any system that still needs VBScript requires an administrator to turn it on again.
Windows logs event ID 4096 from the source VBScriptDeprecationAlert in the Application log when a process uses VBScript. This DEX pack collects that event from your systems and adds the VBScript Deprecation DEX Pack dashboard to SysTrack. The dashboard shows which systems use VBScript, which apps start it, which scripts run, and how VBScript use changes over time.
How the Dashboard Identifies Apps and Scripts
Event 4096 has no separate fields for the app or the script that used VBScript. The event text holds the process tree of each VBScript execution: the process that ran VBScript, its parent, and the processes above it. The VBScript Deprecation DEX Pack reads this process tree to find the script and the app.
The script is the .vbs, .vbe, .wsf, or .hta file in the command line of the process that ran VBScript. If that command line has no script file, VBScript ran inside another process, for example an MSI custom action or a WMI event consumer. The dashboard then shows a label, such as MSI custom action, WMI event consumer, or In-process (process.exe). The Command Line column in Selected System Full History shows the full original text from the event.
The app is the first process in the tree that is not a generic launcher or script host, such as Explorer, cmd, PowerShell, Task Scheduler, svchost, msiexec, wscript, or cscript. This identifies the application that is responsible for the script. If every process in the tree is generic, the app is the process that ran VBScript.
How This Feature Helps You
The VBScript Deprecation DEX Pack dashboard helps you find VBScript dependencies before Microsoft turns VBScript off by default. Use it to answer these questions:
Which apps start VBScript, and on how many systems
Which scripts run, and on which systems
Whether VBScript use goes down as you replace scripts
How to Use the Dashboard
In the left navigation bar, open Dashboards, filter by the DEX Pack category, and select VBScript Deprecation DEX Pack.
The VBScript Deprecation DEX Pack dashboard has two filters at the top. Group selects the systems that the dashboard reports on, and applies to every part of the dashboard except the Selected System Full History table. Date Filter sets the period: the last 30 days, or one day in that period. The last 30 days end with the previous day. Date Filter applies to the summary tiles and to the Applications Using VBScript, Scripts, and Systems tables. It does not apply to the VBScript Usage Trending chart or to the Selected System Full History table.
The tables on the dashboard filter one another through row selection. Click a row in Applications Using VBScript to filter Scripts and Systems to that app. Click a row in Scripts to filter Systems to that script. Click a row in Systems to show that system in Selected System Full History. To clear a selection, click All apps or All scripts.
Each table on the dashboard has a search box, App Search, Script Search, or System Search, that filters the rows of that table. Click the question mark icon on a tile, chart, or table to see its description. Click the download icon on a table to export its data.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=p8hQV1UWTen6nEoD7tf6hsp2j7PBSfu0Pn5ggs2kT0M%3D)
Recommended Workflow
In Group, select All Systems. In Date Filter, select the last 30 days. Review the summary tiles to see how widespread VBScript use is.
In Applications Using VBScript, review the apps with the most systems. Click an app to see its scripts in Scripts and the affected systems in Systems.
In Scripts, list the scripts that need a replacement or an update, and identify the owner of each one.
In Systems, click a system and use Selected System Full History to see when each script ran and with which command line.
As you replace scripts, use VBScript Usage Trending to confirm that the number of systems and executions goes down.
Summary Tiles
The four summary tiles at the top of the VBScript Deprecation DEX Pack dashboard show totals for the selected group and period. The tile values match the All apps row in Applications Using VBScript and the All scripts row in Scripts.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=1L3nui2iPu3OcVXsuHlDms%2FnRW4a5ot0s7IHwDwal2k%3D)
Tile | Description |
|---|---|
Systems | The number of systems that used VBScript. |
Apps Using VBScript | The number of apps that started VBScript. For how the dashboard identifies the app, see How the Dashboard Identifies Apps and Scripts. |
Scripts | The number of different scripts that ran, including VBScript that ran inside another process without a script file. |
Most Widespread Script | The script that ran on the most systems. If two scripts ran on the same number of systems, the tile shows the script with more executions. If no script ran, the tile shows None. |
VBScript Usage Trending
The VBScript Usage Trending chart shows VBScript use for each day as two bars. Unique Systems, on the left axis, is the number of systems that used VBScript that day. Total VBScript Executions, on the right axis, is the number of VBScript executions recorded that day. The chart covers the last 30 days, follows Group, and does not change with Date Filter.
Click a bar to filter the whole dashboard to that day. Date Filter then shows the selected date. To return to a longer period, select it in Date Filter.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=iJ8X2z48w4W835YI%2Fyv7Ipe0se1PUIa%2Bt3QXqn5oRbQ%3D)
Applications Using VBScript
The Applications Using VBScript table shows one row for each app that started VBScript in the selected group and period. The All apps row shows the totals for all apps.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=yW1MYMP1NY19%2FiCh4NDFgCjmIcrL%2FEj8ECGThu9EvDM%3D)
Column | Description |
|---|---|
App | The app that started VBScript. |
Systems | The number of systems where the app started VBScript. |
Scripts | The number of different scripts that the app started. |
VBScript Executions | The number of VBScript executions that the app started. |
Last Run Date | The date of the most recent execution. |
Scripts List | Up to five scripts that the app started, with the most executed script first. If the app started more than five scripts, the list ends with the number of the others, for example (+3 more). |
Scripts
The Scripts table shows one row for each script that ran in the selected group and period. The All scripts row shows the totals for all scripts.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=jnU7Keny%2BGW2AecB1Ua5ezNllPIl1tuvAm4XJDUY9CE%3D)
Column | Description |
|---|---|
Script | The script name. For how the dashboard identifies the script, see How the Dashboard Identifies Apps and Scripts. |
Systems | The number of systems where the script ran. |
Executions | The number of times the script ran. |
Last Run Date | The date of the most recent execution. |
Systems
The Systems table shows one row for each system that used VBScript in the selected group and period. It follows the app or script selected in the tables above it.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=9wc8LwbaxcZaTtxE7LcA1VhZLQdgz8b0wO2Yc8Ue6WA%3D)
Column | Description |
|---|---|
System | The system name. |
Apps Using VBScript | The number of apps that started VBScript on the system. |
Scripts | The number of different scripts that ran on the system. |
VBScript Executions | The number of VBScript executions on the system. |
Last Run Date | The date of the most recent execution. |
Scripts List | Up to five scripts that ran on the system, with the most executed script first. If more than five scripts ran, the list ends with the number of the others, for example (+3 more). |
Selected System Full History
The Selected System Full History table shows the VBScript executions of the last 30 days on the system selected in Systems, with one row for each date, app, and script. Group, Date Filter, and the app and script selections do not change this table.
.png?sv=2026-02-06&spr=https&st=2026-11-26T19%3A31%3A27Z&se=2026-11-26T19%3A47%3A27Z&sr=b&sp=r&sig=3Th8EAIjVLqHf%2F73Xb5RLE%2FWfM15IcO4UFpa02661cc%3D)
Column | Description |
|---|---|
Date | The date of the executions. |
App | The app that started VBScript. |
Script | The script name. |
VBScript Executions | The number of executions of the script by the app on that date. |
Command Line | The full original text from the event, for executions without a script file, such as MSI custom action. The column is empty for scripts that run from a file. |