Scripting Blog [archived]

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

How Can I Get the Full Name and Description For My Local User Accounts?

(image) Hey, Scripting Guy! How can I get the full name and description for each of my local user accounts?-- EB(image) (image) (image) Hey, EB. You know, this might be hard to believe, but many people view the Scripting Guys with suspicion. OK, good point; the part that is hard to believe is why they view the Scripting Guys with suspicion...

How Can I Rename a User Account in a Windows NT 4.0 Domain?

Hey, Scripting Guy! How can I rename a user account in a Windows NT 4.0 domain?-- JK(image) (image) (image) Hey, JK. You know, as this column is being written it’s a Monday here in Seattle, and it’s raining. And yes, we know what you’re thinking: when isn’t it raining in Seattle? Unfortunately, though, our weather is much crueler ...

How Can I Rename a Local User Account on a Windows XP Computer?

(image) Hey, Scripting Guy! How can I rename a local user account on a Windows XP computer?-- TY(image) (image) (image) Hey, TY. You know, nowadays the “in” thing is to poke fun at Microsoft and Windows XP. We know: we’ve seen the new commercials from that one computer company. (Remember, the computer company that used to be good, a ...

How Can I Distinguish Between Local Users and Domain Users?

(image) Hey, Scripting Guy! When using a script to return members of the local Administrators account, how can I distinguish between local users and domain users?-- KS(image) (image) (image) Hey, KS. You know, many years ago there was a TV game show called What’s My Line? The premise of the show was that some person with an unusual ...

How Can I Delete Everyone Except the Administrator and the Domain Admins Group from the Local Administrators Group?

(image) Hey, Scripting Guy! How can I delete everyone except the Administrator and the Domain Admins group from the local Administrators group?-- JS(image) (image) (image) Hey, JS. You know, when you become a doctor you have to take the Hippocratic Oath, which famously begins, “First, do no harm.” When you become a Scripting Guy you ...