1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Useful Windows Commands

Discussion in 'Training & Development' started by JK2447, Apr 14, 2010.

  1. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator

    This can be quite handy ;D

    Heres the "run as" syntax :
    runas /user:<local admin username> cmd
    And ………..
    Some useful run commands below....... MS's version here

    Accessibility Controls : access.cpl
    Add Hardware Wizard : hdwwiz.cpl
    Add/Remove Programs : appwiz.cpl
    Administrative Tools : control admintools
    Automatic Updates : wuaucpl.cpl
    Bluetooth Transfer Wizard : fsquirt
    Calculator : calc
    Certificate Manager : certmgr.msc
    Character Map : charmap
    Check Disk Utility : chkdsk
    Clipboard Viewer : clipbrd
    Command Prompt : cmd
    Component Services : dcomcnfg
    Computer Management : compmgmt.msc
    Date and Time Properties : timedate.cpl
    DDE Shares : ddeshare
    Device Manager : devmgmt.msc
    Direct X Control Panel (If Installed)* : directx.cpl
    Direct X Troubleshooter : dxdiag
    Disk Cleanup Utility : cleanmgr
    Disk Defragment : dfrg.msc
    Disk Management : diskmgmt.msc
    Disk Partition Manager : diskpart
    Display Properties : control desktop
    Display Properties : desk.cpl
    Display Properties (w/Appearance Tab Preselected) : control color
    Dr. Watson System Troubleshooting Utility : drwtsn32
    Driver Verifier Utility : verifier
    Event Viewer : eventvwr.msc
    File Signature Verification Tool : sigverif
    Findfast : findfast.cpl
    Folders Properties : control folders
    Fonts : control fonts
    Fonts Folder : fonts
    Free Cell Card Game : freecell
    Game Controllers : joy.cpl
    Group Policy Editor (XP Prof) : gpedit.msc
    Hearts Card Game : mshearts
    Iexpress Wizard : iexpress
    Indexing Service : ciadv.msc
    Internet Properties : inetcpl.cpl
    IP Configuration (Display Connection Configuration) : ipconfig /all
    IP Configuration (Display DNS Cache Contents) : ipconfig /displaydns
    IP Configuration (Delete DNS Cache Contents) : ipconfig /flushdns
    IP Configuration (Release All Connections) : ipconfig /release
    IP Configuration (Renew All Connections) : ipconfig /renew
    IP Configuration (Refreshes DHCP & Re-Registers DNS) : ipconfig /registerdns
    IP Configuration (Display DHCP Class ID) : ipconfig /showclassid
    IP Configuration (Modifies DHCP Class ID) : ipconfig /setclassid
    Java Control Panel (If Installed) : jpicpl32.cpl
    Java Control Panel (If Installed) : javaws
    Keyboard Properties : control keyboard
    Local Security Settings : secpol.msc
    Local Users and Groups : lusrmgr.msc
    Logs You Out Of Windows : logoff
    Microsoft Chat : winchat
    Minesweeper Game : winmine
    Mouse Properties : control mouse
    Mouse Properties : main.cpl
    Network Connections : control netconnections
    Network Connections : ncpa.cpl
    Network Setup Wizard : netsetup.cpl
    Notepad : notepad
    Nview Desktop Manager (If Installed) : nvtuicpl.cpl
    Object Packager : packager
    ODBC Data Source Administrator : odbccp32.cpl
    On Screen Keyboard : osk
    Opens AC3 Filter (If Installed) : ac3filter.cpl
    Password Properties : password.cpl
    Performance Monitor : perfmon.msc
    Performance Monitor : perfmon
    Phone and Modem Options : telephon.cpl
    Power Configuration : powercfg.cpl
    Printers and Faxes : control printers
    Printers Folder : printers
    Private Character Editor : eudcedit
    Quicktime (If Installed) : QuickTime.cpl
    Regional Settings : intl.cpl
    Registry Editor : regedit
    Registry Editor : regedit32
    Remote Desktop : mstsc
    Removable Storage : ntmsmgr.msc
    Removable Storage Operator Requests : ntmsoprq.msc
    Resultant Set of Policy (XP Prof) : rsop.msc
    Scanners and Cameras : sticpl.cpl

    Scheduled Tasks : control schedtasks
    Security Center : wscui.cpl
    Services : services.msc
    Shared Folders : fsmgmt.msc
    Shuts Down Windows : shutdown
    Sounds and Audio : mmsys.cpl
    Spider Solitare Card Game : spider
    SQL Client Configuration : cliconfg
    System Configuration Editor : sysedit
    System Configuration Utility : msconfig

    System File Checker Utility (Scan Immediately) : sfc /scannow
    System File Checker Utility (Scan Once At Next Boot) : sfc /scanonce
    System File Checker Utility (Scan On Every Boot) : sfc /scanboot
    System File Checker Utility (Return to Default Setting) : sfc /revert
    System File Checker Utility (Purge File Cache) : sfc /purgecache
    System File Checker Utility (Set Cache Size to size x) : sfc /cachesize=x
    System Properties : sysdm.cpl
    Task Manager : taskmgr
    Telnet Client : telnet
    User Account Management : nusrmgr.cpl
    Utility Manager : utilman
    Windows Firewall : firewall.cpl
    Windows Magnifier : magnify
    Windows Management Infrastructure : wmimgmt.msc
    Windows System Security Tool : syskey
    Windows Update Launches : wupdmgr
    Windows XP Tour Wizard : tourstart

    Wordpad : write
    Certifications: BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, VCP4, CCA (XenApp6.5), MCSA 2012, VCP5, VCP6-NV, VSP, VTSP
    WIP: AWS Certified Solutions Architect - Associate
  2. dazza786

    dazza786 Megabyte Poster

    Windows key shortcuts are also very useful:

    # Windows Key + E
    Opens a new Explorer Window. Probably one of the hottest Windows keyboard shortcuts. This one gets a lot of hoorahs!

    # Windows Key
    Displays the Start Menu.

    # Windows Key + D
    Minimizes all windows and shows the Desktop.

    # Windows Key + D
    Opens all windows and takes you right back to where you were.

    # Windows Key + F
    Displays the Find all files dialog box.

    # Windows Key + L
    Lock your Windows XP computer.

    # Windows Key + M
    Minimizes all open windows.

    # Windows Key + Shift + M
    Restores all previously open windows to how they were before you Minimized them.

    # Windows Key + R
    Displays the Run command.

    # Windows Key + F1
    Displays the Windows Help menu.

    # Windows Key + Pause/Break
    Displays the Systems Properties dialog box.

    # Windows Key + Tab
    Cycle through the buttons on the Task Bar.

    # Windows Key + U
    Displays the Utility Manager with accessibility options; Magnifier, Narrator and On-Screen Keyboard.
    Certifications: MCP (271, 272, 270, 290, 291, 621, 681, 685), MCDST, MCTS, MCITP, MCSA, Security+, CCA(XA6.5)
  3. beaumontdvd

    beaumontdvd Kilobyte Poster

    thanks JK and Dazza! Could anyone sticky these?

    Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
    WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
  4. BB88

    BB88 Kilobyte Poster Gold Member

    Certifications: CompTIA A+, CompTIA Network+, MCSA: Office 365,, 70-410, 70-680
    WIP: PRINCE2 Foundation, MCSA: Server 2012, PRINCE2 Practioner
  5. dales

    dales Terabyte Poster

    Nice set of commands there Jk, although I must say I find the runas command not to be very useful unless your scripting a start up item for a member of IT/Dev team, runas must use cleartext to parse passwords which is no good for your security, much easier to shift right click runas on the app you want to use. (CPAU is better for me in my environment).

    Another thing I found the other day for those of you with xp and IE7 browsers and upwards is that you cant run IE as admin and get to the control panel, however you can if you look in the windows folder for the hidden ie7 folder and in there will be the old executable for IE6 which you can run as admin to get to the control panel, saves the whole logging out and back in again debacle.
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing

Share This Page