VBScript is an older tool used to run specific script files. Microsoft has moved away from this technology in favor of newer options like JavaScript. Because of this, it is not turned on by default in Windows 11.
Why use VBScript?
You might need to install it if you run older programs or specific scripts that rely on this legacy technology to function correctly.
What happens when you are done?
Once you finish these steps, your computer will be able to recognize and run VBScript files. If you do not need them, you can use these same steps to remove the feature to keep your system clean.
Install or Uninstall VBScript via Settings
You can add or remove this feature using the standard Windows Settings menu. Note: This process requires administrator privileges.
- Open the Windows Settings app. You can find this in your Start menu or by pressing the Windows key + I on your keyboard to launch the Settings app.
- Click on Apps on the left side of the window.

- Select the Optional features tile on the right.

- Click the View features button.

- Find VBScript in the list, check the box next to it, and click Next.

- Click the Install button to finish.

To uninstall later, return to the same menu, find VBScript under your installed features, and select Uninstall.

Install or Uninstall via Command Line
Advanced users can use the Windows Terminal app with either the Windows PowerShell or Command Prompt tab. Note: This requires running the terminal as an administrator.
To install the feature, type this command and press Enter:
DISM /Online /Add-Capability /CapabilityName:VBSCRIPT~~~~
To remove the feature, type this command and press Enter:
DISM /Online /Remove-Capability /CapabilityName:VBSCRIPT~~~~
Summary
VBScript is a legacy component not included in Windows 11 by default. If your workflow requires it, you can easily add it back through the Optional Features menu in Settings or by using the DISM command in your terminal. If you no longer use these scripts, it is best to leave the feature uninstalled to keep your system updated with modern standards.





Leave a Reply