Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Add a Site to Internet Explorer’s Restricted Sites Zone?

(image) Hey, Scripting Guy! How can I add a site to Internet Explorer’s Restricted Sites zone on a remote computer?-- NS(image) (image) (image) Hey, NS. When it comes to scripting, Internet Explorer has a sort of dual personality. If you want to program the application itself, well, you came to the right place: Internet Explorer’s ...

How Can I Delete a Single Registry Value?

(image) Hey, Scripting Guy! How can I delete a single registry value? I don’t want to delete the entire registry key, just one value.-- BF(image) (image) (image) Hey, BF. Registry terminology can be a bit confusing, thanks in large part to those of us here at Microsoft (we tend to use a different set of terms when we talk about the ...

How Can I Write Binary Data to the Registry?

(image) Hey, Scripting Guy! How can I write binary data to the registry?-- FG(image) (image) (image) Hey, FG. WMI’s Standard Registry Provider includes a method - SetBinaryData - that makes it relatively easy to write binary data to the registry. There’s one little catch to be aware of, but we’ll let you know what that is. First, ...

How Can I Change the Legal Warning Message Using a Script?

(image) Hey, Scripting Guy! How can I use a script to change the legal warning message on a computer?-- RB(image) (image) (image) Hey, RB. As you all probably know, when you press Ctrl-Alt-Delete to log on to Windows, you’re typically presented with a logon box. You type your user name, domain, and password in the box, click OK, and away...