If you are setting up a new PC with Windows 11 version 24H2 (2024 Update) or later, developers may not find the VBScript installed after installation, as Microsoft does not install it by default now. The only option now is to install or uninstall VBScript.
VBScript (Microsoft Visual Basic Scripting Edition) is a scripting language used by some websites, but it is slowly becoming obsolete because of new languages and development. However, if you still need it, follow this easy installation guide.
How to install or uninstall VBScript in Windows 11
There are two ways to add or remove VBScript from Windows 11 computer:
- Using Optional features
- Using PowerShell
You will need an admin account to get this done.
1] Using Optional features
- Open Windows Settings using Win + I.
- Go to System > Optional Features.
- In the Optional feature window, search for VBScript and choose to remove it.
If you ever want to install it, follow the same method. The system may reboot if needed.
2] Install using PowerShell
One of the straightforward ways to install the option feature is using a Command prompt or PowerShell. Execute the following command to install and uninstall VBScript from a Windows PC
Install: DISM /Online /Add-Capability /CapabilityName:VBSCRIPT~~~~
Uninstall: DISM /Online /Remove-Capability /CapabilityName:VBSCRIPT~~~~
Make sure to execute the command using admin privileges.
I hope this helps.
What is replacing VBScript?
Python, JavaScript, PowerShell, Batch, and Visual Basic are considered the most popular alternatives and competitors to VBScript. Given that VBScript is no longer under development, it may become vulnerable to security risks, making it crucial to avoid using it.
Is VBScript outdated?
VBScript, or Microsoft Visual Basic Scripting Edition, is a now-obsolete scripting language designed for Microsoft Windows environments. It utilizes the Component Object Model (COM) and is grounded in classic Visual Basic and Active Scripting principles.