Jump to content

Windows Host script Disabled windows 10


davendranath

Recommended Posts

I am having windows 10  64 Bit and I am regularly facing with problem of Windows Host Script Disabled

I have Malware Anti malware and I have scanned my computer but no malware found

I have run antivirus but no error found

I have run Trojan Killer but nothing found

On line scanning but no error found

 Scan CMD in Administrator    sfc /scannow  and dism /online /cleanup-image /restorehealth...........No error
 

Microsoft Windows [Version 10.0.14393]
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.

Office 2016 Status:
===================
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.
I have 

Microsoft Windows [Version 10.0.14393]
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.


Office 2016 Status:
===================
CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.

 

I have also modified HKEY_LOCAL_MACHINE | Software | Microsoft | Windows Script Host | Settings and created DWORd 32/ QWORD64 and modified with numerical 1 and restarted and various measures but all in vain

Please help me out

 

Link to comment
Share on other sites


  • Replies 9
  • Views 1.3k
  • Created
  • Last Reply

You're talking about the key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

but if is banned by the user (for current user in this case), this change does not work.

Therefore, look at this key

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings

how is there.
Here is how it should be by default.

1. 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings]
"ActiveDebugging"="1"
"DisplayLogo"="1"
"SilentTerminate"="0"
"UseWINSAFER"="1"

2.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings]

By default it is empty. 

NB! WOW6432Node must be the same

Here is the first

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Script Host\Settings]
"ActiveDebugging"="1"
"DisplayLogo"="1"
"SilentTerminate"="0"
"UseWINSAFER"="1"

If all this is so, and still does not work, there is still a chance that any of the File Association is or amended or prohibited.

If also there isn't changes, it is likely the problem can not be solved without having to do a completely new clean installation.

So I suggest to investigate the matter and let us know what found.

Link to comment
Share on other sites


Changing the registry settings may not solve your problem if the real problem is a dll that is corrupt or not registered.  Try re-registering the dlls shown below and try it.

 

Run as Administrator Command Prompt, then

Execute below commands-
regsvr32 actxprxy.dll
regsvr32 oleaut32.dll
regsvr32 ole32.dll
regsvr32 Ieframe.dll
When you're done, type EXIT and press ENTER.

 

Additionally, if either of these two keys exist in your registry delete them.  They are only needed if you want to DISABLE script host.

 

HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\Enabled
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings\Enabled

Link to comment
Share on other sites


11 hours ago, straycat19 said:

Changing the registry settings may not solve your problem if the real problem is a dll that is corrupt or not registered.  Try re-registering the dlls shown below and try it.

 

Run as Administrator Command Prompt, then

Execute below commands-
regsvr32 actxprxy.dll
regsvr32 oleaut32.dll
regsvr32 ole32.dll
regsvr32 Ieframe.dll
When you're done, type EXIT and press ENTER.

 

Additionally, if either of these two keys exist in your registry delete them.  They are only needed if you want to DISABLE script host.

 

HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\Enabled
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings\Enabled

Sir,

regsvr32 Ieframe.dll

The module  Ieframe.dll failed to load

The specific module could not be found

Please guide further

Link to comment
Share on other sites


 

16 hours ago, Kalju said:

You're talking about the key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

but if is banned by the user (for current user in this case), this change does not work

If all this is so, and still does not work, there is still a chance that any of the File Association is or amended or prohibited.

If also there isn't changes, it is likely the problem can not be solved without having to do a completely new clean installation.

So I suggest to investigate the matter and let us know what found

Sir I have done as suggested by You but even after restart problem persists

 

7

Link to comment
Share on other sites


4 hours ago, davendranath said:

Sir,

regsvr32 Ieframe.dll

The module  Ieframe.dll failed to load

The specific module could not be found

Please guide further

You will not find it, because such a thing does not exist. There is a spelling mistake,  should be ieframe.dll
It is " i " not " I "


So, now is the registry data in controlled and still does not work, then please say one more thing - can You use the .vbs script, .js script (files), etc. Perhaps they would be prohibited?
If can use them, and the error occurs only when using Office, then it is an Office mistake. If anything can not do, it's a Windows bug.
Here is two scripts for testing.
The first is vbs, which toggles show/hide hidden files and the second is js file, which opens shotdown menu (usually does it Alt+F4, if is opened only desktop)
 


show/hide hidden files: 

Hidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
SSHidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden"
Set Command = WScript.CreateObject("WScript.Shell")
Check = Command.RegRead(Hidden)
If Check = 2 Then
Command.RegWrite Hidden, 1, "REG_DWORD"
Command.RegWrite SSHidden, 1, "REG_DWORD"
Else
Command.RegWrite Hidden, 2, "REG_DWORD"
Command.RegWrite SSHidden, 0, "REG_DWORD"
End If
Command.SendKeys "{F5}"

Copy this script on Notepad and then Save as => ShowHideHiddenFile.vbs => slect All files (*.*) and Unicode (not ANSI)

 

The second is here


(new
 ActiveXObject("Shell.Application")).ShutdownWindows();

Save it on the desktop with name ShutDownMenu.js and all other is the same, ie  slect All files (*.*) and Unicode (not ANSI)

 

Then double click on them and see, if they works. If working, then these scripts are enabled, and problem is in Office.

Link to comment
Share on other sites


4 hours ago, Kalju said:

 

Sir,

The windows host was disabled by SMAD AV (An Antivirus )as a routine matter but I was not aware of this and there was no such sign given.The VBS script when run gave a pop up from Smad AV how to proceed and matter stand resolved Thanks to you for the help extended by you 

Link to comment
Share on other sites


10 minutes ago, Kalju said:

Is it now solved?

sir Admittedly Yes and Thanks to You and Straycat19 for helping me out.

Link to comment
Share on other sites


1 minute ago, davendranath said:

sir Admittedly Yes and Thanks to You and Straycat19 for helping me out.

Thanks and all the best for the future!

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...