Security tips & tricks

Disabling the Windows Script Host

Many malware infections occur through the use of vbs files. By disabling the Windows Script Host, these files will not run and it will stop a potential infection.

For a user, you can set this registry key:

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

You should set the value of this key to zero (0).

For all users on the machine you can set this key:

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