computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,450 tips!

Windows XP and DOS

Open a System Management Console

SUMMARY: Open computer management consoles from a Windows XP/DOS batch file.

Writing a Windows XP/DOS batch file that needs to open up a management console for the viewing or changing of system information? Use the mmc command, followed by the path of a .msc management console file you wish to run. The following are a few examples of consoles you can run:

You may need to be logged in as an Administrator to access these features.


mmc %systemroot%\system32\devmgmt.msc

Opens the device manager.

mmc %systemroot%\system32\diskmgmt.msc

Opens the disk management tool. Use this to view partition tables.

mmc %systemroot%\system32\dfrg.msc

This starts the GUI-based disk defragment tool from a batch file. Note that you can also open a DOS-based defrag tool from batch files.

mmc %systemroot%\system32\gpedit.msc

Opens the Group Policy editor.

mmc %systemroot%\system32\perfmon.msc

Opens the System Performance Monitor and Performance Logs and Alerts.

mmc %systemroot%\system32\services.msc

Opens the Services configuration. View, start, stop, pause, or restart services.

 

 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 

Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows XP and DOS page.


More in MalekTips:
Mozilla Firefox - Security and PrivacyWindows Vista - ExplorerWindows XP - Outlook Express



[MODIFIED] Clear the Download Manager History or Disable ItShow File ExtensionsStop Sending Messages Immediately

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2008 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums