Hey, Scripting Guy! How can I write binary data to the registry?-- FG
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, though, let’s take a look at a ...
Hey, Scripting Guy! How can I add a Web site to the Trusted Sites zone in Internet Explorer?-- NR
Hey, NR. As it turns out, trusted sites are actually stored in the registry; consequently, adding a Web site is simply a matter of creating and configuring a new registry key. For example, suppose you want to trust Microsoft.com. (And, really, ...
Hey, Scripting Guy! How can I use a script to change the legal warning message on a computer?-- RB
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 you go.
However, Windows ...
Hey, Scripting Guy! Is it possible to create an ODBC Data Sources Name (DSN) on the fly and then remove it when done?-- KC
Hey, KC. Is it possible to create and then delete an ODBC DSN? To tell you the truth, we weren’t entirely sure. As it turns out, however the answer is this: as long as you’re willing to write a script that modifies ...
Hey, Scripting Guy! How can I tell whether a value exists in the registry on a remote computer?-- AL
Hey, AL. Full disclosure time: even though we go by the name The Scripting Guys, we don’t claim to know everything there is to know about scripting. This question is a good example of that. When we first read it we thought, “Well, ...