Scripting Blog [archived]

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

How Can I Log the Start Time and the End Time of the Screensaver?

(image) Hey, Scripting Guy! How can I log the start time and the end time of the screensaver?-- JS(image) (image) (image) Hey, JS. You know, one of the Scripting Guys (hey, who said “It must be Greg”?) is old enough to remember the days when screensavers first came out. Back then a script like this would have been meaningless: after ...

How Can I Retrieve the Path to the Program Files Folder on a Computer?

(image) Hey, Scripting Guy! How can I retrieve the path to the Program Files folder on a computer?-- CC(image) (image) (image) Hey, CC. How can you retrieve the path to the Program Files folder on a computer? Well, to be honest, not as easily as we thought you could. If you’re trying to retrieve the Program Files path on the local ...

How Can I Change the Description for a Computer?

(image) Hey, Scripting Guy! When I use Windows Explorer to connect to a remote computer, I can see a description of that computer in the Details pane. How can I change the description for a computer?-- GF(image) (image) (image) Hey, GF. Just to make sure everyone is clear what we’re talking about, we are not talking about the Description...

How Can I Lock a Workstation After Five Minutes of Inactivity?

(image) Hey, Scripting Guy! How can I lock a workstation after five minutes of inactivity, something recommended to us by our auditors?-- NM(image) (image) (image) Hey, NM. To tell you the truth, we don’t know. Locking a computer remotely can be a bit of a problem; for more information on that, take a look at one of our columns from a ...