How to Install VBScript in Windows 11

Richard
Written byRichardTech Writer, IT Professional
Mar 6, 2023 Updated Apr 16, 2026 2 min read

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.

  1. 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.
  2. Click on Apps on the left side of the window.
windows 11 settings apps on menu

  1. Select the Optional features tile on the right.
windows 11 optional features tile

  1. Click the View features button.
windows 11 optional features view features button

  1. Find VBScript in the list, check the box next to it, and click Next.
Windows install VBScript via the Settings app

  1. Click the Install button to finish.
Windows install VBScript confirm install button

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

Windows uninstall VBScript button

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.

Richard2457 articles

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Expertise:Windows 11Ubuntu LinuxCMSApps and Browsers
View all articles by Richard →

Categories:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *