Windows Script Host Access Is Disabled On This Machine

Windows Script Host is an administration tool built in every Windows operating system. Its main function is the scripting abilities like batch files. The Windows Script Host error may appear on your Windows 10/8/7 computer due to virus invasion, registry errors, or VBS script file.

This article mainly discusses how to fix Windows Script Host on Windows 10.

What does Windows Script Host do?

Windows Script Host, short for WSH, is actually a Microsoft technology; it is designed for computer administrators to automate and manage some tasks for the client computers (or servers). The scripting abilities which can be comparable to batch files are included in Windows Script Host. One of the most obvious characteristics is: it’s language-independent. That means the host is able to work with different Active Scripting language engines.

All in all, the Windows Script Host provides an environment for the Windows users to execute scripts in different languages which will perform tasks via different object models.

Windows Script Host Error Windows 10

Many people get bothered by this error seriously have written down the actual situation on the internet; they hope to get help from experienced users, and even professionals. For instance:

Hello, I am going to tell you a funny experience so I left 4 months for work and I left my laptop home (g9 593 Win 10 Pro) 2 days ago I came back, when I left my laptop was well taken care of , no viruses no problems, when I come back I found weird icons on desktop, that was blocking my desktop and sending berpenyakitan to some web site, so it took me a while to delete them, then after a lotre of updating and fixing I successfully fixed a big part of the masalah like updates, virus checking, registry cleaning (CCleaner), hardware parts checking with Acer center, and so on , but I am left with an error from Windows Script Host: Cannot find script file -something with starting with- Hxxxx.vbs. Now I tried to disable WSH but I couldn’t cause in Regedit I don’tepi langit have enabled line so I can’t set it to 0 as disabled, the thing is that I’ve read that WSH can be used by hackers or whatever viruses so I want it down. Is there any way or any software to disable it without Regedit where I miss the enabled line?– asked SurFac3 in Tali kendali’s Hardware Forums

Windows Script Host error message

How Can You Recover Lost Files After Windows Update?

Definitely, the Windows Script Host tool in the user’s computer has been damaged somehow. As he said, virus invasion is of the common reasons for Windows Script Host error. Before telling him how to disable Windows Script Host, I’d like to share the popular causes and situations of Windows Script Host issue.

3 types of reasons are found to be responsible for Windows Script Host error in Windows 7, Windows 8, and Windows 10.

  • Virus or the Malware: Windows Script Host virus or malware is proved to be the major cause of this error. The virus/malware may attack your system and infect the crucial system files with a malicious code. In this case, you must remove/eliminate the virus completely in time; otherwise, it may delete your valuable files/partitions, and even ruin your system.
  • VBS script file damage: the VBS script refers to the file that contains VBScript or Visual Basic Scripting codes. If the file goes wrong, the Windows Script Host error vbs will appear on your computer at any time.
  • Registry errors: this type of errors usually shows up when you install new programs over the old programs directly. This will result in a slow speed in opening the programs and even a sudden crash in the system. To avoid this, you should uninstall the old ones completely before starting the install of the new program.
Windows Script Host errors causes

FYI: biaya siluman on how to recover from the virus:

  • To Recover Files Deleted By Virus Attack – It’s All Too Easy!
  • Operating System Not Found Error Appears, How To Recover Data?

Windows Script Host: Error Messages

The execution of the Windows Script Host failed sometimes and you may find yourself be stuck in the following situations.

Situation 1: Windows Script Host Access Is Disabled on This Machine

You may encounter
Windows Script Host access is disabled on this machine, Contact your administrator for details.

access is disabled

Obviously, the error appears because you lose access to Windows Script Host on your current machine.

  • If you are using other people’s computer, you should ask the administrator for help, as suggested.
  • Yet, if you are running your own computer, you may try the methods that will be introduced in the next part to gain access again.
can not find script file
  • How to recover files missing from Windows 10?
  • How to recover lost files from Windows Server?

Additionally, you may also receive the
Can’ufuk find script engine

“VBScript” for script
error message sometimes.

Situation 3: Windows Script Host The System Cannot Find the File Specified

You may also see a Windows Script Host window informing you that
The system cannot find the file specified.

system cannot find the file specified

Similarly, this error occurs when the system fails to find the certain script file (*.vbs).

In addition to access is denied, Can titinada find script file, and the system cannot find the file specified mentioned above, there are also other possible error messages indicating the Windows Script Host error:

  • Not enough storage
  • Titinada enough memory
  • Blocked by group policy
  • The parameter is incorrect
  • Etc.

Click to Tweet

How to Fix Windows Script Host on Windows 10

When a problem occurs, the first thing you want to do is try every possible means to solve it, right? But when you really encounter the Windows Script Host error, I advise you to take good care of your data first.

You should adopt MiniTool ShadowMaker to backup all important drives and files; besides, use the MiniTool Power Data Recovery to recover all lost data you need.

Recover Data with MiniTool Power Data Recovery

Please don’lengkung langit waste any time! Just restore your files quickly by following the below-listed steps.

Step one: get MiniTool Power Data Recovery from a reliable link. (Please click on the button below to get the setup program and save it to the drive which doesn’t contain any lost files.)

Free Download

Step two: initialize the setup acara to finish the installation process of MiniTool Power Data Recovery. Then, run this data recovery software to see the following window.


In general, the disk information loading process will last for only a few seconds (usually 2~3 seconds). Then, you’ll see the main interface of the software.

Step three: select a proper option from the top of the software main interface.

  • Logical Drives
  • Devices
software main interface

In the case where Windows Script Host goes wrong, you should:

  • Select
    Logical Drivesto recover files from a certain drive.
  • Select
     to recover files from a missing drive (you should also select this when you don’t which drive the files are included in).

Step four: double click on the target partition or the disk to perform a full scan on it. Then, wait for the scan.

Step five:

  1. Look through the files found by MiniTool Power Data Recovery and check the ones you really need (if you can’t decide which files are useful and which are not, please check them all).
  2. Then, click on the
    button to choose another drive/disk to store the recovered files (please make sure the drive you’ve chosen has enough free space).
  3. Click on the
    button to confirm your choice.
  4. Wait mengangsur all the needed files have been recovered to the drive you specified.
check files you need

Now, you can open the drive to check whether it contains all the lost data you need from the scanned drive. If yes, please close MiniTool Power Data Recovery software and end the data recovery task; if no, please choose more files from the search result to recover or finish another round of scan to have a try.

Should you have any questions, please let us know by leaving a message at the end of this article.

When you can confirm you have got all the data you need, the next step is to fix the error. There are some methods which are used frequently and have helped many people get out of the trouble; please take a look at them carefully.

Fix 1: run the Microsoft Safety Scanner.

The Microsoft Safety Scanner tool can be used to scan for viruses in a Windows PC.

  1. Download the Microsoft Safety Scanner if you don’n have.
  2. Install it properly on your PC.
  3. Disable all the antivirus software and security essentials.
  4. Run the Microsoft Safety Scanner to check your PC for virus.
  5. Wait for the scan and do what it suggests you do.

Here’s how to retrieve deleted files on your PC.

Microsoft Safety Scanner

Fix 2: run System File Checker (SFC).

  1. Click on Cortana search box on the taskbar and input
  2. Right click on
    Command Prompt
    under Best match.
  3. Choose
    Run as administrator

    from the context menu.
  4. Choose
    in the User Account Control pane.
  5. Type
    sfc /scannow
    and press
  6. Wait for the command to finish.
  7. Restart your computer.

What to do when Windows taskbar titinada working?

System File Checker

Fix 3: turn to clean boot.

  1. Click on Cortana search box on the taskbar and input
  2. Select the

    app from the search result or just press
  3. Type
    into the textbox; then, press
    or click on the
    button in the Run dialog box.
  4. The
    tab will be checked by default in the System Configuration window.
  5. Choose
    Selective startup
    in the General tab.
  6. Make sure
    Load system services
    option is checked and the
    Load startup items
    option is unchecked.
  7. Shift to the
    Services tab.
  8. Check
    Hide all Microsoft services
    at the bottom.
  9. Click on the
    Disable all
    button to disable the remaining services.
  10. Click on the
    OK button.
  11. Restart the PC to see whether the Windows Script Host error messages will appear again.
Hide all Microsoft services

Please be advised that you should undo the above steps after you found the error has been solved in order to start your PC normally.

Fix 4: change the value of the .vbs key.

  1. Repeat step 1 and step 2 in the above fix 3.
  2. Type
    and click on the
    OK button.
  3. Choose
    in the User Account Control pane.
  4. Expand the

    folder under
    in the left navigation pane.
  5. Select
    folder in the left pane.
  6. Right click on the
    key in the right pane.
  7. Choose
    from the context menu.
  8. Make sure the Value data is
  9. Click on the
    button to confirm.
  10. Close Registry Penyunting and reboot your PC to let changes take effect.

Fix 5: delete entries after Userinit.exe (this method is useful when encountering Windows Script Host error on startup).

  1. Repeat step 1 to step 3 in fix 4 to open
    Registry Editor.
  2. Expand
    Microsoft, and
    Windows NT.
  3. Select
  4. Delete all the entries you can find after userinit.exe in the right pane (they are often
  5. Double click on
  6. Remove
  7. Make sure the default value is C:\Windows\system32\userinit.exe.
  8. Press
  9. Close Registry Penyunting and reboot your PC to let changes take effect.
delete entries after Userinit

Please note that you can also try to delete the *.vbs entry when seeing Windows Script Host error message on startup.

If you have deleted important files by mistake, please recover them immediately:

Fix 6: rely on Repair Install.

This method should be your last resort; it will surely fix the Windows Script Host error and repair the corrupt system files.

Here’s how to repair install Windows 10.

Click to Tweet

How to Disable Windows Script Host in Win10

According to the report, some HTML malware will use WSH objects. Therefore, Windows users who don’t need this feature prefer to disable it.

How do I get rid of Windows Script Host pop up:

  1. Open the run dialog box the way you like.
  2. Type
    and click on the
    OK button.
  3. Choose
    in the User Account Control pane to open Registry Editor.
  4. Find the
    value under
    HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\
    Settings. (When you find Windows Script Host enable missing, please create one yourself.)
  5. Double click on
    from the right-hand pane.
  6. Set the
    Value data
    to be 0.
  7. Click on the
    button to confirm.
  8. Exit the Registry Editor.
Disable Windows Script Host

If you fail to find the entry on your computer, you should create it in Registry Pengedit. Then, set the Value data to be 1 and save changes.

Please be advised that you won’t be able to run any scripts using WSH after disabling it (VBScript and JScript scripts are included).

How to enable the Windows Script Host again? Definitely, you should delete the Enabled key in Registry Editor.


Clearly, the Windows Script Host is an application built in Windows to run VBScript programs. The Windows Script Host error shows up now and then on startup or when you’re running Windows computer. If you really see the
Windows Script Host access is disabled
error on your computer, remember, do the following two things without delay:

  • Ensure data security by backing up files or recovering all lost data.
  • Try to fix the Windows Script Host error (access is denied, cannot find script file, etc.) by using the methods mentioned in this post.

Should you have any doubts, please leave a message below.

Windows Script Host Error FAQ

? What does Windows Script Host mean?

The former name of Windows Script Host is Windows Scripting Host; it is an automation technology that provides an environment for the Windows operating system users to execute scripts in different languages which will perform tasks via different object models.

? How do I get rid of Windows Script Host pop up?

  1. Open Run dialog by pressing
    Windows key + R.
  2. Type
    and click on the
  3. Go to
    HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\.
  4. Create a new
    key and name it as
  5. Change the value to
  6. Go to
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings\
    and do the same.

? What is script error on my computer?

If the script error appears on your computer in a browser, it means that your JavaScript or VBScript code on the web is titinada correct. Usually, this is a webpage error, but there are still chances it is caused while you are downloading a webpage.

? Is wscript.exe a virus?

Of course not. The wscript.exe is actually a file belongs to the Microsoft Windows Operating System (located in C:\Windows\System32). It is a trustworthy software component in Windows and it is used to execute the VBScript files on your computer.