Showing archive results for 2005

Jul 11, 2005
Post comments count0
Post likes count1

How Can I Monitor Changes to a Registry Key?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to use a script to monitor changes to a registry key? I’d like to be notified any time someone makes changes to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run key.-- SB Hey, SB. And by the way, thanks for wording the question the way you did: it’s actually pretty easy to receive notificati...

Scripting Guy!scripting techniquesVBScript
Jul 8, 2005
Post comments count0
Post likes count0

How Can I Use a Script to Rename a Printer?

ScriptingGuy1

Hey, Scripting Guy! How can I use a script to rename a printer?-- SB Hey, SB. Well, if your printer is connected to a Windows 2000 or Windows NT 4.0 print server we have bad news for you: you can’t rename a printer using a script, at least not using the technologies included in the operating system. (There might, or might not, be third-party too...

Scripting Guy!VBScriptWMI
Jul 7, 2005
Post comments count0
Post likes count0

How Can I Get a List of the ODBC Drivers that are Installed on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I get a list of the ODBC drivers that are installed on a computer?-- VV Hey, VV. This is one of those questions that end up driving us crazy. That’s because it: a) seems so simple and, b) appears as though there are a number of ways to get this information. For example, on our Windows XP computer we have no fewer than...

Scripting Guy!VBScriptWMI
Jul 6, 2005
Post comments count0
Post likes count0

How Can I Cause a User’s Password to Expire?

ScriptingGuy1

Hey, Scripting Guy! How can I cause a user’s password to expire?-- GB Hey, GB. You know, one thing people dislike about politicians is that any time you ask them a question many politicians will give you an answer to a different question. Even worse, if you press them on that point they’ll tell you that there’s a good reason why they did that: a...

Scripting Guy!VBScriptActive Directory
Jul 5, 2005
Post comments count0
Post likes count0

How Can I Determine When a User Last Changed His or Her Password?

ScriptingGuy1

Hey, Scripting Guy! How can I determine when a user last changed his or her password?-- MG Hey, MG. A long time ago one of the Scripting Guys worked at a local university. In one of the departments there it was easy to determine when a user last changed his or her password: that’s because the administrative assistant kept a list of all the users...

Scripting Guy!VBScriptActive Directory