Hi, I'm trying to run a vbs script but it was disabled for some reason that I don't know and displaying a massage like this 'Windows Script Host access is disabled on this machine. Contact your administrator for details',
So I managed to enable it through regedit, but sad to say when I restart my computer it will disabled on its own.... again!
And because of it I can't run my vbs script at startup
and I also noticed that it is somehow disabled by default in windows 10 even if you are an administrator
anybody happened to encounter this problem.. And manage to solve it?
Please help me!....
thank you..
So I managed to enable it through regedit, but sad to say when I restart my computer it will disabled on its own.... again!
And because of it I can't run my vbs script at startup
and I also noticed that it is somehow disabled by default in windows 10 even if you are an administrator
anybody happened to encounter this problem.. And manage to solve it?
Please help me!....
thank you..
Hi Cibi,
I've got this message about one weeks ago. 'Windows Script Host access is disabled on this machine. Contact your administrator for details' Hi Demoted9, Windows Script Host or WSH, is a Microsoft technology that provides scripting abilities like batch files, but includes many more features. To enable or disable Windows Script Host, type regedit.exe. Jan 06, 2011 Contact your administrator for details', WSH is disabled, and your problem with PostgreSQL installation may be related to it (or may be not). Here is how to enable Windows Script Host for the current user (assuming he/she has administrator rights, of course): Start Registry Editor (Start = Run. In the Registry Editor open HKEYCURRENTUSERSoftware.
After going through your issue description, it appears that you have an issue with computer performance. We need some more information to assist you with the issue, please answer the followings.
- Which antvirus application are you using?
- Did you make any changes to the computer prior to this issue?
In-order to work on computer’s performance issue, refer to the following information.
In more desperate circumstances, you can disable Windows Script Host; this will prevent users from running any scripts (including VBScript and JScript scripts) that rely on WSH.
To disable Windows Script Host, create one of the following two registry entries (REG_DWORD) and set the value to 0 (you need to create the entry, because it does not exist by default). To disable WSH for a particular user, create this entry:
To disable WSH for all users of a particular computer, create this entry:
This message box appear even if the user attempts to start the script from a batch file or using a designated script host (for example, by typing cscript.exe c:scriptsmyscript.vbs at the command prompt).
Hope this information is helpful. Please do let us know if you further assistance with Windows, we’ll be glad to assist you!