Windows Command Guide 2011


Published on

Version 4.0.0

Welcome to the “Windows Command Guide”. Here you will get all types of Windows
commands, tips and tricks useful for Microsoft Windows. This ebook is useful for all Windows
version from Windows 2000 to Windows 7 or later. The 1st part (550+ commands) of this
ebook is for everyday computer user and the 2nd part (700+ commands) is for advance user
and power user. Read this ebook and explore the precious contents inside.
As a computer user you may know about some commands. This ebook includes
every possible commands those available on Windows platform. The objective of the ebook is
to do more on Windows with less effort and became an expert. There are many long and
irregular commands, commonly you may not use it frequently – but these exist whether you
know it or not.

Published in: Technology
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Windows Command Guide 2011

  1. 1. Windows Command Guide 2011 Version 4.0.0 RC (April 2011) [1200+ Commands] World’s only ebook to provide complete information on Windows Commands. Ebook is updating at least twice per month. Get the latest version: (PDF) / (XPS) to the “Windows Command Guide”. Here you will get all types of Windowscommands, tips and tricks useful for Microsoft Windows. This ebook is useful for all Windows stversion from Windows 2000 to Windows 7 or later. The 1 part (550+ commands) of this ndebook is for everyday computer user and the 2 part (700+ commands) is for advance userand power user. Read this ebook and explore the precious contents inside.About As a computer user you may know about some commands. This ebook includesevery possible commands those available on Windows platform. The objective of the ebook isto do more on Windows with less effort and became an expert. There are many long andirregular commands, commonly you may not use it frequently – but these exist whether youknow it or not.Who will read this ebook? You don‟t need to be a programmer or expert to use this ebook. You may besomeone who just wants to use Windows in an innovative ways. You may be a desktop user,system/network admin or software developer. This ebook makes ease the administrative andsupport task and gives more power to more advance computing. Always refer to theAPPENDIX section for more tips and explanations. It is not easy to explain all the tools andapps mentioned here, so use the web links in the REFERENCES. Only article (in the World) providing great info on Windows Commands. Organized for the best use of comman user and advance user. Every possible command (1200+) with useful connotations ans references. BCDALAIs Free Tech. Support Blog India, 2011
  2. 2. Windows Command Guide 2011 DEDICATED TO Teachers, Friends, IT Pro community, valuable Readers and Contributors.Acknowlegdements I would like to thanks to all the readers and IT Pro community the use, technicalreviews and feedbacks. Special complements to Mr. Manas Ranjan Mohaptra (of Hint),Santosh, Subrat, Biswanath, Sudhansu, Himansu, Soumya and Amarnath, for their excellentcontribution and support. Also thanks to and for providing web servicesfor these works.License This content is completely free for everyone. This ebook licensed under CreativeCommons Attribution-NonCommercial-ShareAlike 2.5 India license [CC BY-NC-SA]. Thisebook must be shared in “Adobe PDF” or “Microsoft XPS” format. Language: EN-US.Disclaimer This ebook is for educational and informational purposes. This ebook is provided as“as is”. The author assumes that you will use it for productive purposes. All names,registered trademarks and websites mentioned herein are the properties of their respectiveowners.The Author bcdalai, (M.Com, MCP, MCSE, MCTS: Vista and MCTS: Windows 7). The author isan IT Pro, working on Client, Server and Networks (system admin, Tech. Support, security,troubleshooting and software review). He is available in Microsoft communities and in otherforums. You can find about him on internet (in Google/Yahoo).Reach OutDo you have more information or tips? Please contribute here with suggestions / commentsusing Adobe Reader X (v10) and email. For any feedback on the ebook, contact author at:, Email:, Twitter: @bcdalai2020.Copyright © 2004-2011, by bcdalai for “BCDALAI’s Free Tech. Support Blog”.History: [Current Version: v4.0.0] Time Version Changes 2011 4.0.X: Better presentation, testing; new command-line tools and tricks. 2010 3.X: 400 commands- 75 GUID; 30 shell commands; 40 netsh Commands. Updates on Vista, Server 2008 / Server 2008 R2, Windows 7, Office 2010. 2009 2.X: major updates: 300 commands- 160 Command-line tools; 75 Control Panel Applets; 160 Environment Variables; 110 rundll32 commands. 2008 Version 1.X: added more commands on: Vista and Windows Server 2008. 2004-07 Initial use, testing and first publication on 2007. No great discovery was ever made without a bold guess. -Isaac Newton Experience is the name everyone gives to their mistakes. -Oscar Wilde Persistence and positive thinking to make things happen. -2-© 2011, BCDALAIs Free Tech. Support Blog
  3. 3. Windows Command Guide 2011 CONTENTS PART – 1 (Everyone)Chapter – 1 Windows RUN Commands RUN Commands in Windows Vista RUN Commands in Windows Server 2008 / 2008 R2 RUN Commands in Windows 7 Network RUN CommandsChapter – 2 RUN Commands for Third-party Applications Control Panel (applets) Commands Command-line Tools: Windows 2000 / XP / Server 2003 Windows Vista / Server 2008 / 2008 R2 /Windows 7 PART - 2 (Advance users)Chapter – 3 Advance rundll32 Commands: Windows 2000 / XP / Server 2003 Windows Vista / Server 2008 / 2008 R2 / Windows 7 Netsh Commands Relative System Paths Environment Variables Environment Variables: Windows XP EmbeddedChapter – 4 Recovery Console Commands Miscellaneous CommandsAppendix – AAppendix – B: CHANGED FEATURES AND NAMESREFERENCES What do you think of this ebook? The author is interested in hearing your feedback, so he can improve this ebook for you. To send your feedback, please email him at: or visit: -3-© 2011, BCDALAIs Free Tech. Support Blog
  4. 4. Windows Command Guide 2011 PART – 1 (Everyone) [Applies To: Common user, beginners and everyone.] Chapter – 1 Windows RUN CommandsTable-1: [Applies To: Windows 2000 / XP / Server 2003 / Vista / Server 2008 / Windows 7.] SL. APPLICATION / TOOL COMMAND Ref 001 Accessibility Controls access.cpl I 002 Accessibility Wizard accwiz X 003 Add Hardware Wizard hdwwiz.cpl 004 Add/Remove Programs appwiz.cpl 005 Administrative Tools control admintools 006 Automatic Updates wuaucpl.cpl I 007 Bluetooth Transfer Wizard fsquirt 008 Calculator calc 009 Certificate Manager Console certmgr.msc 010 Character Map charmap 011 Clipboard Viewer clipbrd X 012 Command Prompt cmd 013 Component Services (DCOM/COM+ settings) dcomcnfg 014 Computer Management Console compmgmt.msc 015 Control Panel control 016 Date and Time Properties control date/time 017 Date and Time Properties timedate.cpl 018 DDE Shares ddeshare X 019 Device Manager Console devmgmt.msc 020 DirectX Diagnostic Tool dxdiag 021 Disk Cleanup Utility (Appendix-A2) cleanmgr 022 Disk Defragment Console dfrg.msc I 023 Disk Management Console diskmgmt.msc 024 Disk Partition Manager diskpart 025 Display Properties control desktop I 026 Display Properties desk.cpl I 027 Display Properties (Appearance tab pre-selected) control color 028 Dr. Watson System Troubleshooting Utility (16-bit) drwatson 029 Dr. Watson System Troubleshooting Utility (32-bit) drwtsn32 X 030 Driver Verifier Utility verifier 031 DVD Placeholder Utility (playing DVD in WMP) dvdplay 032 Event Viewer eventvwr 033 Event Viewer eventvwr.msc 034 File Signature Verification Tool sigverif 035 Files and Setting Transfer Wizard migwiz 036 Folders Properties control folders 037 Fonts Folder control fonts 038 Fonts Folder fonts 039 Game Controllers joy.cpl 040 Game: Free Cell freecell X 041 Game: Hearts Card Game mshearts X 042 Game: Internet Backgammon bckgzm X 043 Game: Internet Checkers chkrzm X 044 Game: Internet Hearts hrtzzm X 045 Game: Internet Reversi rvsezm X 046 Game: Internet Spades shvlzm X 047 Game: Minesweeper winmine X 048 Game: Pinball pinball X 049 Game: Solitaire sol X 050 Game: Spider Solitaire spider X 051 Group Policy Object Editor gpedit.msc 052 Help and Support Center helpctr X -4-© 2011, BCDALAIs Free Tech. Support Blog
  5. 5. Windows Command Guide 2011 053 HyperTerminal hypertrm X 054 Iexpress Wizard (packaging tool) iexpress 055 Indexing Service Console ciadv.msc 056 Infrared Monitor (if installed) control infrared 057 Internet Connection Wizard icwconn1 X 058 Internet Explorer iexplore 059 Internet Explorer (InPrivate Mode) (IE8 or later) iexplore -private 060 Internet Explorer (no Add-ons) iexplore -extoff 061 Internet Properties inetcpl.cpl 062 Internet Setup Wizard inetwiz X 063 Keyboard Properties control keyboard 064 Local Security Settings Console secpol.msc 065 Local Users and Groups Console lusrmgr.msc 066 Log Off logoff 067 Mail client (Default) mailto: 068 Mail configurations (Microsoft Outlook settings) control mlcfg32.cpl 069 Microsoft Chat winchat 070 Microsoft Management Console (Appendix-A13) mmc 071 Microsoft Media Player (for audio only) mplay32 X 072 Microsoft Movie Maker moviemk X 073 Microsoft Narrator narrator 074 Microsoft Paint mspaint 075 Microsoft Paint pbrush 076 Microsoft Program Manager progman X 077 Microsoft Synchronization Manager mobsync 078 Mouse Properties control mouse 079 Mouse Properties main.cpl 080 MS-DOS Editor (text editor for MS-DOS) edit 081 Network Access Protection (NAP) Client UI napstat 082 Network Connections control netconnections 083 Network Connections ncpa.cpl 084 Network Setup Wizard (also Wireless) netsetup.cpl X 085 Notepad notepad 086 Novell NetWare (if installed) control netware 087 Object Packager packager X 088 On-Screen Keyboard osk 089 Outlook Express msimn I 090 Performance Monitor perfmon 091 Performance Monitor perfmon.msc 092 Phone and Modem Options control telephony 093 Phone and Modem Options telephon.cpl 094 Phone Dialer dialer 095 Power Configuration powercfg.cpl 096 Printers and Faxes control printers 097 Printers Folder printers X 098 Private Character Editor eudcedit 099 Regional and Language Options control international 100 Regional and Language Options intl.cpl I 101 Registry Editor regedit 102 Registry Editor regedt32 103 Remote Access Phonebook rasphone 104 Remote Assistance rcimlby -launchra I 105 Remote Desktop Connection mstsc 106 Removable Storage Console ntmsmgr.msc X 107 Removable Storage Operator Requests ntmsoprq.msc X 108 Resultant Set of Policy (RSOP) rsop.msc 109 Scanners and Cameras sticpl.cpl X 110 Scheduled Tasks control schedtasks 111 Security Center wscui.cpl I 112 Services services.msc 113 Shared Folder Wizard (creating shared folder) shrpubw 114 Shared Folders fsmgmt.msc 115 Shutdown Windows (Appendix-A3) shutdown -s -t 00 116 Sound Recorder sndrec32 X -5-© 2011, BCDALAIs Free Tech. Support Blog
  6. 6. Windows Command Guide 2011 117 Sounds and Audio mmsys.cpl 118 SQL Client Configuration cliconfg 119 System Configuration Editor sysedit 120 System Configuration Utility msconfig 121 System Information msinfo32 122 System Information winmsd X 123 System Properties sysdm.cpl 124 System Restore restore/rstrui 125 Task Manager taskmgr 126 Telnet Client telnet 127 Telnet Server Admin tlntadmn I 128 User Accounts (Local Users and Groups) control userpasswords 129 User Accounts 2 (Advanced) control userpasswords2 130 User Accounts Management nusrmgr.cpl X 131 Utility Manager utilman 132 Windows Address Book wab I 133 Windows Address Book Import Utility wabmig I 134 Windows Backup Utility ntbackup I 135 Windows Diagnose winmsd X 136 Windows Explorer explorer 137 Windows Firewall firewall.cpl X, I 138 Windows Installer (version checking) msiexec 139 Windows Magnifier magnify 140 Windows Management Infrastructure (WMI) wmimgmt.msc 141 Windows Media Player (WMP) wmplayer 142 Windows Media Player 6.4.09 (old version) mplayer2 143 Windows Messenger msmsgs X, I 144 Windows NetMeeting conf X 145 Windows Picture Acquisition Wizard (needs camera) wiaacmgr 146 Windows Product Activation (WPA) status oobe/msoobe /a X 147 Windows System Security Tool syskey 148 Windows Update Launches (online update) wupdmgr X, I 149 Windows Version Information winver 150 Windows WordPad wordpad 151 Windows Write write 152 Windows XP Registration Wizard (online) regwiz /r X 153 Windows XP Tour Wizard tourstart X ADDENDA [“System Property” with a specific tab] TAB COMMAND 154 General control sysdm.cpl,,0 155 Computer Name control sysdm.cpl,,1 156 Hardware control sysdm.cpl,,2 157 Advanced control sysdm.cpl,,3 158 System Restore control sysdm.cpl,,4 159 Automatic Updates control sysdm.cpl,,5 160 Remote control sysdm.cpl,,6 [“Add or Remove Programs” with a specific tab] 161 Change or Remove Programs: control appwiz.cpl 162 Change or Remove Programs: control appwiz.cpl,,0 163 Add new Programs (from CD-ROM/Floppy) control appwiz.cpl,,1 164 Add/Remove Windows Components control appwiz.cpl,,2 165 Set Program Access and Defaults control appwiz.cpl,,3 [“Sound and Audio Device” with a specific tab] 166 Volume control mmsys.cpl,,0 167 Sounds control mmsys.cpl,,1 168 Audio control mmsys.cpl,,2 169 Voice control mmsys.cpl,,3 170 Hardware control mmsys.cpl,,4 [“Desktop Property” with a specific tab] 171 Desktop Property: Themes control desk.cpl 172 Desktop Property: Desktop control desk.cpl,,0 173 Desktop Property: Screen Saver control desk.cpl,,1 174 Desktop Property: Appearance control desk.cpl,,2 -6-© 2011, BCDALAIs Free Tech. Support Blog
  7. 7. Windows Command Guide 2011 175 Desktop Property: Settings control desk.cpl,,3 [“System File Checker” (sfc.exe)utility usage] 178 System File Checker (Purge File Cache) sfc /purgecache X, I 177 System File Checker (Return to Default Setting) sfc /revert X, I 178 System File Checker (Scan immediately) sfc /scannow 179 System File Checker (Scan On every boot) sfc /scanboot X, I 180 System File Checker (Scan Once at next boot) sfc /scanonce X, I 181 System File Checker (Set cache size to x in MB) sfc /cachesize=x X, IReferences: X This Command removed or not available in Vista, Server 2008, Windows 7 and Windows Server 2008 R2 and higher. I This feature changed or modified in Vista, Server 2008, Windows 7 and Windows Server 2008 R2 and higher. Read the other commands for more info. Also see the APPENDIX-B for “Changed Features and Names”. RUN Commands in Windows VistaTable-2: [Applies To: Windows Vista or later i.e. Windows Server 2008, 2008 R2, Windows7 etc.Refer Table-1, Table-5 and Appendix-B for more info.] SL. APPLICATION / TOOL COMMAND 01 Add Hardware Wizard hdwwiz 02 Advanced User Accounts netplwiz 03 Authorization Manager azman.msc 04 BitLocker Notifier fvenotify 05 BitLocker Wizard bitlockerwizard 06 Color Management colorcpl 07 Component Services comexp.msc 08 Computer Management Launcher compmgmtlauncher 09 Connect to a Network Projector netproj 10 Credential Backup and Restore Wizard credwiz 11 Digitizer Calibration Tool tabcal 12 DPI Scaling dpiscaling 13 Ease of Access Center (Accessibility) * sethc 14 Encrypting File System (EFS) rekeywiz 15 Fax Cover Sheet Editor fxscover 16 Firewall Control Panel * firewallcontrolpanel 17 Firewall Settings * firewallsettings 18 Group Policy Management Console * gpmc.msc 19 Hibernation: Disable powercfg /h off 20 Hibernation: Enable powercfg /h on 21 IIS Manager (IIS 6.0 only) # inetmgr6 22 IIS Manager (IIS 7.0) inetmgr 23 Indexing Options control srchadmin.dll 24 Language Pack Installer lpksetup 25 Microsoft iSCSI Initiator iscsicpl 26 Microsoft Support Diagnostic Tool msdt 27 Offline Files control cscui.dll 28 People Near Me p2phost 29 Presentation Settings (Mobile PC) presentationsettings 30 Print Management Console printmanagement.msc 31 Printer Migration printbrmui 32 Problem Reports and Solutions # wercon 33 Programs and Features appwiz.cpl 34 Security Configuration Management secpol.msc 35 Snipping Tool snippingtool 36 Sound Recorder soundrecorder 37 Sound Volume sndvol 38 Sticky Notes stikynot 39 Sync Center mobsync 40 Tablet PC Input Panel tabtip 41 Task Scheduler taskschd.msc -7-© 2011, BCDALAIs Free Tech. Support Blog
  8. 8. Windows Command Guide 2011 42 Trusted Platform Module (TPM) tpm.msc 43 Trusted Platform Module (TPM) tpminit 44 Windows Activation Client slui 45 Windows Backup and Restore sdclt 46 Windows Calendar * wincal 47 Windows DVD Maker dvdmaker 48 Windows Easy Transfer (WET) migwiz 49 Windows Fax and Scan wfs 50 Windows Features optionalfeatures 51 Windows Journal journal 52 Windows Mail * winmail 53 Windows Mobility Center (Mobile PC) mblctr 54 Windows Remote Assistance msra 55 Windows Sidebar # sidebar 56 Windows Update Application Launcher wuapp ADDENDA 57 Appearance Settings control desk.cpl,appearance@appearance 58 Color Scheme control /name microsoft.personalization /page pagecolorization 59 Desktop background control /name microsoft.personalization /page pagewallpaper 60 Display Settings (Screen Resolution) control desk.cpl,settings@settings 61 Folder Options: File extension control /name microsoft.defaultprograms associations /page pagefileassoc 62 Folder Options: Folder searching rundll32 shell32.dll,options_rundll 2 63 Folder Options: General rundll32 shell32.dll,options_rundll 0 64 Folder Options: View rundll32 shell32.dll,options_rundll 7 65 Multi-monitor control desk.cpl,monitor,@monitor 66 Power Options: Advanced Settings control powercfg.cpl,,3 page 67 Power Options: Create a power plan control /name microsoft.poweroptions /page pagecreatenewplan 68 Power Options: Edit current plan control /name microsoft.poweroptions /page settings pageplansettings 69 Power Options: System settings control /name microsoft.poweroptions /page pageglobalsettings 70 Regional and Language Options: control /name Administrative microsoft.regionalandlanguageoptions /page /p:”administrative” 71 Regional and Language Options: control /name Keyboard microsoft.regionalandlanguageoptions /page /p:”keyboard” 72 Regional and Language Options: control /name Location microsoft.regionalandlanguageoptions /page /p:”location” 73 Screensaver control desk.cpl,screensaver,@screensaver 74 Themes control desk.cpl,themes,@themes [“Advanced System Property” with a specific tab] TAB COMMAND 75 Advanced System Settings systempropertiesadvanced 76 Computer Performance Settings systempropertiesperformance 77 Computer Name systempropertiescomputername 78 Data Execution Prevention Settings systempropertiesdataexecutionprevention 79 Hardware Settings systempropertieshardware 80 System Protection Settings systempropertiesprotection 81 System Remote Settings systempropertiesremoteReferences: * Command removed or not available in Windows 7 and Windows Server 2008 R2. # This feature changed or modified in Windows 7 and Windows Server 2008 R2 and higher. Read the other commands for more info. Also see the APPENDIX-B for “Changed Features and Names”. -8-© 2011, BCDALAIs Free Tech. Support Blog
  9. 9. Windows Command Guide 2011 RUN Commands in Windows Server 2008 / 2008 R2Table-3: [Applies To: Windows Server 2008, Server 2008 R2 or later. These new are also additional for table-2 and table-3.] SL. APPLICATION / TOOL COMMAND 01 Security Configuration Wizard scw 02 Security Configuration Wizard viewer scwviewer 03 Server Manager compmgmtlauncher 04 Share and Storage Management storagemgmt.msc 05 Storage Explorer storexpl.msc 06 Terminal Service Manager tsadmin.msc 07 Terminal Services Configuration tsconfig.msc 08 Windows Firewall with Advanced Security wf.msc 09 Windows Memory Diagnostic Tool mdsched 10 Windows Server Backup wbadmin.msc RUN Commands in Windows 7 Table-4: [Applies To: Windows 7 or later. These new are also additional for table-3 and table-4.] SL. APPLICATION / TOOL COMMAND 01 Action Center wscui.cpl 02 Aero Troubleshooter msdt -id aerodiagnostic 03 ClearType Text Tuner cttune 04 Connect to a Projector displayswitch 05 Desktop Gadget Gallery sidebar /showgadgets 06 Device Manager hdwwiz.cpl 07 Device Pairing Application devicepairingwizard 08 Disk Defragment dfrgui 09 Display Color Calibration dccw 10 Display: Desktop Icon Settings control desk.cpl,,0 11 Display: Personalization control desk.cpl,,2 12 Display: Screen Resolution control desk.cpl 13 Display: Screen Resolution control desk.cpl,,3 14 Display: Screen Resolution control desk.cpl,,4 15 Display: Screen Resolution desk.cpl 16 Display: Screen Saver Settings control desk.cpl,,1 17 Display: Windows Color and Appearance control desk.cpl,,5 18 Event Translator Config Tool evntwin 19 Hardware and Devices Troubleshooter msdt -id devicediagnostic 20 Math Input Panel (for Tablet PC) mip 21 NAP Client Configuration napclcfg.msc 22 Pen and Touch (Tablet PC) tabletpc.cpl 23 People Near Me collab.cpl 24 Performance Monitor Reports perfmon /report 25 Power Options – Energy Report powercfg -energy 26 Problem Steps Recorder psr 27 Program Compatibility Troubleshooter msdt -id pcwdiagnostic 28 Reliability Monitor perfmon /rel 29 Resource Monitor perfmon /res 30 Resource Monitor resmon 31 Restore Files (Advanced) sdclt /foreignrestore 32 Scan Management scanmanagement.msc 33 Services For Network File System nfsmgmt.msc 34 Set Program Access and Computer Defaults computerdefaults 35 System Preparation Tool sysprep/sysprep 36 System Property control system 37 System Repair Disc (create disc) recdisc 38 User Account Control Settings useraccountcontrolsettings 39 Windows Licensing Status slmgr.vbs /dli 40 Windows Anytime Upgrade Results windowsanytimeupgraderesults -9-© 2011, BCDALAIs Free Tech. Support Blog
  10. 10. Windows Command Guide 2011 41 Windows Easy Transfer Report migwiz/postmig 42 Windows Firewall firewall.cpl 43 Windows Media Center ehome/ehshell 44 Windows Media Player mplayer2 45 Windows PowerShell powershell 46 Windows PowerShell (ISE) powershell_ise 47 Windows Virtual PC vmwindow 48 WMI Control Console wmimgmt.msc 49 XPS Viewer xpsrchvw Miscellaneous 01 3D Text Screen Saver sstext3d.scr 02 Blank Screen Saver scrnsave.scr 03 Bubbles Screen Saver bubbles.scr 04 Mystify Screen Saver mystify.scr 05 Photos Screen Saver photoscreensaver.scr 06 Ribbons Screen Saver ribbons.scr Network RUN CommandsTable-5: [Applies To: Windows 2000, Server 2003 and Server 2008 and also for Windows XP,Vista, Windows 7, Server 2008 R2 or later. Refer table-3, 4, 5 and Chapter-3 for more info. Thenetworking features / components must be configured to enable these commands.] SL. APPLICATION / TOOL COMMAND 01 Active Directory Domains and Trusts domain.msc 02 Active Directory installation (Directory Service) dcpromo 03 Active Directory Sites and Services dssite.msc 04 Active Directory Users and Computers dsa.msc 05 ADSI Edit adsiedit.msc 06 Certification Authority (CA) certsrv.msc 07 Client Service for Netware nwc.cpl 08 Cluster Administrator cluadmin 09 Component Services dcomcnfg 10 Computer Management Console compmgmt.msc 11 Configure Your Server Wizard cys 12 Connection Manager Administration Kit (CMAK) cmak 13 Distributed File System (DFS) dfsgui.msc 14 Domain Name System (DNS) dnsmgmt.msc 15 Dynamic Host Configuration Protocol (DHCP) dhcpmgmt.msc 16 Event Viewer eventvwr.msc 17 File Server Management filesvr.msc 18 Internet Authentication Service (IAS) ias.msc 19 Internet Information Services (IIS) Manager iis.msc 20 Licensing llsmgr 21 Microsoft SMS (Control Panel Applet) smsrc.cpl 22 Network Load Balancing (NLB) Manager nlbmgr 23 Network Monitor netmon/netmon 24 ODBC Data Source Administrator odbcad32 25 ODBC Data Source Administrator odbccp32.cpl 26 POP3 Service p3server.msc 27 Program Download Monitor (SCCM) smspdm.cpl 28 Remote Desktops Console tsmmc.msc 29 Remote Storage Console rsadmin.msc 30 Routing and Remote Access Console rrasmgmt.msc 31 Run Advertised Programs (SCCM) smarap.cpl 32 Security Configuration Wizard scw 33 Services services.msc 34 Services for Network File System (NFS) nfsmgmt.msc 35 Systems Management (SMS 2003) smscfgrc.cpl 36 Terminal Server Licensing licmgr 37 Terminal Services Configuration tscc.msc 38 Terminal Services Manager tsadmin 39 Web Interface for Remote Administration serverappliance/securelaunch.vbs 40 Windows Deployment Services (WDS) wdsmgmt.msc 41 Windows Deployment Services Legacy risetup - 10 -© 2011, BCDALAIs Free Tech. Support Blog
  11. 11. Windows Command Guide 2011 42 WINS winsmgmt.msc ADDENDA [IP Configuration (ipconfig.exe) usage see (Appendix-A5] 43 IP Config: display all the DHCP Class ID ipconfig /showclassid 44 IP Config: display all the Ipv6 DHCP Class ID ipconfig /showclassid6 45 IP Config: display DNS resolver cache ipconfig /displaydns 46 IP Config: display full configuration information ipconfig /all 47 IP Config: modifies DHCP Class ID ipconfig /setclassid 48 IP Config: modifies the Ipv6 DHCP Class ID ipconfig /setclassid6 49 IP Config: purges the DNS Resolver cache ipconfig /flushdns 50 IP Config: refreshes DHCP & re-registers DNS ipconfig /registerdns 51 IP Config: release Ipv4 address for the adapter ipconfig /release 52 IP Config: release Ipv6 address for the adapter ipconfig /release6 53 IP Config: renew address for all the adapter ipconfig /allcompartments /renew 54 IP Config: renew Ipv4 address for the adapter ipconfig /renew 55 IP Config: renew Ipv6 address for the adapter ipconfig /renew6 56 IP Config: display all adapter Configuration ipconfig /allcompartments /all Chapter – 2 RUN Commands for Third-party Applications Table-6: [Applies To: 3rd party applications. These apps must be installed, to make the commands to work.] SL. APPLICATION / UTILITY COMMAND 001 7-Zip 7zfm 002 ABBYY FineReader 10 Professional finereader 003 AC97 Audio Configuration alsndmgr.cpl 004 ACDSee Canvas 11 canvas11 006 ACDSee Canvas 12 with GIS plus canvas12 005 ACDSee FotoSlate v4 fotoslate4 007 ACDSee Photo Manager 2008 v10 acdsee10 008 ACDSee Photo Manager 2009 v11 acdsee11 009 ACDSee Photo Manager v12 (2010) acdsee12 010 ACDSee Picture Frame Manager v1 acdseepfm 011 ACDSee Pro v2 (by ACDSee) acdseepro2 012 ACDSee Pro v2.5 acdseepro25 013 ACDSee Pro v3 acdseepro3 014 ACDSee Pro v4 acdseepro4 015 ACDSee Showroom (slideshow) acdseesr 016 Acrobat Distiller (by Adobe) acrodist 018 Adobe Acrobat acrobat 019 Adobe Bridge CS5 bridge 020 Adobe Captivate 5 adobecaptivate 021 Adobe Contribute CS5 contribute 023 Adobe Dreamweaver CS5 dreamweaver 022 Adobe Fireworks CS5 fireworks 024 Adobe Flash Builder v4.0 flashbuilder 025 Adobe Flash Professional CS5 flash 026 Adobe FlashPaper flashprinter 027 Adobe Illustrator CS5 illustrator 017 Adobe ImageReady CS imageready 028 Adobe InDesign CS5 (formerly PageMaker) indesign 029 Adobe LiveCycle Designer formdesigner 030 Adobe PageMaker 6.5 pm65 031 Adobe PageMaker 7 (now InDesign CS) pm70 032 Adobe Photoshop CS5 Extended photoshop 033 Adobe Reader (both x86 and x86) acrord32 034 Alcohol 120% / Alcohol 50% alcohol 035 Apple iTunes (Media Player) itunes 036 Apple QuickTime (by Apple Inc.) quicktimeplayer 037 Apple QuickTime (Control Panel settings) quicktime.cpl 038 Babylon (Dictionary) babylon - 11 -© 2011, BCDALAIs Free Tech. Support Blog
  12. 12. Windows Command Guide 2011 039 BitComet bitcomet 040 BS Player Pro bsplayer 041 Calibre - E-book management (by Calibre) calibre 042 CCleaner (by Piriform) ccleaner 043 CodeSmith Explorer codesmith 044 CodeSmith Professional codesmithstudio 045 ConceptDraw Office PRO 8 cdpro8 046 Copernic Desktop Search desktopsearch 047 Corel Presentations X4 (Presentation) prwin14 048 Corel Presentations X5 (Presentation) prwin15 049 Corel Quattro Pro X4 (Spreadsheet)) qpw 050 Corel Quattro Pro X5 (Spreadsheet)) qpw15 051 Corel WordPerfect MAIL (E-mail client) wpmail 052 Corel WordPerfect X4 (Word Processor) wpwin14 053 Corel WordPerfect X5 (Word Processor) wpwin15 054 Corel WordPerfect XML Project Designer (X4) wpldes14 055 Corel WordPerfect XML Project Designer (X5) wpldes15 056 CyberLink LabelPrint labelprint 057 CyberLink Power2Go power2go 058 CyberLink PowerBackup powerbackup 059 CyberLink PowerDVD powerdvd 060 Defraggler (by Piriform) defraggler 061 DELL Webcam Center livecamde 062 DELL Webcam Manager dellwmgr 063 DirectX Control Panel directx.cpl 064 Easy BCD 2 easybcd 065 Eudora (E-mail Client) eudora 066 FastStone Capture fscapture 067 FastStone Image Viewer fsviewer 068 GetRight (Download Manager) getright 069 Google Chrome (browser) chrome 070 IncrediMail 2 (E-mail Client) incmail 071 Intel Graphics and Media Control Panel gfxui 072 Intel Graphics Controller Properties igfxcfg 073 Intel TV Wizard tvwizard2ft 074 InterVideo WinDVD windvd 075 IsoBuster isobuster 076 Java Control Panel (not in Win7) javacpl.cpl 077 LibreOffice (by LibreOffice) soffice 078 LibreOffice Base (Database) sbase 079 LibreOffice Base (Database) soffice -base 080 LibreOffice Calc (Spreadsheet) scalc 081 LibreOffice Calc (Spreadsheet) soffice -calc 082 LibreOffice Draw (Drawing) sdraw 083 LibreOffice Draw (Drawing) soffice -draw 084 LibreOffice Impress (Presentation) simpress 085 LibreOffice Impress (Presentation) soffice -impress 086 LibreOffice Math (Formula) soffice -math 087 LibreOffice Math (MathFormula) smath 088 LibreOffice Writer (Text) soffice -writer 089 LibreOffice Writer (Web Page) soffice -web 090 LibreOffice Writer (Word Processor) swriter 091 Macromedia Fireworks (by Adobe) fireworks 092 Malicious Software Removal Tool (MSRT) mrt 093 Malwarebytes‟ Anti-Malware mbam 094 Media Go (by Sony) mediago 095 Media Player Classic (old version) mplayerc 096 Media Player Classic Home Cinema mpc-hc 097 Microsoft iSCSI Initiator iscsicpl.cpl 098 Microsoft Access msaccess 099 Microsoft ActiveSync wcesmgr 101 Microsoft Application Verifier v4 appverif 102 Microsoft Excel excel 100 Microsoft FrontPage frontpg - 12 -© 2011, BCDALAIs Free Tech. Support Blog
  13. 13. Windows Command Guide 2011 103 Microsoft InfoPath infopath 104 Microsoft Office Document Imaging mspview 105 Microsoft Office Groove groove 106 Microsoft Office Picture Manager ois 107 Microsoft OneNote onenote 108 Microsoft Outlook (E-mail client) outlook 109 Microsoft PowerPoint powerpnt 110 Microsoft Publisher mspub 111 Microsoft SharePoint Workspace 2010 groove 112 Microsoft Streets and Trips streets 113 Microsoft Word winword 114 Microsoft Works Calendar wkscal 115 Microsoft Works Database wksdb 116 Microsoft Works Portfolio wkssb 117 Microsoft Works Spreadsheet wksss 118 Microsoft Works Task Launcher msworks 119 Microsoft Works Word Processor wkswp 120 Mozilla Firefox firefox 121 Mozilla Firefox (Safe Mode) firefox -safe-mode 122 Mozilla Sunbird v1 sunbird 123 Mozilla Thunderbird v3.1 thunderbird 124 MPCStar (Media Player) mpcstar 125 MSN Explorer msn6 126 Nero BackItUp (by Nero) backitup 127 Nero Burning ROM nero 128 Nero BurnRights neroburnrights 129 Nero Express nero /w 130 Nero Home nerohome 131 Nero ImageDrive imagedrive 132 Nero MediaHome neromediahome 133 Nero PhotoSnap Viewer photosnapviewer 134 Nero Recode recode 135 Nero Scout neroscoutoptions 136 Nero ShowTime showtime 137 Nero SoundTrax soundtrax 138 Nero Vision nerovision 139 Nero Wave Editor waveedit 140 NitroPDF Professional 6 nitropdf 141 Norton 360 (by Symantec) mainstub 142 Norton Antivirus (Full System Scan) navw32 /a 143 Norton Ghost vproconsole 144 Nview Desktop Manager (NVIDIAnView) nvtuicpl.cpl 145 (by OpenOffice) soffice 146 Base (Database) sbase 147 Base (Database) soffice -base 148 Calc (Spreadsheet) scalc 149 Calc (Spreadsheet) soffice -calc 150 Draw (Drawing) sdraw 151 Draw (Drawing) soffice -draw 152 Impress (Presentation) simpress 153 Impress (Presentation) soffice -impress 154 Math (Formula) soffice -math 155 Math (MathFormula) smath 156 Writer (Text) soffice -writer 157 Writer (Web Page) soffice -web 158 Writer (Word Processor) swriter 159 Oracle SQL Plus sqlplusw 160 OriginPro 8 origin8 161 PerfectDisk Professional (by Raxco) perfectdisk 162 QuarkXPress 8 quarkxpress 163 QuickHeal Internet Security scanner 164 QuickHeal Total Security scanner 165 RealPlayer (also RealPlayer SP) realplay 166 RealPlayer SP Converter realconverter - 13 -© 2011, BCDALAIs Free Tech. Support Blog
  14. 14. Windows Command Guide 2011 167 Realtek HD Audio Manager rtsndmgr.cpl 168 Recuva (by Piriform) recuva 169 Revo Uninstaller revouninstaller 170 Revo Uninstaller Pro revouninpro 171 Safari 5 (by Apple Inc.) safari 172 SeaMonkey Mail seamonkey -mail 173 SeaMonkey v2 seamonkey 174 Sony Ericsson PC Companion pccompanion 175 Sony Ericsson PC Suite sepcsuite 176 Speccy (by Piriform) speccys 177 StarOffice (by Oracle) soffice 178 StarOffice Base (Database) sbase 179 StarOffice Calc (Spreadsheet) scalc 180 StarOffice Draw (Drawing) sdraw 181 StarOffice Impress (Presentation) simpress 182 StarOffice Math (formula) smath 183 StarOffice Writer (Word Processor) swriter 184 Tweak UI tweakui 185 Vmware Player vmplayer 186 Vmware Virtual Machine Console vmware -l 187 Vmware Workstation vmware 188 Winamp winamp 189 Windows Intune Malware Protection amui 190 Windows Live Essentials(Appendix-A6) wlstartup 191 Windows Live Family Safety fsui 192 Windows Live Mail (by Microsoft) wlmail 193 Windows Live Mesh wlsync 194 Windows Live Messenger msnmsgr 195 Windows Live Movie Maker 2011 moviemaker 196 Windows Live Photo Gallery 2011 wlxphotogallery 197 Windows Live Writer 2011 windowslivewriter 198 Windows Media Encoder 9 Series wmenc 199 Windows Phone Book Administrator pbadmin 200 Windows PowerToy Calculator powercalc 201 WinRAR winrar 202 WinZip winzip 203 WinZip Self-Extractor wzipse32 204 Wireshark wireshark 205 XPS Viewer EP (Appendix-A7) xpsrchvw MISCELLANEOUS (APPS) TOOLS 206 AC3 Filter (settings) ac3filter.cpl 207 ACDSee 2009 Showroom (v11) acdseesr 208 ACDSee 2010 Showroom (v12) acdseesr12 209 ACDSee Device Detector devdetect 210 ACDSee Photo Editor 2008 v5 acdseephotoeditor2008 211 ACDSee Photo Editor v4 acdseephotoeditor4 212 ACDSee Picture Frame Manager Quick View acdseeqvpfm 213 ACDSee Pro 4 Quick View acdseeqvpro4 214 Adobe Flash Player 10.3 flashplayercplapp.cpl 215 Calibre E-book viewer ebook-viewer 216 Calibre LRF viewer lrfviewer 217 Change Analysis Diagnostic (WinXP) statechangediag 218 Corel QuickFinder Manager X4 (by Corel) pfim140 219 Corel QuickFinder Manager X5 pfim150 220 Corel QuickFinder Searcher X4 qfinder140 221 Corel QuickFinder Searcher X5 qfinder150 222 Corel WordPerfect Office Conversion Utility convutil 223 Creative Live Cam Avatar ct4im 224 Creative Live Cam Avatar Creator ctiemain 225 Light Scribe Control Panel lightscribecontrolpanel 226 LG Burning Tool (powered by Power2Go) power2goexpress 227 Norton Antivirus 2007 uistub 228 Norton Antivirus 2010: Security History mcui32 229 Norton Antivirus Quarantine Console qconsole - 14 -© 2011, BCDALAIs Free Tech. Support Blog
  15. 15. Windows Command Guide 2011 230 Visual Studio Document Explorer dexplore 231 Visual Studio Tools for Applications vsta 232 Windows Live Essentials Language Selecter langselector 233 Windows Live Essentials Repair (2011) wlarp 234 X-Setup Pro xqdcxspstart[Notes: These commands will work, only if the particular software / applications are installed. All thelisted commands in this table are not separate apps; some commands are relating to the option/sub-feature for those corresponding apps. The actual command is program.exe, but you can issue thecommand with just program and without .exe., LibreOffice, OxygenOffice andStarOffice all are sharing a common codebases and the applications are similar to each other. Hencesome commands in this list are also identical.] Control Panel (applets) commandsTable-7: [Applies To: Vista, Server 2008, 2008 R2 and Windows 7. Control Panel appletscommands using canonical name.] SL. CONTROL PANEL SETTING COMMAND Windows Vista / Windows Server 2008 01 Add Hardware control /name Microsoft.AddHardware 02 Administrative Tools control /name Microsoft.AdministrativeTools 03 Advanced Network Sharing control /name Microsoft.NetworkandSharingCenter /page Settings Advanced 04 AutoPlay control /name Microsoft.AutoPlay 05 Backup and Restore Center control /name Microsoft.BackupAndRestoreCenter 06 BitLocker Drive Encryption control /name Microsoft.BitlockerDriveEncryption 07 Color Management control /name Microsoft.ColorManagement 08 Date and Time control /name Microsoft.DateAndTime 09 Default Programs control /name Microsoft.DefaultPrograms 10 Device Manager control /name Microsoft.DeviceManager 11 Display control /name Microsoft.Display 12 Ease of Access Center control /name Microsoft.EaseOfAccessCenter 13 Folder Options control /name Microsoft.FolderOptions 14 Fonts control /name Microsoft.Fonts 15 Game Controllers control /name Microsoft.GameControllers 16 Indexing Options control /name Microsoft.IndexingOptions 17 Infrared control /name Microsoft.InfraredOptions 18 Internet Options control /name Microsoft.InternetOptions 19 iSCSI Initiator control /name Microsoft.iSCSIInitiator 20 Keyboard Settings control /name Microsoft.Keyboard 21 Mouse control /name Microsoft.Mouse 22 Network Sharing Center control /name Microsoft.NetworkandSharingCenter 23 Offline Files control /name Microsoft.OfflineFiles 24 Parental Controls control /name Microsoft.ParentalControls 25 Pen and Input Devices control /name Microsoft.PenAndInputDevices 26 People Near Me control /name Microsoft.PeopleNearMe 27 Performance Information and control /name Microsoft.PerformanceInformationAndTools Tools 28 Personalization control /name Microsoft.Personalization 29 Phone and Modems control /name Microsoft.PhoneAndModemsOptions 30 Power Options control /name Microsoft.PowerOptions 31 Printers control /name Microsoft.Printers 32 Problems Reports and control /name Microsoft.ProblemsReportsAndSolutions Solutions 33 Programs and Feature control /name Microsoft.ProgramsAndFeature 34 Regional and Language control /name Microsoft.RegionalAndLanguageOptions Options 35 Scanners and Cameras control /name Microsoft.ScannersAndCameras 36 Sound control /name Microsoft.AudioDevicesAndSoundThemes 37 Speech Recognition Options control /name Microsoft.SpeechRecognitionOptions 38 Sync Center control /name Microsoft.SyncCenter 39 System control /name Microsoft.System 40 Tablets PC Settings control /name Microsoft.TabletsPCSettings 41 Tablets PC Settings Buttons control /name Microsoft.TabletsPCSettings /page Buttons 42 Taskbars and Start Menu control /name Microsoft.TaskbarsAndStartMenu - 15 -© 2011, BCDALAIs Free Tech. Support Blog
  16. 16. Windows Command Guide 2011 43 Text to Speech control /name Microsoft.TextToSpeech 44 User Accounts control /name Microsoft.UserAccounts 45 Welcome Center control /name Microsoft.WelcomeCenter 46 Windows Anytime Upgrade control /name Microsoft.WindowsAnytimeUpgrade 47 Windows CardSpace control /name Microsoft.CardSpace 48 Windows Defender control /name Microsoft.WindowsDefender 49 Windows Firewall control /name Microsoft.WindowsFirewall 50 Windows Marketplace control /name Microsoft.GetProgramsOnline 51 Windows Mobility Center control /name Microsoft.MobilityCenter 52 Windows Security Center control /name Microsoft.SecurityCenter 53 Windows Sidebar Properties control /name Microsoft.WindowsSidebarProperties 54 Windows SideShow control /name Microsoft.WindowsSideshow 55 Windows Update control /name Microsoft.WindowsUpdate Windows 7 / Windows Server 2008 R2 56 Action Center control /name Microsoft.ActionCenter 57 Backup and Restore control /name Microsoft.BackupAndRestore 58 Biometric Devices control /name Microsoft.BiometricDevices 59 Credential Manager control /name Microsoft.CredentialManager 60 Default Location control /name Microsoft.DefaultLocation 61 Desktop Gadgets control /name Microsoft.DesktopGadgets 62 Devices and Printer control /name Microsoft.DevicesAndPrinter 63 Get Programs (online) control /name Microsoft.GetPrograms 64 Getting Started control /name Microsoft.GettingStarted 65 HomeGroup control /name Microsoft.HomeGroup 66 Infrared control /name Microsoft.Infrared 67 Location and Other Sensors control /name Microsoft.LocationAndOtherSensors 68 Notification Area Icons control /name Microsoft.NotificationAreaIcons 69 Pen and Touch control /name Microsoft.PenAndTouch 70 Phone and Modem control /name Microsoft.PhoneAndModem 71 Recovery (Appendix-A8) control /name Microsoft.Recovery 72 Region and Language control /name Microsoft.RegionAndLanguage 73 RemoteApp and Desktop control /name Connections Microsoft.RemoteAppAndDesktopConnections 74 Sound control /name Microsoft.Sound 75 Speech Recognition control /name Microsoft.SpeechRecognition 76 Taskbar and Start Menu control /name Microsoft.TaskbarAndStartMenu 77 Troubleshooting control /name Microsoft.Troubleshooting Command-line ToolsTable-8: [Applies To: Windows 2000, XP and Server 2003. Also for Vista, Server 2008, 2008 R2,Windows 7 and later). To know more about command-line options use /? switch after a command.] Windows 2000 / XP / Server 2003SL. COMMANDS COMMAND USAGES001 append Allows programs to open data files in specified directories as if they were in the current directory.002 arp Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP).003 at The AT command schedules commands and programs to run on a computer at a specified time and date. The Schedule service must be running to use the AT command.004 atmadm Windows ATM Call Manager Utility.005 attrib Attribute Utility. Displays or changes file attributes.006 auditusr Audit User Program. Sets per user auditing policy.007 bootcfg Boot Config Tool. Modifies the Boot.ini file for boot configuration and recovery. This command line tool can be used to configure, query, change or delete the boot entry settings in the BOOT.INI file.008 blastcln Microsoft Blaster/Nachi removal tool.009 cacls Control ACLs Program. Displays or modifies access control lists of files.010 chkdsk Check Disk Utility. Checks a disk for logical file system error and displays a status report.011 chkntfs NTFS Volume Maintenance Utility. Displays or modifies the checking of disk at boot time.012 cipher File Encryption Utility. Displays or alters the encryption of directories [files] on - 16 -© 2011, BCDALAIs Free Tech. Support Blog
  17. 17. Windows Command Guide 2011 NTFS partitions.013 cmd Windows Command Processor. Performs text-based (command-line) functions.014 comp File Compare Utility. Compares the contents of two files or sets of files.015 compact File Compress Utility. Displays or alters the compression of files on NTFS partitions.016 convert File System Conversion Utility. Converts FAT volumes to NTFS.017 cscript Windows Script Host command line mode.018 defrag Disk Defragmenter Module. Disk defragmenter commands-line tool.019 diantz Microsoft Cabinet Maker.020 diskpart Disk partitioning Application. Manages partitions on hard disk volumes. The variable device is the device name for a new partition (such as deviceharddisk0partition1). The variable size is the size, in megabytes.021 diskperf Disk Performance Configuration Utility.022 doskey Keyboard History Utility. Edits command lines, recalls Windows XP commands and creates macros.023 driverquery Driver Query. Enables an administrator to enumerate and display the list of installed device drivers as well as their properties.024 edlin Edlin. A line-oriented text editor.025 esentutl Server Database Storage Utilities. Maintenance utilities for Microsoft Windows databases.026 eventcreate Event Create. This command line tool enables an administrator to create a custom event ID and message in a specified event log.027 eventtriggers Event Triggers. This command-line tool enables an administrator to display and configure “Event Triggers” on local or remote system.028 exe2bin Converts .EXE (executable) files to binary format.029 expand LZ Expansion Utility. Microsoft File Expansion Utility. Expands one or more compressed files. This command is used to retrieve compressed files from distribution disks.030 fc DOS 5 File Compare Utility. Compares two files or sets of files and displays the differences between them.031 find Searches for a text string in a file or files. If a path is not specified, FIND searches the text typed at the prompt or piped from another command.032 findstr Searches for strings in files.033 finger TCPIP Finger Command. Displays information about a user on a specified system running the Finger service. Output varies based on the remote system.034 fltmc Filter Manager Control Program.035 forcedos Force DOS Execute Utility.036 fsutil File system management utility.037 ftp File Transfer Program. Uploads/downloads files on a network. This command helps you determine whether Application layer functions can work on the network.038 getmac Get MAC Address. This command line tool enables an administrator to display the MAC address for one or more network adapters on a system.039 gpresult Query RSOP Data. Group Policy Result tool.040 gpupdate Microsoft Group Policy Refresh Utility. Refreshes Policy settings.041 help Command Line Help Utility for Windows XP commands.042 ipconfig IP Configuration Utility. Shows the IP configuration of network adapters installed in a computer. From the results of this command, you can determine whether you have incorrectly addressed the adapter or the default gateway or whether the adapter was unable to obtain an address from the DHCP server. Use the /all switch to show all IP configuration information.043 ipsec6 IPv6 Security Configuration Utility. (Not for Windows 7 or later).044 ipv6 IPv6 Configuration Utility. (Not for Windows 7 or later).045 ipxroute NWLink IPX Routing and Source Routing Control Program.046 label Disk Label Utility. Creates, changes, or deletes the volume label of a disk.047 lodctr Updates Performance Monitor counter names and explain text for an extensible counter.048 logman Logman manages the “Performance Logs and Alerts” service for creating and managing Event Trace, Session logs and Performance logs.049 logoff Session Logoff Utility.050 lpd TCP/IP Lpq Command. Displays the state of a remote lpd queue.051 lpr TCP/IP Lpr Command. Sends a print job to a network printer. Executes a print job on a network printer.052 makecab Microsoft Cabinet Maker.053 mmcperf MMC Performance Tool. - 17 -© 2011, BCDALAIs Free Tech. Support Blog
  18. 18. Windows Command Guide 2011054 mountvol Mount Volume Utility. Creates, deletes, or lists a volume mount point.055 mqbkup Windows NT, Microsoft Message Queue (MSMQ) Backup/Restore Utility.056 mrinfo Multicast Information.057 msg Message Utility. Send a message to a user.058 nbtstat TCP/IP NetBIOS Information. Displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP). Similar to netstat, except that it resolves NetBIOS names to IP addresses.059 net Windows net Command.060 netsh Network Shell Command. Network Services shell Command. (See Chapter-3)061 netstat TCP/IP Netstat Command. Displays protocol statistics and current TCP/IP network connections. Displays Transmission Control Protocol/Internet Protocol (TCP/IP) connections and protocol statistics.062 nlsfunc Loads country-specific information.063 nslookup Show and configure DNS information and settings. Checks DNS entries.064 openfiles Enables an administrator to list or disconnect files and folders that have been opened on a system.065 pathping TCP/IP PathPing Command.066 ping TCP/IP Ping Command. Uses an echo command to establish whether packets can be routed at the Network layer on a network.067 ping6 Ipv6 Ping Command. (Not for Windows 7 or later).068 powercfg Power Settings Command-Line Tool. This command line tool enables an administrator to control the power settings on a system.069 print Prints a text file.070 proxycfg Microsoft WinHTTP Default Proxy Configuration Tool.071 qappsrv Query Terminal Server Utility. Displays the available application terminal servers on the network.072 qprocess Query Process Utility. Displays information about processes.073 qwinsta Display information about Terminal Sessions.074 rasdial Remote Access Client Side Command Line Dial UI.075 rcp Copies files to and from computer running the RCP service.076 recover Recover Files Utility. Recovers readable information from a bad or defective disk.077 reg Registry Console Tool. Console Registry Tool for Windows.078 regsvr32 Microsoft Register Server. This command-line tool registers .dll files as command components in the registry.079 regwiz Windows XP Registration Wizard. Use /r switch to register Windows.080 relog Relog creates new performance logs from data in existing performance logs by changing the sampling rate and/or converting the file format. Supports all performance log formats, including Windows NT 4.0 compressed logs.081 replace Replace File Utility. Replaces files.082 reset Terminal Services Reset Utility.083 rexec TCP/IP Remote Exec Command. Runs commands on remote hosts running the REXEC service. Rexec authenticates the user name on the remote host before executing the specified command.084 route Manipulates network routing tables.085 rsm Removable Storage Manager Command Line Interface.086 runas Run As Utility.087 rwinsta Reset Session Utility. Reset the session subsystem hardware and software to known initial values.088 sc A tool to aid in developing services for Windows NT. SC is a command line program used for communicating with the NT Service Controller and services.089 schtasks Schedule Tasks. Enables an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system. Replaces at.exe.090 secedit Windows Security Configuration Editor Command Tool.091 setver Sets the version number that MS-DOS report to a program.092 sfc Windows XP Windows File Checker. Scans all protected system files and replaces incorrect versions with correct Microsoft versions.093 shadow Monitor another Terminal Services session.094 shutdown Windows Remote Shutdown Tool.095 sort Sort Utility.096 subst Associates a path with a drive letter.097 systeminfo System Information. This command line tool enables an administrator to query for basic system configuration information.098 taskkill Kill Process. This command line tool can be used to end one or more processes. Processes can be killed by the process id or image name. - 18 -© 2011, BCDALAIs Free Tech. Support Blog
  19. 19. Windows Command Guide 2011099 tasklist This command line tool displays a list of application(s) and associated task(s)/process(es) currently running on either a local or remote system.100 telnet Microsoft Telnet Client. Establishes a character-based session with a Telnet server across a network. This command helps you determine whether Session layer functions can work on a network.101 tftp Trivial File Transfer Protocol App. Transfers files to and from a remote computer running the TFTP service.102 tlntadmn Telnet Administration. Telnet Server Admin Tool.103 tracerpt Event Trace Report Tool. Tracerpt processes binary Event Trace Session log files or real-time streams from instrumented Event Trace providers and creates a report or a text (CSV) file describing the events generated.104 tracert TCP/IP Traceroute Command. Shows all the routing hops that a packet takes to reach a destination on a network.105 tracert6 Ipv6 Traceroute Command. (Not for Windows 7 or later).106 tscon Session Connection Utility. Attaches a user session to a terminal session.107 tsdiscon Session Disconnection Utility. Disconnects a terminal session.108 tskill Terminal Services End Process Utility. Ends a process.109 tsshutdn System Shutdown Utility. Shut down a server in a controlled manner.110 typeperf Command line performance monitor. Typeperf writes performance data to the command window or to a log file. To stop Typeperf, press CTRL+C.111 tzchange Time zone change tool. A command Line utility to make time zone changes.112 unlodctr Unload PerfMon Counters. Removes counter names and explain text for the specified extensible counter.113 vssadmin Command Line Interface for Microsoft Volume Shadow Copy Service.114 w32tm Windows Time Service Diagnostic Tool.115 winmsd System Information. Replaced by msinfo32.exe.116 winver Windows Version Checking Tool.117 wscript Windows Script Host GUI mode.118 xcopy Copies files and directory trees. Command-line ToolsTable-9: [Applies To: Vista, Windows Server 2008, 2008 R2 and Windows 7. These new are alsoadditional for table-8.] Windows Vista /Server 2008 / 2008 R2 /Windows 7SL. COMMANDS COMMAND USAGES01 auditpol Configure, create, backup and restore audit policies on any computer in the organization from the command line with verbose logging. Replaces auditusr.exe.02 bcdboot Used to initialize the Boot Configuration Data (BCD) store and copy boot environment files to the system partition.03 bcdedit Edit the Boot Configuration Data Store.04 bitsadmin BITS administration utility.05 change Change terminal server settings for logons, COM port mappings and install mode.06 chglogon Enable or disable session logons.07 chgport List or change COM port mappings for DOS application compatibility.08 chgusr Change install mode.09 choice Allow users to select one item from a list of choices and return the index of the selected choice.10 clip Redirect the output of command-line tools to the Windows Clipboard.11 cmdkey Create, display, and delete stored user names and passwords.12 diskpart Expanded to support hard disks with the GUID Partition Table, and a new “shrink” command has been added which facilitates shrinking a pre-existing NTFS partition.13 diskraid Launch the diskraid application.14 dispdiag Display diagnostics information.15 forfiles Select a file (or files) and execute a command on that file.16 icacls Display or modify access control lists (ACLs) of files; an updated version of cacls.17 iscsicli The Microsoft iSCSI Initiator.18 isoburn Windows Disc Image Burning Tool.19 manage-bde Used to manage BitLocker encrypted volumes.20 mklink Create, modify and delete junctions, hard links, and symbolic links.21 muiunattend The MUI Unattended Action.22 netcfg The WinPE Network Installer.23 ocsetup The Windows Optional Component Setup. - 19 -© 2011, BCDALAIs Free Tech. Support Blog
  20. 20. Windows Command Guide 201124 pkgmgr The Windows Package Manager.25 pnpunattend Used for unattended online driver installation.26 pnputil PnPUtil Tool. The Microsoft Plug and Play (PnP) Utility.27 query Query command. Syntax {Process|Session|TermServer|User}.28 quser Display information about users logged on to the system.29 robocopy The Robust File Copy for Windows tool. To copy/move files or folders from one volume to another while allowing them to retain their permissions.30 rpcping Ping a server using Remote Procedure Call (RPC).31 sdbinst Application Compatibility Database Installer tool.32 setx Create or modify environment variables in the user or system environment.33 sxstrace The WinSxs tracing utility.34 takeown Recover access to a file that was denied by reassigning file ownership.35 timeout Accept a timeout parameter to wait for the specified time period or until any key is pressed.36 tracerpt The TraceRpt tool.37 tzutil Windows Time Zone Utility.38 verifier Driver Verifier Monitor. The driver verification tool.39 waitfor Sends, or waits for, a signal on a system. When /S is not specified, the signal will be broadcasted to all the systems in a domain. If /S is specified, then the signal will be sent only to the specified system.40 wbadmin Start the backup tool.41 wceutil The Windows Event Collector Utility.42 wevtutil The Windows Event command-line Utility.43 where Display the location of files that match the search pattern.44 whoami Retrieve user name and group information, along with the respective security identifiers (SIDs), privileges, logon identifier (logon ID) for the current user (access token) on the local system, i.e. the current logged on user. If no switch is specified, the tool displays the user name in NTLM format (domainusername).45 winrm The Windows Remote Management tool (WinRM).46 winrs Windows Remote Shell (WinRS) allows establishing secure Windows Remote Management sessions to multiple remote computers from a single console.47 winsat The Windows System Assessment tool. - 20 -© 2011, BCDALAIs Free Tech. Support Blog
  21. 21. Windows Command Guide 2011 PART – 1 (Advance users) [Applies To: Advance users and power users.] Chapter –3 Advance rundll32 CommandsTable-10: [Notes: Internal Windows commands based on the rundll32.exe file, to run the specificOption / Action / Feature.] Windows 2000 / XP / Server 2003 01 Accessibility Options rundll32 shell32.dll,Control_RunDLL access.cpl 02 Add/Remove Programs: (Change or Remove Programs) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,0 03 Add/Remove Programs: (Add New Programs) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,1 04 Add/Remove Programs: (Add/Remove Windows Components) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,2 05 Add/Remove Programs: (Set Programs Access and Defaults) * rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,3 06 Desktop Property: Themes Tab rundll32 shell32.dll,Control_RunDLL desk.cpl 07 Desktop Property: Desktop Tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,0 08 Desktop Property: Screen Saver Tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,1 09 Desktop Property: Appearance Tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,2 10 Desktop Property: Settings Tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,3 11 Device Manager rundll32 devmgr.dll DeviceManager_Execute 12 Folder Options rundll32 shell32.dll,Options_RunDLL 13 Forgotten Password Wizard(Create a password reset disk) rundll32 keymgr.dll,PRShowSaveWizardExW 14 Game Controller rundll32 Shell32.dll,Control_RunDLL joy.cpl 15 Hibernate rundll32 powrprof.dll,SetSuspendState 16 IE –Content Advisor rundll32 msrating.dll,RatingSetupUI 17 Control Panel rundll32 shell32.dll,Control_RunDLL 18 IE –Delete All (Browsing History – IE7 or later) rundll32 InetCpl.cpl,ClearMyTracksByProcess 255 19 IE –Delete Cookies rundll32 InetCpl.cpl,ClearMyTracksByProcess 2 20 IE –Delete Form Data rundll32 InetCpl.cpl,ClearMyTracksByProcess 16 21 IE –Delete Files and Settings Stored by Add-Ons rundll32 InetCpl.cpl,ClearMyTracksByProcess 4351 22 IE –Delete History rundll32 InetCpl.cpl,ClearMyTracksByProcess 1 23 IE –Delete Passwords rundll32 InetCpl.cpl,ClearMyTracksByProcess 32 24 IE –Delete Temporary Internet Files rundll32 InetCpl.cpl,ClearMyTracksByProcess 8 25 Lock Screen (Lock Computer) rundll32 user32.dll,LockWorkStation 26 Map Network Drives rundll32 Shell32.dll,SHHelpShortcuts_RunDLL Connect - 21 -© 2011, BCDALAIs Free Tech. Support Blog
  22. 22. Windows Command Guide 2011 27 Mouse Properties Dialog Box: Buttons tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,0 28 Mouse Properties Dialog Box: Pointers tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,1 29 Mouse Properties Dialog Box: Pointers Options tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,2 30 Mouse Properties Dialog Box: Wheel tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,3 31 Mouse Properties Dialog Box: Hardware tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,4 32 Mouse Button: Changing Left-to-Right and vice versa rundll32 User32.dll,SwapMouseButton 33 Network Connections rundll32 shell32.dll,Control_RunDLL ncpa.cpl 34 Network Setup Wizard (i.e. network / internet / VPN) rundll32 hnetwiz.dll,HomeNetWizardRunDll 35 New Connections Wizard rundll32 netshell.dll,StartNCW 36 Organize Favorites rundll32 shdocvw.dll,DoOrganizeFavDlg 37 Phone and Modem options rundll32 Shell32.dll,Control_RunDLL telephon.cpl 38 Power Options rundll32 Shell32.dll,Control_RunDLL powercfg.cpl 39 Printer and Faxes folder rundll32 Shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder 40 Regional and Language Options: Regional Options tab rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,0 41 Regional and Language Options: Languages tab rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,1 42 Regional and Language Options: Advanced tab rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,2 43 Safely Remove Hardware rundll32 Shell32.dll,Control_RunDLL HotPlug.dll 44 Sound and Audio Device Properties: Volume tab rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,0 45 Sound and Audio Device Properties: Sounds tab rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,1 46 Sound and Audio Device Properties: Audio tab rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,2 47 Sound and Audio Device Properties: Voice tab rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,3 48 Sound and Audio Device Properties: Hardware tab rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,4 49 Stored Username and Passwords rundll32 keymgr.dll,KRShowKeyMgr 50 System Properties: General tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl 51 System Properties: Computer Name tab rundll32 Shell32.dll,Control_RunDLL Sysdm.cpl,,1 52 System Properties: Hardware tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,2 53 System Properties: Advanced tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,3 54 System Properties: System Restore tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,4 55 System Properties: Automatic Updates tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,5 56 System Properties: Remote tab rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,6 57 System Properties: Performance (Visual Effects) rundll32 shell32.dll,Control_RunDLL sysdm.cpl,,-1 58 Taskbar Properties rundll32 shell32.dll,Options_RunDLL 1 59 Time and Date - 22 -© 2011, BCDALAIs Free Tech. Support Blog
  23. 23. Windows Command Guide 2011 rundll32 Shell32.dll,Control_RunDLL timedate.cpl 60 User Accounts rundll32 shell32.dll,Control_RunDLL nusrmgr.cpl 61 Windows Firewall rundll32 shell32.dll,Control_RunDLL firewall.cpl 62 Windows Fonts folder rundll32 Shell32.dll,SHHelpShortcuts_RunDLL FontsFolder 63 Wireless Network Setup Wizard rundll32 wzcdlg.dll,FlashConfigCreateNetwork 64 Wireless Network Setup Wizard rundll32 shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW 65 Windows Security Center rundll32 shell32.dll,Control_RunDLL wscui.cpl 66 Windows Update rundll32 Shell32.dll,Control_RunDLL wuaucpl.cpl Internet Explorer 8(deleting IE data) 67 IE –Delete All Browsing History rundll32 InetCpl.cpl,ClearMyTracksByProcess 255 68 IE –Delete Cookies rundll32 InetCpl.cpl,ClearMyTracksByProcess 258 69 IE –Delete Form Data rundll32 InetCpl.cpl,ClearMyTracksByProcess 272 70 IE –Delete History rundll32 InetCpl.cpl,ClearMyTracksByProcess 449 71 IE –Delete InPrivate Data rundll32 InetCpl.cpl,ClearMyTracksByProcess 2304 72 IE –Delete Passwords rundll32 InetCpl.cpl,ClearMyTracksByProcess 288 73 IE –Delete Temporary Internet Files rundll32 InetCpl.cpl,ClearMyTracksByProcess 264 74 IE – Preserve Favorite Website Data rundll32 InetCpl.cpl,ClearMyTracksByProcess 8448 Windows Vista / Server 2008 / 2008 R2 / Windows 7 75 Add/Remove Programs: (Programs and Features) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,0 76 Add/Remove Programs: (Turn Windows Features On or Off) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,2 77 Add/Remove Programs: (Set Programs Access and Computer Defaults) rundll32 shell32.dll,Control_RunDLL appwiz.cpl,,3 78 Desktop Property: Desktop Icons tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,0 79 Desktop Property: Screen Saver Settings tab rundll32 shell32.dll,Control_RunDLL desk.cpl,,1 80 Desktop Property: Appearance Settings (Win7: Personalization) rundll32 shell32.dll,Control_RunDLL desk.cpl,,2 81 Desktop Property: Monitor Settings (Win7: Screen Resolution) rundll32 shell32.dll,Control_RunDLL desk.cpl,,3 82 Device Installation Settings rundll32 newdev.dll,DeviceInternetSettingUi 83 Environment Variables rundll32 sysdm.cpl,EditEnvironmentVariables 84 Folder Options: Folder searching tab rundll32 shell32.dll,options_rundll 2 85 Folder Options: General tab rundll32 shell32.dll,options_rundll 0 86 Folder Options: View tab rundll32 shell32.dll,options_rundll 7 87 Mouse Properties Dialog Box: Buttons tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,0 88 Mouse Properties Dialog Box: Pointers tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,1 89 Mouse Properties Dialog Box: Pointers Options tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,2 90 Mouse Properties Dialog Box: Wheel tab rundll32 Shell32.dll,Control_RunDLL main.cpl @0,3 - 23 -© 2011, BCDALAIs Free Tech. Support Blog