Fix: Windows Script Host access is disabled on this machine

If you receive this Windows Script Host access is disabled on this machine, Contact your administrator for details message box, on your Windows 10/8/7 computer, then this post may interest you. Today we will see how you can enable or disable Windows Script Host.

Windows Script Host access is disabled on this machine

Windows Script Host access is disabled on this machine

Windows Script Host or WSH, is a Microsoft technology that provides scripting abilities like batch files, but includes many more features. Such Scripts can be run directly from the desktop by double-clicking a script file, or from a command prompt. It can be run from either the protected-mode Windows-based host wscript.exe, or the real-mode command shell-based host cscript.exe.

Several “HTML malware” have been reported to use WSH objects as a result of which, those who do not require this feature, tend to disable it. But disabling WSH, will prevent users from running any scripts, including VBScript and JScript scripts, that rely on this technology – and some software may require this feature to be enabled.

Enable, disable Windows Script Host

To enable or disable Windows Script Host, type regedit.exe in Run box and hit Enter to open the Registry Editor.

Navigate to the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings

enable disable Windows Script Host
In the right panel, you will see Enabled. If you see the entry 0, it means that the Windows Script Host access is disabled on your Windows machine.

Double Click on it and give it Value Data 1 to enable it.

  • A value of 1 will enable Windows Script Host
  • A value of 0 will disable Windows Script Host.

Click on OK and exit the Registry. If you don’t see this entry, then you may need to create it, as it does not exist by default in Windows.

You will now, no longer receive the Windows Script Host access is disabled on this machine. In this way you can enable or disable Windows Script Host.

You can also use our FixWin to fix this issue. It offers a 1-click fix under the Additional fixes section.

This post will show you how to fix other Windows Script Host errors on Windows 10.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

124 Comments

  1. MsLavender

    Thanks so much for the simple instructions with screenshots. I usually create a System Restore point before changing anything in the registry, but I got the “access is disabled” message with no access to System Restore. No idea why – I’ve used it before, and I know my cat didn’t change it.
    ~ML, Windows 8.1; HP Pavilion p6-2330 PC

  2. Glad it helped you. ๐Ÿ™‚

  3. vibha

    sir actually in my laptop there is no any option of run or command prompt.. i searched every where in the machine so how can i open run window or command prompt.. and command prompt is also not found in accessories folder.. plz help me how can i fix ths problm

  4. Which Windows version are you using?

  5. MkayEcribCArtman

    YOU. YOU SIR. ARE MY SAVIOR. everytime i’m playing league for the past hour, the windows script came up every godamn 30 secondsnow its gone c:

  6. Thank you for the kind words. ๐Ÿ™‚

  7. Santhosh

    I have a similar prob as Vibha. I am using Windows xp. Could you please let know a way out of this. ๐Ÿ™‚

  8. Can you search for CMD ?

  9. santhosh h

    sir actually i was using windows 8
    when i run that regedit.exe it was not running and i was not getting any windows opened what may be the reason………
    and no application in my system is opening

  10. OSCAR VALI

    WIN 8 I CAN’T SEE REG_DWORD 0x00000000 (0) its missing

  11. Nicodemos Lucio Longo

    I’m using Windows 10, i followed it through, but i don’t see an option labeled as “Enabled”. Any way to fix this and then to disable it?

  12. viron

    hey,

    could u tell me why i can’t fix it :/
    i’m trying for a couple of hours but without succes.

    could u please help me?

  13. Rujhen Rujh Magliba

    hello sir i changed the value as per your instruction but the same error pops up when I restart my laptop

  14. a-s zimmermann

    good show, it seems to work, muchas gracias amigo!

  15. Husin

    Hallo Sir! Thanks for making this post. I already followed step by step, but when I restart my laptop, that error warning still appear on my screen. What should I do now?
    By the way, I use Windows 7, and got this Windows Script Host message since 2 days ago. I didn’t make any modification or instaling an software before.
    Thanks.

  16. Husin

    I have same problem

  17. Addi Muhammad

    Nice article bro. I’ll give it a try

  18. Rihdoy

    don’t working the way.. same problem showing…

  19. dian maradona

    i dont have enabled option in my left panel, what should i do?

  20. I m sorry. It should be the Right panel. I change corrected the typo.Please see the image to get and idea.

  21. dian maradona

    hello sir, thx for the replay.
    but i also dont have “enabled” option in my right panel also. my right panel only contain (default), activeDebugging, DisplayLogo, SilentTerminate,UseWINSAFER.

    any idea what should i do? thx before

  22. Use our FixWin. It offers a 1-click fix under the Additional fixes section: https://www.thewindowsclub.com/fixwin-for-windows-10

  23. Arsy Uber

    sir why the pop up still appear? i already did your procedure, i am using windows10 64-bit at first there’s no Enabled REG_DWORD and then i make it. should i make DWORD (32-bit) value or QWORD (64-bit) value?

  24. Faizal Airlangga

    not work !!

  25. Hendry Sundoro

    hello i cant see the “Enable” file, how to fix this? thanks sir, this is the screenshot >> prntscr.com/axdbva

  26. efraim

    Sir, my laptop got this windows script host error with black screen, so i can’t run the regedit.exe can you please help me.. ๐Ÿ™‚

  27. elvis fotang

    This was indeed helpful. Bravo sir.

  28. elvis fotang

    please keep helping beginners online

  29. Cass

    There’s no Windows Script host ๐Ÿ™

  30. Dewi Puspa

    Hy sir.. Is it okay if i just ignore it? Just to do nothing with the problem? Thank you

  31. subodh

    hello sir i am not getting enable as a option as shown in fig above rest all are there only enable one is missing can you help ?

  32. Md Shouvik

    i couldn’t find the enable option

  33. Md Shouvik

    did u got the solution dear?

  34. Thamsanqa Jamella

    Hie sir, I followed every instruction as stated but I still get the error message. May you help me there please…

  35. Agung Hafiz

    klik notification area > right klik smadav softwere >choose Windows Script & Macro (Forever)

  36. eusebio

    I dont have the enable option on my right panel after click setting…what it be?

  37. Razor Xtreme

    i tried it but it still shows the problem.(im using win 7)

  38. Dennis Kawuma

    Hi Anand if they go direct to run then type wscript.exe or cscript.exe i think they can reach there

  39. Tuan Azrul

    for windows 10,HKEY_CURRENT_USER

  40. prinxe

    for windows 7 its on HKEY CURRENT USERS then do the same steps as mentioned above

  41. disqus_gOFsZTuE1D

    then what.
    what is the next step

  42. disqus_gOFsZTuE1D

    hey I tried using the FixWin but nothing happened. I tried restarting my com but its not working the same problem arise

  43. Santhosh

    HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings

  44. Dismay

    Thank you so much for this information.

  45. Rishi Jai

    Does not work with HKEY_LOCAL_MACHINE
    However it works with HKEY_CURRENT_MACHINE in Windows 7!

  46. JMgarcesa

    Thank you so much!

  47. Pritha Aprianoor

    Sir i have same problem with arsy uber, can you help us with this problem? thank you so much sir.

  48. Lord Sangsara

    NATIONAL SUPREME HEADQUARTERS

    SPECIALIZED IN ALL KIND OF SPIRITUAL AND HERBAL PRODUCT SUCH AS:-

    (*) DO AS I SAY (*) WATERY SPERM

    (*) LOVE ATTRACTION (*) PENIS ENLARGEMENT

    (*) EXAM SUCCESS (*) FRUIT OF THE WOMB

    (*) BUSINESS BOOMING (*) BREAST ENLARGEMENT

    (*) QUICK RICHES (*) POISON

    (*) LOVE ME ALONE (*) WEAK EJACULATION

    (*) POOL/LOTTO/9JA BET (*) HEART TROUBLE

    (*) SUCCESS IN MARRIAGE (*) DISEASES OF ALL KIND

    (*) MEMBERSHIP FOR WEALTH (*) LOW SPERM COUNT

    (*) MIRACLE / VISION / POWER (*) SEX ISSUE

    (*) MARRY ME ALONE (*) STOP LESBIAN

    (*) WIN COURT CASE (*) STOP GAY

    (*) AGELESS BEAUTY (*) HEALTH DISEASES. E.T.C

    NOTE:- NO SIDE EFFECT IN ALL OUR SERVICES, 18 YRS ABOVE
    FOR MORE INFORMATION AND INQUIRIES CONTACT US ON THE FOLLOWING NUMBER

    TEL:- 08068954712

  49. Melissa Monet

    I don’t even have a HKEY_CURRENT_MACHINE in Win 7.

  50. Melissa Monet

    Windows 7- I don’t have the “Enabled” option in the right panel. For those that are saying to use HKEY_CURRENT_USER, I have even less options.
    I don’t want to use “FixWin”. Would you tell me how to manually add the Enabled option? Any help would be greatly appreciated.

  51. Tarekawy Elmasry

    Some antiviruses and usb protection tools disable Windows Script Host by default as several โ€œHTML malwareโ€ have been reported to use WSH objects
    so if you have any of theses protection tools (SMADAV for instance )
    go to its icon in the notification area right click on it and chose allow windows script & macro

  52. Adie

    Thanks a lot!!! This is the ultimate solution after all.

  53. Muthu

    sir..in my system HKEY_LOCAL_MACHINESoftwareMicrosoftWindows Script HostSettings not show the enabled option

  54. Aishah Humairah

    sir, mybe you could try HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings, it worked on my laptop

  55. Aishah Humairah

    sir, mybe you could try HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings, im using window 7 too.. it only worked when i went to HKEY_CURRENT_USER

  56. God'sluv

    Thanks, it worked for me

  57. megkar

    big thanks

  58. Bruce Lee

    I tried entering the 1 value which usually means enabled. OR
    0 means disabled, and also the registry entry by default doesn’t exist. I deleted that entry to but
    i keep getting that error. Any anther fix, i would be glad to know.
    Awaiting suggestion.

  59. Amy

    I need help bad brand new 3 pc all running windows 8.1 and part of win 10 along with xp I have no control to reach ref edit or cmd the computers seem to use sharing even my iMac has this issue not sure if it’s hacked or a nasty attack but my life is ruined here no one can fix this I own a shelter for woman we had to close pleas help

  60. Kingsley Ijike

    Thanks… really helpful!

  61. Creed

    HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings try it. it works

  62. sofia

    actually i was using windows 8 i am having the same problem in my registry editor their is no window
    host.. give me another solution for that

  63. Alex Lambino

    I’m using windows 7.
    That key is missing. All I have is Default, active debugging, display logo, silent terminate and use winsafer. What should i do?

  64. Zziwa Daniel

    Am using windows 10 64bit but I tried following the steps of enabling the windows host script but the enable thing is not there what can I do

  65. Greg

    i do not have the file Enable (REG_DWORD) in the registry editor right windows, what can i do to put it back there ?

  66. Arsy Uber

    Are u using smadav anti-virus? If so, then u should right-click on the app and click “allow windows script & macro (forever)”

  67. Chinhan

    Nice.. thank u for the information. My math teacher has this problem on his labtop, so i was checking/browsing around the internet for finding an answer that could solve this problem. At last, i found it on ur website. Btw, i am wondering what would i do next if ur problem-solver didn’t work ?? Cause i had seen many people used this way, at the first, it’s working perfectly, but after restarting, the same problem turned on again.

  68. Chinhan

    Make a new one… first, u should make the new ” REG_DWORD” by clicking right.. n then, rename it ( unto “enabled” ). Finally, change its value from 0 to 1.

  69. Emmason

    Thank you sir. Please i still need your help on how to reset any system BIOS password

  70. ikan bersirip

    Thank you so much. This site gives me a huge advantage on solving my problems.
    ๐Ÿ™‚

  71. Tinashe Zininga

    Me too. Please help

  72. Tinashe Zininga

    Click on OK and exit the Registry. If you donโ€™t see this entry, then you may need to create it, as it does not exist by default in Windows.

  73. hassan

    My pc doesnt show anything in desktop it show black and window script notification appear

  74. Tamandani Kalima

    Hie I have done that but it still show the same as if it is disabled , but am an enable it and it failed to start

  75. Refky Capirossi

    it dont have enabled

  76. Teacher Allan

    thanks you so much for this helpful information

  77. Othieno Ivan

    Thanks and Thanks And Thanks And THANKS 1001 TIMES, Having spent 48 hours on the machine watching various youtube tutorials which never helped. I was almost giving up. My machine couldnt even display the start up window. It could just display the welcome screen, the a dark plain blank screen with only the white cursor. But when i managed to maneuver and entered task manager, then clicked file , new task then i entered exploerer.exe. It opened thw windows then. I then used you genious steps to evable windows host service

    thanks so much

  78. Matodav7

    My System was showing Window Host Script disabled…I was able to access the desktop after enabling the WHS. However, after installing the virus it instructed I have to restart the Systems to effect the installation. After the restart the System screen went black after booting, with only the cursor arrow white, and it moves as I touch the pad or the screen touch. After running the antivirus (because it displayed an antivirus pop-up that permitted scanning, although the screen is blank and black), as the System has been infested with virus & Trojans, and after cleaning the infected files with he antivirus (about 157 in number), the Systems refuses to show desktop but black & blank! What to do?

  79. Use a standalone antivirus software to scan your system using a USB. You can use a Rescue Disc to boot. See https://www.thewindowsclub.com/standalone-on-demand-antivirus-scanners and https://www.thewindowsclub.com/system-rescue-disks-windows.

  80. Matodav7

    Thank you very much Sir. It’s almost incredible that the laptop could work again, but behold, it’s a reality! I give you kudos for this. I followed the instructions – the previous one & this – & they worked for me perfectly. I sincerely expressed my profound gratitude.

  81. Shaffy Ismail

    What if my computer won’t start apart it’s just displaying the same notification “window script host acces is disabled on this machine….”

  82. Idara

    hai i appreciate ur effort, but my system is window10 and it doesnt have enable button in registry editor

  83. I have mentioned there – If you don’t see this entry, then you may need to create it, as it does not exist by default in Windows. ๐Ÿ™‚

  84. Chris Franklin

    How do I create Enabled if I do not see it under my Windows Script Host settings. Under settings Enabled is not a choice. You mentioned it when your wrote “If you donโ€™t see this entry, then you may need to create it, as it does not exist by default in Windows.”

  85. Salou Ali

    Thanks to you all for this site web, it helpful.

  86. Jerry

    thanks, it works !

  87. Gabriel Mensah

    Pls my sony laptop switches on with “windows script host access is disabled. Contact your administrator for datail”does the only infinformation that can be isentified on my pc .any help please?

  88. clair

    there is no enable key in my registry key what should I do then?

  89. Winnie Clair

    thanks i just enable my that registry key, I hope that error will not pop out again

  90. Kristine Lopez Burlaos

    sir i followed the procedure above, the it shows that my it is enabled, but i am still receiving the message

  91. temmy

    my laptop is an amd processor couldnt find the enabled option so i created it but the problem still persists.
    now am trying the AMD option instead of microsoft.will that work

  92. ghie lhei

    whats the use of windows script host ?

  93. Mehdi

    Thanks ? i fixed the problem ..

  94. hloni

    Mine is still sending me that message and i did disable it

  95. Weldesenbet Ashebr

    really i would like to thank you more than i can say how much i get a lesson about windows script host access thanks again

  96. Goldman the quality boy

    hi there

  97. Gregory PILAU Jr.

    Hello I am trying to export columns in pronto to excel and am experiencing this problem. Despite changing the value from 0 to 1, it is not resolving the problem either. Can anybody help me with this?

  98. Sahil Sk

    HKEY_LOCAL_MACHINESoftwareMicrosoftWindows Script HostSettings
    But enable file not found please help???????

  99. Januzaj Mawia

    Thanks…. It’s work well.

  100. you saved me today, but I want to ask, what is that for.?

  101. mr.mikko

    why is’nt working it says “windows script host is disabled on his machine contak your administrator for details” but i created a new file on the registry like you said but it does not work

  102. ansel

    si, i didn’t find find it

  103. Matty Matt

    thank you so much!!

  104. Life Death

    Hey sir, I enabled my WIndows Script Host on my PC. But everytime when i shut down and reopen my PC the Windows Script Host will automatically turn back to disabled. This is really annoying to me since The Windows Script Host Is Disabled keeps popping out when Im in a game, and I need to Switch it back on.
    Is there anyway to permanently enable it?

  105. DJ Robert

    I have windows 8.1 ,I still can’t solve this problem

  106. Rias Grimore

    YEAH I ALRDY DO ALL THAT BUT WHEN IM TURNING OFF MY LAPTOP AND BACK ON IT BACK TO WINDOWS SCRIPT HOST ACCESS DISABLE OTS LIKE EVERYTIME IM LOG OFF AND LOG IM BACK MY LAPTOP IT BACK TO DISABLE IDK WHY. EVERYTIME I OPEN MY LAPTOP I HAVE TO DO ALL THE STEPS THTS MY ROUTINE HOLY PLS HELP ME IM LOST

  107. Dito Surya Putra

    mine still says windows script host is disabled

  108. Kirigaya Kazuto

    It doesn’t work in mine… plss help

  109. Kirigaya Kazuto

    I don’t have it in registry so i created one but it still doesn’t run my vbs file…

  110. max

    You are life saver. For windows 8 also it is under HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings

  111. max

    In windows 8.1 it is under
    HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings.
    and there is no entry so you have to create new DWORD (32BIT) VALUE and rename as Enabled and set value to 1.

  112. Shiva Rakesh

    Good morning ,sir!
    I done it all,
    But it shows “Windows Script Host access is disabled on this machine….”even after I done all you have said.

  113. Shivarakesh Sankaralingam

    Please reply sir!

  114. FCPDLawz

    i cant find the enabled thing it doesnt show pls help

  115. Deku

    After going through the procedure, I still get the “windows script host” message

  116. Samuel Mampane

    where do I right click on the smadav anti- virus app?

  117. Maxell

    Sir My Computer Does Not Even Show Anything It Just Says Default And I Have A AntiVirus Called Smadav And It Says Allow It And I Allowed It And Nothing Changed It Still Doesn’t Work

  118. oluwasuyi

    how can i create a system restore point

  119. A Rent

    could u tell me why i can’t fix it :/
    i’m trying for a couple of hours but without succes.

    could u please help me?

  120. Mr White

    Thanks A Lot

  121. Giyo

    hi, i need your help please, i am using windows 8.1 pro. i have followed this solution from you HKEY_LOCAL_MACHINESoftwareMicrosoftWindows Script HostSettings but i cant fine enable. what can i do

Leave a Reply

Your email address will not be published. Required fields are marked *


1 + 3 =