Showing results for operating system - Scripting Blog [archived]

Jan 17, 2005
0
0

How Can I Change the Legal Warning Message Using a Script?

ScriptingGuy1
ScriptingGuy1

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 includes a p...

Scripting Guy!VBScriptoperating system
Jan 3, 2005
0
0

How Can I Determine the Account a Process is Running Under?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’ve got a script that returns information about all the processes running on a computer, except I can’t seem to figure out how to get the name of the user account that these processes are running under. Can you help?-- DL Hey, DL. Yes, we can help. It’s actually fairly easy to determine which account a process is running und...

Scripting Guy!VBScriptoperating system
Nov 10, 2004
0
0

Can I Create and Delete a DSN Using a Script?

ScriptingGuy1
ScriptingGuy1

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 the regis...

Scripting Guy!VBScriptoperating system
Oct 29, 2004
1
0

How Can I Tell Whether a Value Exists in the Registry?

ScriptingGuy1
ScriptingGuy1

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, obviously there...

Scripting Guy!VBScriptoperating system
Oct 6, 2004
0
0

How Can I Tell Which Scripts are Running on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell which scripts are running on a computer?-- NW Hey, NW. This is a question we’re always a little reluctant to answer, because there’s a 50-50 chance you’ll be disappointed with what you hear. If you are running Windows 2000 (or a previous version of Windows), the answer is pretty straightforward: you can’t. A sc...

Scripting Guy!VBScriptoperating system