Start Appcmd.exe (IIS 7)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Open Appcmd.exe if you want to configure IISĀ 7 settings by using a command-shell window. Appcmd.exe resides in the %windir%\system32\inetsrv directory, which is available only to the Administrator account or to users who are members of the Administrators group on the computer. In addition, members of the Administrators group must start Appcmd.exe with elevated permissions to view and change settings in the server-level configuration files: Machine.config, the root Web.config file (in the .NET Framework directory), and in ApplicationHost.config. Users who view or change Web.config files in site or application directories must have access to read and write to files in those directories.

Note

If you are running 64-bit Windows, use Appcmd.exe from the %windir%\system32\inetsrv directory, not the %windir%\syswow64\inetsrv directory.

To start Appcmd.exe

  1. Click Start, and then click All Programs.

  2. Click Accessories, and then click Command Prompt.

  3. At the Command Prompt, type cd %windir%\system32\inetsrv, and then press ENTER.

Note

To run the Command Prompt as an administrator, right-click the icon in the Start menu, and then click Run as administrator.

See Also

Concepts

Appcmd.exe (IIS 7)