Windows system information start run

Complete Guide to Your Windows System Run Commands

Access parts of the operating system easily

Run commands can be used to access various aspects of your computer without going through the Control Panel or menus. If you’re in the process of tweaking your system so it becomes more responsive, you may find these commands useful.

This guide applies to Windows 10, Windows 8, and Windows 7.

Windows Run Commands

To use any of these commands in Windows 10, right-click on the Start menu and select Run (in Windows 8 and 7, select Start > Run), or use the keyboard shortcut Windows Key+R in all versions of Windows. Then enter a command at the prompt and select OK. Before modifying any values within these utilities, be sure to read up on what they do.

The Run app is not case sensitive.

Command What It Does
Command Opens the command prompt.
Compmgmt.msc Opens the computer management console.
Devmgmt.msc Opens the device manager.
Diskmgmt.msc Opens the disk management tool.
Eventvwr.msc Opens the event viewer.
Fsmgmt.msc Opens shared folders.
Gpedit.msc Opens the group policy editor.
Lusrmgr.msc Opens the local users and groups.
Mailto: Opens the default email client.
Msconfig Opens the system configuration utility.
Msinfo32 Opens the system information utility.
Perfmon.msc Opens the performance monitor.
Regedit Opens the registry editor.
Rsop.msc Opens resultant set of policy.
Secpol.msc Opens local security settings.
Services.msc Opens services utility.
System.ini Windows loading information.
Win.ini Windows loading information.
Winver Shows current version of Windows.

Control Panel Access Run Commands

The following commands access various parts of the Control Panel directly:

Windows Start | Run commands

Description Run Command
Accessibility Options utilman
or
control access.cpl
Add Hardware Wizard hdwwiz
Programs and Features
(Add New Programs)
(Add Remove Windows Components)
(Set Program Access & Defaults )
appwiz.cpl
control appwiz.cpl,,1
control appwiz.cpl,,2
control appwiz.cpl,,3
Administrative Tools control admintools
Advanced User Accounts Control Panel netplwiz
Authorization Manager azman.msc
Automatic Update control wuaucpl.cpl
Backup and Restore Utility sdclt
Bluetooth Transfer Wizard fsquirt
Calculator calc
Certificate Manager certmgr.msc
Character Map charmap
Check Disk Utility chkdsk
Clear Type (tune or turn off) cttune
Color Management colorcpl.exe
Command Prompt cmd
Component Services dcomcnfg
or
comexp.msc
Computer Management CompMgmtLauncher.exe
or
compmgmt.msc
Control Panel control
Credential (passwords) Backup and Restore Wizard credwiz
Data Execution Prevention SystemPropertiesDataExecutionPrevention
Date and Time Properties timedate.cpl
Device Manager hdwwiz
or
devmgmt.msc
Device Pairing Wizard DevicePairingWizard
Digitizer Calibration Tool (Tablets/Touch screens) tabcal
Direct X Control Panel (if installed) directx.cpl
Direct X Troubleshooter dxdiag
Disk Cleanup Utility cleanmgr
Disk Defragmenter dfrgui
defrag
Disk Management diskmgmt.msc
Disk Partition Manager diskpart
Display Color Calibration dccw
Display DPI / Text size dpiscaling
Display Properties (Themes, Desktop, Screensaver) control desktop
Display Properties (Resolution, Orientation) desk.cpl
Display Properties (Color & Appearance) control color
Documents (open ‘My Documents’ folder) documents
Downloads (open ‘Downloads’ folder) downloads
Driver Verifier Utility verifier
DVD Player dvdplay
Edit Environment Variables rundll32.exe sysdm.cpl,EditEnvironmentVariables
Encrypting File System Wizard (EFS) rekeywiz
Event Viewer eventvwr.msc
File Signature Verification Tool (Device drivers) sigverif
Files and Settings Transfer Tool %systemroot%\system32\migwiz\migwiz.exe
Firewall Control Panel firewall.cpl
Folders Properties control folders
Fonts list control fonts
Font preview fontview arial.ttf
Game Controllers joy.cpl
Local Group Policy Editor gpedit.msc
Internet Properties inetcpl.cpl
IP Configuration ipconfig
iSCSI Initiator configuration iscsicpl
Keyboard Properties control keyboard
Language Pack Installer lpksetup
Local Security Policy secpol.msc
Local Users and Groups lusrmgr.msc
Log out logoff
Microsoft Malicious Software Removal Tool mrt
Microsoft Management Console mmc
Access (Microsoft Office) msaccess
Excel (Microsoft Office) Excel
Powerpoint (Microsoft Office) powerpnt
Word (Microsoft Office) winword
Microsoft Paint mspaint
Microsoft Support Diagnostic Tool msdt
Mouse Properties control mouse
or
main.cpl
Network Connections control netconnections
or
ncpa.cpl
Projector:
Connect to Network Projector
Switch projector display
netproj

displayswitch Notepad notepad ODBC Data Source Admin
Default ODBC driver:
32-bit ODBC driver under 64-bit platform: C:\windows\system32\odbcad32.exe
C:\windows\sysWOW64\odbcad32.exe ODBC configuration — Install/configure MDAC drivers odbcconf On Screen Keyboard osk OOB Getting Started gettingstarted Password — Create a Windows Password Reset Disk (USB) «C:\Windows\system32\rundll32.exe» keymgr.dll,PRShowSaveWizardExW Pen and Touch (Tablet/Pen input configuration) tabletpc.cpl Performance Monitor perfmon.msc Phone and Modem Options telephon.cpl Phone Dialer dialer Power Configuration powercfg.cpl and powercfg.exe Presentation Settings PresentationSettings Problem Steps Recorder psr Program Access and Computer Defaults — browser / email / media computerdefaults Printers and Faxes control printers Print Management (.msc) PrintManagement Printer Migration (backup/restore) printbrmui and printbrm.exe Printer user interface (List all printui.dll options) printui Private Character Editor eudcedit Regional Settings — Language, Date/Time format, keyboard locale. intl.cpl Registry Editor regedit Remote Assistance msra Remote Desktop mstsc Resource Monitor resmon Resultant Set of Policy rsop.msc Settings (Windows 10) ms-settings: Scheduled Tasks control schedtasks Screenshot Snipping Tool snippingtool Security Center wscui.cpl Services services.msc Shared Folder Wizard shrpubw Shared Folders fsmgmt.msc Shut Down Windows shutdown Software Licensing/Activation slui Sounds and Audio mmsys.cpl Sound Recorder soundrecorder Sound Volume sndvol Syncronization Tool (Offline files) mobsync System Configuration Utility msconfig System File Checker Utility (Scan/Purge) sfc System Information msinfo32 System Properties

sysdm.cpl SystemProperties
or
sysdm.cpl DisplaySYSDMCPL

System Properties — Performance SystemPropertiesPerformance System Properties — Hardware SystemPropertiesHardware System Properties — Advanced SystemPropertiesAdvanced System Repair — Create a System Repair Disc recdisc System Restore rstrui Task Manager taskmgr Task Scheduler taskschd.msc Telnet Client telnet Trusted Platform Module Initialization Wizard tpmInit User Accounts (Autologon) control userpasswords2 User Account Control (UAC) Settings UserAccountControlSettings User Profiles — Edit/Change type C:\Windows\System32\rundll32.exe sysdm.cpl,EditUserProfiles Windows Disc Image Burning Tool isoburn C:\movies\madmax.iso Windows Explorer explorer.exe
explorer.exe . Will open at the current directory Windows Features optionalfeatures Windows Firewall
Windows Firewall with Advanced Security firewall.cpl
wf.msc Windows Image Acquisition (scanner) wiaacmgr Windows Magnifier magnify Windows Management Infrastructure wmimgmt.msc Windows Memory Diagnostic Scheduler mdsched Windows Mobility Center (Mobile PCs only) mblctr Windows PowerShell powershell Windows PowerShell ISE powershell_ise Windows Security Action Center wscui.cpl Windows Script Host(VBScript) wscript NAME_OF_SCRIPT.VBS Windows System Security Tool. Encrypt the SAM database.
(boot password.) syskey Windows Update wuapp Windows Update Standalone Installer wusa Windows Version (About Windows) winver WordPad write

Unless indicated otherwise, all the commands above work in all versions of Windows from Vista upwards.
Most of these utilities can be found in %systemroot%\System32\

“The Macintosh uses an experimental pointing device called a ‘mouse.’ There is no evidence that people want to use these things”

How to Run a Program as SYSTEM (LocalSystem) Account in Windows

Many Windows system files, registry keys, and services are owned by the SYSTEM (a.k.a LocalSystem) account, which has a high privilege level. If you need to modify a registry key owned by the SYSTEM account, there are at least two options.

The first option that comes to your mind is to take ownership of the corresponding registry key, assign yourself Full Control permissions. Once the registry key or the values are updated, revert the permissions and ownership to SYSTEM .

There is, however, an easier option. You can run the program — e.g., the Command Prompt or the Registry Editor under the SYSTEM account directly and update the registry values.

This article lists six different methods using which you can run programs under the SYSTEM or LocalSystem account in any version of Windows, including Windows 10. You can also add a Run as SYSTEM right-click menu option for .exe files.

Method to run a program under the SYSTEM account:

Before proceeding, understand that the terms SYSTEM , LocalSystem , and NT AUTHORITY\SYSTEM are one and the same.

How to Run Programs as SYSTEM (LocalSystem account)

To run a program under the SYSTEM account, use one of the following tools:

Using PsExec.exe from Windows Sysinternals

Use PsExec.exe console tool from Microsoft’s Windows Sysinternals to run a program under the SYSTEM context. Follow these instructions:

  1. Download PsExec from Microsoft Sysinternals.
  2. Unzip and extract the tool to a permanent folder — e.g., d:\tools
  3. Open an elevated or admin Command Prompt window.
  4. To start the Registry Editor under the SYSTEM account, type the following command, and press ENTER :

The above PsExec command-line starts the Registry Editor under LOCALSYSTEM account so that you can modify protected areas in the registry.

Note: If you launch Command Prompt ( cmd.exe ) using PsExec.exe under the SYSTEM account, it spawns a new Command Prompt window. And, any program you launch from that Command Prompt window would run under the SYSTEM (LocalSystem) account, which is a high privileged account. You must be cautious when running programs under the SYSTEM account so that you don’t accidentally run an undesired program as SYSTEM .

Using Advanced Run from Nirsoft

AdvancedRun is a simple tool for Windows that allows you to run a program with different settings that you choose, including – low or high priority, start directory, main window state (Minimized/Maximized), run the program with different user or permissions, Operating system compatibility settings, and environment variables. You can also save the desired settings into a configuration file and then run the program automatically from the command-line with the desired settings.

Using Advanced Run, you also launch a program under SYSTEM or a different user context.

Type in the program name to run and choose SYSTEM user in the Run As dropdown box, and click Run.

You can also create a desktop shortcut to run a program as SYSTEM. Here is the command-line syntax you use:

/RunAs 4 instructs to start the program under the LocalSystem account. The possible value data for the /RunAs switch are below:

  • 1 – Run as current user (elevate)
  • 2 – Run as current user (no elevation)
  • 3 – Run as Administrator (force elevation)
  • 4 – Run as SYSTEM
  • 8 – Run as TrustedInstaller

This starts the program under the LocalSystem account, which you can verify in the Task Manager Details tab.

Run as SYSTEM via the right-click menu

To launch a program under the SYSTEM account (with Advanced Run) from the right-click context menu, make a .reg file from the following contents and run the file.

Change the path to AdvancedRun.exe in the .reg file if necessary.

This adds the Run as SYSTEM command to the right-click menu for .exe files and its shortcuts.

Using Process Hacker

Process Hacker is an excellent process manager that looks similar to Sysinternals Process Explorer. This tool has a unique feature that allows you to launch a program under the same account as a running process or service.

  1. Run Process Hacker as administrator.
  2. Locate a program or service which is currently running under NT AUTHORITY\SYSTEM .
  3. Right-click on the process, click Miscellaneous, and click Run as this user…
  • Select the program (e.g., regedit.exe, or cmd.exe) you want to launch as that user.
  • Click OK.
  • Now the program (e.g., cmd.exe) would run as SYSTEM ( NT AUTHORITY\SYSTEM )

    The above method can also be used to launch any program under TrustedInstaller.

    Using NirCmd.exe from NirSoft

    NirCmd is a multipurpose command-line tool which we’ve covered in this site before.

    NirCmd can start a program elevated as well as launch it under the SYSTEM account.

    Use this command-line to start the Registry Editor elevated and under the SYSTEM account:

    Context menu implementation

    Make a .reg file from the following contents and run the file.

    Using RunAsSystem from Uwe Sieber

    RunAsSystem (from Uwe Sieber) is a console tool that launches a program under the SYSTEM account or context. It also passes the window style and its process priority to the executed process by default. You can override the window size as well as the child process priority using command-line arguments. Uwe Sieber is the one who developed the famous USB Drive Letter Manager program.

    It waits for the started process to end and then passes back its return code (aka errorlevel). However, in a batch file, you have to add start /wait .

    Usage:

    Examples:

    Context menu implementation

    Make a .reg file from the following contents and run the file.

    The above .reg file adds a Run as SYSTEM command in the right-click menu for .exe files. The .reg file assumes that the file RunAsSystem.exe is placed under the d:\tools folder. If not, alter the path accordingly in the .reg file.

    Using “NSudo” from M2Team

    NSudo (GitHub) is a similar portable utility like Advanced Run, except that it is not digitally signed. It can launch programs under SYSTEM, Current User, Current Process, or the TrustedInstaller account. We’ve earlier seen how to use NSudo to launch programs as TrustedInstaller.

    Select the mode (System) from the dropdown, type in the executable path, and click Run.

    Optionally, you can also add a predefined set of programs or commands in the Open: drop-down list box by editing the file named NSudo.json located in the same folder as the executable.

    To run a program under the SYSTEM context using NSudo command-line, use this syntax:

    See below for the full list of command-line arguments supported by this utility.

    NSudo: Command-line support

    Context menu addition

    • Run NSudo with -Install parameter. It copies NSudo to the Windows directory and adds the context menu.
    • To remove the context menu, run NSudo with the -Uninstall parameter. It removes NSudo from the Windows directory and the context menu.

    Editor’s Pick: Advanced Run for GUI (and CLI), and PsExec for CLI.

    One small request: If you liked this post, please share this?

    About the author

    Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

    Microsoft → Windows → How to Run a Program as SYSTEM (LocalSystem) Account in Windows

    2 thoughts on “How to Run a Program as SYSTEM (LocalSystem) Account in Windows”

    This is a really useful article and information. Thank you for that!

    I use this feature at the login screen by renaming a few files while Windows is offline. While this is a handy feature for technicians like myself, shouldn’t this be a security issue that Microsoft addresses?

    Читайте также:  Необходимые характеристики для windows
    Оцените статью