How to Install With CMD as an Administrator

By Tara Cantore

Updated September 28, 2017

The system command prompt allows you to install applications providing you have their .exe or .msi file installed on your system. Most installers require elevation, otherwise known as administrative permission, before they can modify system files and settings. You can install a program as an administrator providing you have administrative permission.

Open the Start menu and type "cmd.exe."

Right-click "cmd.exe" from the "Programs" list of results, then click "Run as administrator."

Type the full path to the file's directory after the "cd" command. For example:\cd C:\users\john\desktop

Type the name of the file directly if it is a ".exe" file, for example "setup.exe" and press "Enter" to immediately run the installer with administrative permissions. If the file is a ".msi" installer, type "msiexec filename.msi" and press "Enter" where "filename.msi" is the name of your file.