Share this article
Improve this guide
Fix: Windows Script Host Access is Disabled on This Machine
Disable startup apps to get rid of the pop up error
5 min. read
Updated onOctober 4, 2023
updated onOctober 4, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
When you start up your PC, you may be welcomed by aWindows script host access is disabled on this machinepop-up message.
The Windows Script Host is a feature of Microsoft Windows that allows users torun scriptswritten in various languages. Most users may never use this feature but for those who will, this article will guide you on how to enable it.
Should I enable Windows Script Host?
Windows Script Host is a powerful scripting engine that allows you to run scripts in the background,automate tasksand add new functionality to your applications.
Some of the tasks it can help you perform include:
If you’re not a developer or don’t need to use scripts, then you probably don’t need WSH. This is because malicious scripts can use to execute malicious code of their own design or even steal your passwords from your browser or email programs.
Although WSH has been around for a long time, it’s not as secure as other scripting engines, such as PowerShell. You should only use it if you are familiar with the ins and outs of the engine or need to run older scripts that rely on WSH.
The WSH is included in every version of Microsoft Windows but is disabled by default. This is because it is vulnerable to security exploits. You can enable the WSH on your system if you need to use it.
If you have enabled it but still getting theWindows script host access is disabled on this machinepop-up message, it is probably a malware or registry error. Below is how you can fix this error.
How do I enable the Windows scripting host?
Before proceeding with any advanced troubleshooting steps, try the following:
1. Disable Startup items
2. Run DISM and SFC scans
3. Scan for viruses
If the built-in Windows scan works for you to get rid of theWindows script host access is disabled on this machinemessage, great. However, many users reported that a third-party antivirus did the heavy lifting and got rid of the error.
If you’re looking for one, we have an expert list oftried and tested antivirus solutionsthat will do a commendable job.
4. Perform a clean boot
5. Edit the Registry
Always remember that editing the Registry could have dire consequences, so only perform this step if all else fails, and when you do, ensure youcreate a restore pointas a backup plan.
We truly hope this article has served you the answers you needed for theWindows script host access is disabled on this machineissue.
If you’d like more insight into such errors, we have curated atell-all article about script errorsso check that out to get acquainted on how to avoid some common pitfalls.
Leave any further comments, suggestions, or questions in the comment section below.
Claire Moraa
Windows Software Expert
Claire has a knack for solving problems and improving the quality of life for those around her. She’s driven by rationality, curiosity, and simplicity, and always eager to learn more about Microsoft’s products. With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11, errors, and software.
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Claire Moraa
Windows Software Expert
With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11 errors.