How to Install or Uninstall VBScript Feature in Windows 11. VBScript, once popular for Windows automation, is now a legacy feature. In Windows 11, it’s disabled by default but can be added back if needed for older scripts or enterprise apps, or uninstalled to improve security. In this video, we’ll show you how to install or uninstall VBScript on Windows 11. Before we begin, be sure to subscribe to NinjaOne’s IT video hub and our YouTube channel for more tech content like this. Prerequisites to Keep in Mind. These steps work for Windows 11 version 22H2 and later. After installing or removing VBScript, you may be required to restart your PC for the changes to take effect. You will also need administrative access to modify the system and perform these methods. Method 1: Install or Uninstall via Optional Features. This method works best for non-technical users, or for one-time configurations. To install VBScript: Open Settings with Win + I, Click View features at the top, Search for VBScript, Search for VBScript, Select it and click Next, Click Install and wait for it to finish, Restart your PC to apply the changes, To uninstall VBScript: Press Win + I to open Settings, features, find VBScript, Click the three dots next to it and choose Uninstall, Restart your PC to apply the changes. Method 2: Install or Uninstall via PowerShell. You can use this method if you are a system administrator or managing multiple devices. Press Win + S and type PowerShell, Right-click Windows PowerShell or Windows Terminal, then select Run as administrator. Run one of these commands: To install VBScript, enter: To uninstall VBScript, enter: And to check installation status, enter: If successfully installed, you should see, If not, you’ll see, Again, restart your PC to apply the changes. Method 3: Install or Uninstall via D-I-S-M. This next method is ideal for automation scripts or deployment scenarios. Press Win + S and type cmd, Right-click Command Prompt and choose Run as administrator. Run one of these commands: To install VBScript: Windows makes it simple to add or remove VBScript. However, since VBScript has been officially deprecated starting with Windows 11 23H2, it’s recommended to remove it unless required for legacy compatibility. It helps you support older scripts or boost security by removing what you don’t need. For more information, check out our official blog post on how to install or uninstall VBScript in Windows 11 linked in the description below.

How to Install or Uninstall VBScript Feature in Windows 11

VBScript is now a legacy feature in Windows 11. It is disabled by default but still available if you need it for older scripts or enterprise apps. In this video, we’ll show you how to install or uninstall VBScript using three simple methods: through Optional Features, PowerShell, and DISM. Whether you’re supporting legacy workflows or improving system security by removing unused components, this step-by-step guide makes it easy.

Read the full blog on How to Install or Uninstall VBScript Feature in Windows 11

Never miss a NinjaOne video!

in this video

    Never miss a video!