Scripting Blog [archived]

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

How Can I Turn Off the Windows XP Service Pack 2 Firewall?

(image) Hey, Scripting Guy! How can I turn off the Service Pack 2 firewall?-- JC(image) (image) (image) Hey, JC. You know, if there’s a drawback to working at Microsoft (and if our manager is reading this we hasten to add that there are no drawbacks to working at Microsoft) it’s this: no matter what you do some people will be glad you ...

How Can I Return a List of All the Users Whose User Account Never Expires?

 (image) Hey, Scripting Guy! How can I return a list of all the users whose user account never expires?-- PG(image) (image) (image) Hey, PG. You know, no one - not even his own mother! - has ever claimed that the Scripting Guy who writes this column is a genius. Needless to say, then, the first time he read this question he thought it...

How Can I Disable the Guest Account on a Computer?

(image) Hey, Scripting Guy! How can I determine whether or not the Guest account is enabled on a computer and, if it is, disable it?-- PR(image) (image) (image) Hey, PR. At last: a question for which there is a very simple, very straightforward answer. This isn’t to minimize the importance of the task: in general, it’s highly ...

How Can I Determine the Owner of a File?

(image) Hey, Scripting Guy! Is there a way to determine the owner of a file by using a script?-- BD(image) (image) (image) Hey, BD. As a matter of fact there is a way to use a script to determine the owner of the file, though it’s understandable why you might not be able to find that information on your own. After all, there are two main...