If you receive this Windows Script Host access is disabled on this machine, Contact your administrator for details message box, on your Windows 11/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 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 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
The method to enable or disable Windows Script Host is the same for both Windows 11 and Windows 10 operating systems. You have to use Registry Editor for this. To enable or disable Windows Script Host, type regedit.exe in the Run box and hit Enter to open the Registry Editor. Navigate to the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings
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.
How to install Windows Script Host?
Windows Script Host is an administration tool that comes built-in in all Windows operating systems. Because it is pre-installed on Windows computers, you need not install it. If you want to use it, you have to enable it. To do so, you have to modify Windows Registry. Hence, before proceeding, create a System Restore Point and back up your Registry.
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 11/10.
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
Glad it helped you. :)
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
Which Windows version are you using?
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:
Thank you for the kind words. :)
I have a similar prob as Vibha. I am using Windows xp. Could you please let know a way out of this. :-)
Can you search for CMD ?
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
WIN 8 I CAN’T SEE REG_DWORD 0x00000000 (0) its missing
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?
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?
hello sir i changed the value as per your instruction but the same error pops up when I restart my laptop
good show, it seems to work, muchas gracias amigo!
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.
I have same problem
Nice article bro. I’ll give it a try
don’t working the way.. same problem showing…
i dont have enabled option in my left panel, what should i do?
I m sorry. It should be the Right panel. I change corrected the typo.Please see the image to get and idea.
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
Use our FixWin. It offers a 1-click fix under the Additional fixes section: https://www.thewindowsclub.com/fixwin-for-windows-10
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?
not work !!
hello i cant see the “Enable” file, how to fix this? thanks sir, this is the screenshot >> prntscr.com/axdbva
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.. :)
This was indeed helpful. Bravo sir.
please keep helping beginners online
Use https://www.thewindowsclub.com/fixwin-for-windows-10
There’s no Windows Script host :(
Hy sir.. Is it okay if i just ignore it? Just to do nothing with the problem? Thank you
Yes.
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 ?
i couldn’t find the enable option
did u got the solution dear?
Hie sir, I followed every instruction as stated but I still get the error message. May you help me there please…
klik notification area > right klik smadav softwere >choose Windows Script & Macro (Forever)
I dont have the enable option on my right panel after click setting…what it be?
i tried it but it still shows the problem.(im using win 7)
Hi Anand if they go direct to run then type wscript.exe or cscript.exe i think they can reach there
for windows 10,HKEY_CURRENT_USER
for windows 7 its on HKEY CURRENT USERS then do the same steps as mentioned above
then what.
what is the next step
hey I tried using the FixWin but nothing happened. I tried restarting my com but its not working the same problem arise
HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings
Thank you so much for this information.
Does not work with HKEY_LOCAL_MACHINE
However it works with HKEY_CURRENT_MACHINE in Windows 7!
Thank you so much!
Sir i have same problem with arsy uber, can you help us with this problem? thank you so much sir.
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
thanks
I don’t even have a HKEY_CURRENT_MACHINE in Win 7.
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.
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
Thanks a lot!!! This is the ultimate solution after all.
sir..in my system HKEY_LOCAL_MACHINESoftwareMicrosoftWindows Script HostSettings not show the enabled option
sir, mybe you could try HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings, it worked on my laptop
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
Thanks, it worked for me
big thanks
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.
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
Thanks… really helpful!
HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings try it. it works
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
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?
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
i do not have the file Enable (REG_DWORD) in the registry editor right windows, what can i do to put it back there ?
Are u using smadav anti-virus? If so, then u should right-click on the app and click “allow windows script & macro (forever)”
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.
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.
Thank you sir. Please i still need your help on how to reset any system BIOS password
Thank you so much. This site gives me a huge advantage on solving my problems.
:)
Me too. Please help
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.
My pc doesnt show anything in desktop it show black and window script notification appear
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
it dont have enabled
thanks you so much for this helpful information
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
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?
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.
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.
What if my computer won’t start apart it’s just displaying the same notification “window script host acces is disabled on this machine….”
hai i appreciate ur effort, but my system is window10 and it doesnt have enable button in registry editor
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. :)
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.”
Thanks to you all for this site web, it helpful.
thanks, it works !
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?
there is no enable key in my registry key what should I do then?
thanks i just enable my that registry key, I hope that error will not pop out again
sir i followed the procedure above, the it shows that my it is enabled, but i am still receiving the message
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
whats the use of windows script host ?
Thanks ? i fixed the problem ..
Mine is still sending me that message and i did disable it
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
hi there
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?
HKEY_LOCAL_MACHINESoftwareMicrosoftWindows Script HostSettings
But enable file not found please help???????
Thanks…. It’s work well.
you saved me today, but I want to ask, what is that for.?
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
si, i didn’t find find it
thank you so much!!
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?
I have windows 8.1 ,I still can’t solve this problem
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
mine still says windows script host is disabled
It doesn’t work in mine… plss help
I don’t have it in registry so i created one but it still doesn’t run my vbs file…
You are life saver. For windows 8 also it is under HKEY_CURRENT_USERSoftwareMicrosoftWindows Script HostSettings
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.
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.
Please reply sir!
i cant find the enabled thing it doesnt show pls help
After going through the procedure, I still get the “windows script host” message
where do I right click on the smadav anti- virus app?
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
how can i create a system restore point
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?
Thanks A Lot
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