5 Ways To Fix Windows Script Host Disabled In Windows PC 2024


5 Ways To Fix Windows Script Host Disabled In Windows PC – Windows Script Host access is disabled in this machine. Contact your administrator for details. This message is usually found in Windows 7, Windows 8, and Windows 10.

How to Fix Windows Script Host Disabled 5 Best Ways
How to Fix Windows Script Host Disabled 5 Best Ways

How to Fix Windows Script Host Disabled Error on Windows 10 Laptop PC 2024

Antivirus usually causes Windows Script Host or WSH messages. For example Smadav. Maybe you also happen to wear it?

Read more:

Myself, I usually encounter this message while browsing. For example, opening a site.

Or also when opening certain applications. The effect is that the application cannot function properly.

What is Windows Script Host?

For those who don’t know, please. Windows Script Host is a Windows feature, to run certain commands related to scripting.

Usually, there are special applications.

You can use the method I will explain to get rid of this message. I have tested it myself and it works.

#1. Via Regedit

Here we can manage the Windows system via Regedit—settings so that WSH can be activated again.

  • First please press the Windows key + R> Type Regedit > Then click OK
Via Regedit
  • Next, please go to> HKEY_LOCAL_MACHINE> SOFTWARE> Microsoft> Windows Script Host> Settings.
Settings Script Host
  • Right-click Mouse there> Then select the DWORD (32) bit Value option
DWORD 32 bit Value
  • Click the 2X registry> Then set the name to Enabled
  • Right-click Registry> Select Modify > Then set the Value Data to 0 > Click OK
Setting Value Enabled
  • Restart the computer when done.


Note: If the Windows Script Host Settings already has a registry with the name enabled, you don’t need to create it again.

Just change the Value Data registry earlier, from 0 ( disabled ) to 1 ( enabled ). That way, there is no double registry later.

#2. If you are a Smadav user

Windows Script Host that initially existed then did not work, usually, because it was disabled by Antivirus. For example Smadav.

Smadav by default does not grant access permissions to the Windows Script Host. Therefore, doing so will cause notifications to be disabled later.

Follow these steps:

  1. Open the Smadav Icon tray (lower right corner)> Then right-click on the Smadav icon
  2. Next, please select Allow Windows Script & Office Macro Permanent
  3. Restart your computer when done

Setting Smadav

For this step, I made the Windows Script active. If you want to use the Until Restart option, that’s fine too. But don’t forget to set it up again when it restarts.

Permanent Until Restart
Windows Script will always run (permanently) Windows Script will run until it restarts

#3. System Configuration

This method is simpler. The steps are more or less the same as Regedit. Through Run.

Please follow:

  • Click Windows key + R > Type MSConfig > Then click OK
  • Next, you uncheck Load Startup Items
Pengaturan Load Startup Items
  • Continue to open the Service tab > Press Hide All Microsoft Service > Disable All > Then OK
  • If so, please restart the computer
Disable Semua Service di MSConfig

#4. Via Command Prompt

Command Prompt or CMD. The goal is the same as before. The difference is we only need to write a few command lines.

Here are the steps:

  1. Press Windows key + R > Type CMD > Then Enter
  2. In CMD> Enter the command REG DELETE “HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows Script Host \ Settings” / v Enabled / f
  3. If so, please press Enter
Melalui CMD

Restart the computer as usual. When done, try the test again.

#5. Delete Registry After Userinit

Back to Regedit again. This last way is to delete the registry after the user init. Intended so that the Windows Script Host can run.


  1. Open Regedit just like before
  2. Then go to HKEY_LOCAL_MACHINE> SOFTWARE> Microsoft> Windows NT> CurrentVersion> Winlogon.
  3. Under Userinit there are several registries. Please delete everything
Delete Registry Setelah Userinit

If so, close Regedit then try again.

Read more:


So friends, how to Fix Windows Script Host Disabled, Thus, hopefully, the host script notification that you find has been successfully resolved and does not come out again.

If someone is confused about one of the points or hasn’t managed to solve it, please leave a message in the comment box. Later I will help as much as possible.

Don’t forget to bookmark and always visit every day Technadvice.com because here you can find the latest technology information such as How-to Guide Tips and Tricks Blogging Digital Marketing Windows Android Root Social Media games, ETC. Best of luck.

Previous article11 Ways To Fix This App Can’t Run on Your PC Windows 10 [2024]
Next article6 Ways To Flash Asus Z007 and Zenfone C 100% Success 2024
Nazrul Islam
I'm Nazrul Islam, from Assam Guwahati (India) I have been Running this Blog since 2016 with my full effort to Help users in the Tech field and clear doubt, and provide advanced guides in simple methods. Such as how-to guides Tips&Tricks Windows Android Blogging Digital Marketing SEO Hosting Make Money Social Media Reviews technology.


Please enter your comment!
Please enter your name here