VBScript is being deprecated in future releases of Windows.
VBScript will be available as a feature on demand before being retired in future Windows releases. Initially, the VBScript feature on demand will be preinstalled to allow for uninterrupted use while you prepare for the retirement of VBScript.
Source:

Deprecated features in the Windows client
Review the list of features that Microsoft is no longer actively developing in Windows 10 and Windows 11.
learn.microsoft.com

Resources for deprecated features in the Windows client
Resources and details for deprecated features in the Windows client.
learn.microsoft.com
See also:

Install or Uninstall VBScript Feature in Windows 11
This tutorial will show you how to install or uninstall the VBScript optional feature for all users in Windows 11. A .vbs file is a Virtual Basic script written in the VBScript scripting language. It contains code that can be executed within Windows via the Windows-based script host...

Last edited: