Browse by Tags

Tagged Content List
  • Blog Post: 2010 Scripting Games: Beginner Event 1--Updating and Creating Registry Keys

    Note : We are no longer accepting entries for this event. See the due dates page for a list of all event due dates. About This Event Division Beginner Date of Event April 26, 2010 Due Date May 3, 2010 Event Scenario...
  • Blog Post: Hey, Scripting Guy! How Can I List All the User Profiles on a Computer?

    Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent an important part of a system administrator’s duties...
  • Blog Post: How Can I Change the "Copy Music to This Location Folder" in Windows Media Player?

    Hey, Scripting Guy! How can I change the Copy music to this location folder in Windows Media Player? -- BD Hey, BD. You know, a lot of people think that the reason we Scripting Guys don’t do very much work is because we’re just plain lazy. Those people are right. However, what we tell our bosses is...
  • Blog Post: How Can I Retrieve a List of the System DSNs on a Computer?

    Hey, Scripting Guy! How can I retrieve a list of the System DSNs on a computer? -- RT Hey, RT. You know, there’s an old Hollywood superstition that suggests that famous movie stars always die in threes: if a famous star dies today, then according to legend two more famous stars are doomed to die in...
  • Blog Post: How Can I Monitor Changes to a Registry Key?

    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...
  • Blog Post: Use PowerShell to Detect Version of Internet Explorer

    Summary: Learn how to use Windows PowerShell to detect the version of Internet Explorer that is running on your computer. In this post: Access Environment Variables using a VBS Script Version Control for PowerShell Scripts Detect Internet Explorer Versions ...
  • Blog Post: How Can I Get a List of the ODBC Drivers that are Installed on a Computer?

    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...
  • Blog Post: How Can I Configure the History Setting in Internet Explorer?

    Hey, Scripting Guy! How can I configure the Days to keep pages in history setting in Internet Explorer? -- AK Hey, AK. To tell you the truth, at first we were a little hesitant about answering this question. Why? Well, we’ve all seen enough TV to know that you aren’t supposed to mess around with history...
  • Blog Post: How Can I Retrieve a List of the Commands Typed Into the Run Dialog Box?

    Hey, Scripting Guy! Sometimes I type commands in the Run dialog box that I’d like to retrieve later on. I know the most recent commands I used are cached somewhere; that’s because they show up when I start typing in the Run dialog box. How can I use a script to retrieve these commands? -- KJ Hey,...
  • Blog Post: 2010 Scripting Games: Advanced Event 1--Updating and Creating Registry Keys

    Note : We are no longer accepting entries for this event. See the due dates page for a list of all event due dates. About This Event Division Advanced Date of Event April 26, 2010 Due Date May 3, 2010 Event Scenario The boss has decided...
  • Blog Post: How Do I Install PowerShell on Windows 7 and Other Questions

    Summary: Learn how to install Windows PowerShell on Windows 7, how to detect 32-bit PowerShell, or how to read an offline registry. In this post: Install Windows PowerShell on Windows 7 Detect 32-bit PowerShell Read an Offline Registry Working with Security Logs Install...
  • Blog Post: How Can I Delete a Single Registry Value?

    Hey, Scripting Guy! How can I delete a single registry value? I don’t want to delete the entire registry key, just one value. -- BF Hey, BF. Registry terminology can be a bit confusing, thanks in large part to those of us here at Microsoft (we tend to use a different set of terms when we talk about...
  • Blog Post: How Can I List All the User Profiles on a Computer?

    Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent an important part of a system administrator’s duties...
  • Blog Post: Hey, Scripting Guy! How Can I Retrieve All the Values in a Registry Key?

    Hey, Scripting Guy! Do you have a script that will enable me to enumerate all the values in a registry key? -- DG Hey, DG. You know, this past weekend the Scripting Guy who writes this column went out to buy doughnuts, a process that took much longer than it should have. Why did it take so long just...
  • Blog Post: How Can I Change the Text for the Marquee Screen Saver?

    Hey, Scripting Guy! How can I change the text for the Marquee screen saver? -- SJ Hey, SJ. Greetings from the frozen wasteland formerly known as Redmond, WA. On Monday night a freak November snowstorm hit the Seattle area. However, instead of leaving behind snow it left behind an inch or so of ice;...
  • Blog Post: Hey, Scripting Guy! How Can I Determine the Currency Symbol in Use on a Computer?

    Hey, Scripting Guy! Is there any way to determine the currency symbol that’s in use on a computer? -- IR Hey, IR. Before we get started today we wanted to mention that the Scripting Son picked up his second win in as many pitching starts the other day as the Juanita Rebels rolled past Franklin High...
  • Blog Post: Can I Create and Delete a DSN Using a Script?

    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...
  • Blog Post: Hey, Scripting Guy! How Can I Change a Registry Value Named (Default)?

    Hey, Scripting Guy! I am trying to change a registry value that has the name (Default). I can change any registry value that has a “real” name, but I can’t figure out how to change one with the name (Default). If I export the value the name shows up as @, but that doesn’t work in my script, either. How...
  • Blog Post: How Can I Clear the List of URLs That Appear in the Internet Explorer Address Bar?

    Hey, Scripting Guy! How can I clear the list of URLs that appear in the Internet Explorer address bar? -- GA Hey, GA. You know, if you’ve ever pondered the question, “What is it that makes the Scripting Guys different from other Microsoft employees?” well, we can save you some time and trouble by...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (1/8/10)

    In this post : How Can I Read the Default Value of a Registry Key? How Can I Get Windows PowerShell for Windows 7? Getting the Get-WmiObject Cmdlet to Work What's the Best Way to Detect Registry Keys Using the WMI Provider? How Can I Read the Default Value of a Registry Key? ...
  • Blog Post: How Can I Change the Description for a Computer?

    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 Hey, GF. Just to make sure everyone is clear what we’re talking about, we are not talking about the...
  • Blog Post: How Can I Tell Whether a Value Exists in the Registry?

    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...
  • Blog Post: Hey, Scripting Guy! How Can I Determine the Default Buffer Size for the Command Window?

    Hey, Scripting Guy! How can I determine the default buffer size for the command window? -- GO Hey, GO. You know, some of you might be wondering, “Why a daily scripting column ? Why not, say, a daily scripting TV show?” That’s a good question, and there are a number of reasons...
  • Blog Post: 2010 Scripting Games: Beginner Event 6--Reporting the Status of Registry Keys

    Note : We are no longer accepting entries for this event. See the due dates page for a list of all event due dates. About This Event Division Beginner Date of Event May 3, 2010 Due Date May 10, 2010 Event Scenario A recent network trace...
  • Blog Post: Registry Script Doesn't Work

    Hey, Scripting Guy! I tried writing a script to read data from the registry, but I keep getting this error: Do you have any idea what's wrong? I'm running Windows XP Professional, Service Pack 1, and this is the code I'm using: Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "."...