Results 1 to 2 of 2

Thread: Enabling and disabling Windows Scripting Host

  1. #1
    Join Date
    Jun 2009
    Posts
    44
    Rep Power
    0

    Default Enabling and disabling Windows Scripting Host

    The Windows Scripting Host is a potential security risk. Since you hardly use this function in any case, you want to disable the same. However, at the same time, you should be able to reactivate it quickly for running other scripts.

  2. #2
    Erick Ballmer is offline Member
    Join Date
    Jun 2009
    Posts
    53
    Rep Power
    3

    Default

    The Windows Scripting Host can be deactivated by means of a registry entry. If you wish to enable and disable this system function more often, it is worthwhile to spend some extra time at one go to integrate a new setting in the folder options of Windows Explorer.

    DISABLING WSH:

    To start with, we will explain the fundamental procedure here: To disable, open 'Run' in the Start Menu, enter 'regedit' and click 'OK'. Now navigate to the 'HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows Script Host\Settings' key, click on the right part of the window and open 'Edit I New I String Value'. Now enter the name 'Enabled' and press [Enter]. To edit, double-click the new entry, set the Value to '0' and confirm with 'OK'. The setting is effective immediately without a restart. As soon as you start a VBS script, an error message, saying that Windows Scripting Host is deactivated for this computer, is displayed. To enable, set the new value to '1' again.

    Setting the change-over switch:

    In order to integrate a change-over switch in the Internet Options of Windows Explorer, open Notepad and enter the lines given below.

    Windows Registry Editor Version 5.00
    [HKEY LOCAL MACHlNE\ SOFTWARE\Microsoft\ Windows\CurrentVersion\ Explorer\Advanced\Folder\ EnableScriptHost]

    'Type'='checkbox' 'Text'='Windows Script Host enable'
    'HKeyRoot' =dword: 80000001
    'RegPa th' =' Software \\Microsoft\\
    Windows Script Host\\Settings' 'ValueName'='Enabled' • 'CheckedValue'=dword:OOOOOOOl 'UncheckedValue'=dword:OOOOOOOO 'DefaultValue'=dword:OOOOOOOO

    Save the content as 'Scripthost-option. reg' and close the editor. Now start the REG file with a double click. Confirm the same with 'Yes' and click 'OK', Windows will integrate the data automatically into the registry.

    Activating WSH using the option:

    In Windows Explorer, select the 'Tools I Folder Options' command and go to the 'View' tab. In the 'Advanced Settings' area, you will now find the new 'Activate Windows Scripting Host' option at the end, which is disabled by default. In the future, you can comfortably control the settings from here.

Similar Threads

  1. Remotely Disabling Windows XP SP2 Firewall
    By BakerJones in forum Windows XP
    Replies: 0
    Last Post: 01-29-2010, 02:29 PM
  2. Disabling Windows Installer on XP
    By HallMiller in forum Software Jargons
    Replies: 0
    Last Post: 01-14-2010, 02:37 PM
  3. Disabling of windows in safe mode
    By Adam147 in forum Everything Else
    Replies: 4
    Last Post: 05-08-2009, 03:25 PM
  4. Disabling and EnabLing User Accounts
    By MACONAQUEA77 in forum Windows XP
    Replies: 0
    Last Post: 12-04-2008, 09:33 AM
  5. Enabling And Disabling Automatic Tasks
    By Newtech32 in forum General Internet Terms
    Replies: 0
    Last Post: 04-15-2008, 09:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48