Creating Registry Subkeys and Entries

Microsoft® Windows® 2000 Scripting Guide

microsoft windows 2000 scripting guide

« Previous | Next »   

Managing computer system configuration by directly editing the registry usually involves changing the value of certain entries, not creating new ones. However, some registry subkeys, entries, and values can be used to affect the configuration of a computer, even though these items are not automatically created when the operating system is installed.

For example, to use the WshController object, you must first create an entry named Remote in the HKLM\SOFTWARE\Microsoft\Windows Script Host\Settings subkey on the remote computer on which you want to run scripts. The Remote entry is not created by default, yet the WshController object cannot be used until the entry has been added and its value set to 1. This means you must create this entry and set the value before you will be able to run remote scripts either from or against a given computer.

Fortunately, you can use scripts to create both registry subkeys and registry entries.


send us your feedback Send us your feedback « Previous | Next »   


Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
Microsoft Windows 2000 Scripting Guide(c) Automating System Administration 2003
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 635

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net