what happened to vbscript in windows 11?
microsoft deprecated vbscript and is phasing it out of windows. on windows 11, version 24h2, it is a feature on demand that comes preinstalled and on by default, microsoft says it will no longer be turned on by default around 2027, and a later phase removes it from future versions of windows.
download the ReMynd desktop app
this guide follows microsoft's learn and windows it pro blog pages as of november 2026. if you searched vbscript windows 11 or is vbscript deprecated, the short version is above.
is vbscript deprecated?
yes, vbscript is deprecated in windows 11. microsoft's deprecated features list says vbscript is deprecated, and that in future releases of windows it will be available as a feature on demand before its removal from the operating system. the list dates that entry october 2023.
what is the vbscript deprecation timeline?
microsoft's vbscript deprecation post on the windows it pro blog, dated may 22, 2024, splits the change into three phases:
| phase | what microsoft says happens to vbscript |
|---|---|
| phase 1 | feature on demand, preinstalled and on by default in windows 11, version 24h2 |
| phase 2 (date in the answer above) | the feature on demand is no longer enabled by default; you turn it on yourself |
| phase 3 (no date given) | retired from future versions of windows; all its .dll files are removed and projects that rely on it stop working |
microsoft's detection post, dated may 16, 2025, describes the current phase the same way: vbscript is available as a feature on demand and is enabled by default in windows 11, version 24h2.
does vbscript still work right now?
yes, vbscript still works on windows 11 for now. microsoft's deprecation post says a deprecated feature typically continues to work and is fully supported until it is officially removed. you can see the vbscript feature at start > settings > system > optional features.
how do you turn vbscript back on?
to enable vbscript on windows 11 if a script or app stops working once it is off by default, microsoft gives these steps:
- open optional features. go to start > settings > system > optional features.
- add a feature. select view features next to add an optional feature at the top.
- find vbscript. type vbscript in the search box and check the box next to the result.
- enable it. press next.
if an office vba macro shows a runtime or compile error, microsoft suggests checking that the vbscript features on demand aren't disabled by an admin setting.
what replaces vbscript?
microsoft recommends two vbscript replacements, depending on what you use it for.
- powershell if you automate tasks with vbscript or use vbscript custom actions in installer packages. microsoft says those custom actions may stop working after deprecation.
- javascript for webpages. microsoft says vbscript in the browser is limited to browsers predating internet explorer 11, and that edge, firefox, chrome and safari have never implemented support for vbscript.
for office users, microsoft says vba projects can call vbscript in two ways: running a .vbs script directly, or using vbscript as a typelib reference, such as vbscript regular expressions. phase 1 doesn't affect those, but microsoft says future phases will.
how do you find what still uses vbscript?
microsoft's detection post suggests looking in group policy scripts for any invocation of wscript.exe, cscript.exe or .vbs files, and tracking where vbscript.dll is still used. once you confirm vbscript is unused, microsoft says you can disable it early with this command:
Dism /Online /Remove-Capability /CapabilityName:VBSCRIPT~~~~
microsoft warns that after that, all processes that try to use vbscript (for example cscript.exe, wscript.exe or embedded internet explorer) are blocked, and scripts that rely on it fail silently or with errors. it asks you to test the command before a wide rollout.
where does ReMynd fit?
ReMynd is a desktop app that locally captures your screen history. ReMynd also runs on windows 11 (x64 or arm64).
this page makes no claim about which ReMynd features are available on windows. for another windows tool microsoft deprecated, see what happened to steps recorder, and for internet explorer, see what happened to internet explorer.
limits
microsoft gives phase 2 only an approximate year and gives no date for phase 3, so in our view, treat both as plans, not release dates. this page covers windows 11 and doesn't cover windows server or windows 10. we did not run any command on this page.