How can I execute Microsoft Snap-in Console files without typing the .msc extension?

A. By default, you don't have to type the extension to run certain file types (e.g., .exe, .bat). To add the Microsoft Snap-in Console to this list, you need to add .msc to your PATHEXT variable. To change this setting for a single command session, type

 set pathext=%pathext%;.MSC

To change this setting for all of Windows, you need to modify the system environment variable by performing the following steps:

  1. Start the System Control Panel applet (go to Start, Settings, Control Panel, System).
  2. Select the Advanced tab.
  3. Click Environment Variables.
  4. Under "System variables," double-click PATHEXT.
  5. Click Edit and add ;.MSC to the end of the string, then click OK.
  6. Click OK when prompted to close each dialog box.

You will now be able to start the Microsoft Snap-in Console without typing the .msc file extension after the snap-in filename (e.g., devmgmt).

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish