

Get help about Appcmd.exeĪppcmd.exe contains built-in help information. To run the Command Prompt as an administrator, right-click the icon in the Start menu, and then click Run as administrator. 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. 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: nfig, the root Web.config file (in the. 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. Open Appcmd.exe if you want to configure IIS 8 settings by using a command-shell window. Use Appcmd.exe to change configuration in a parent-level configuration file Use Appcmd.exe to change configuration in a Web.config file Working with attributes and values in Appcmd.exeĬonfigure server-level settings by using Appcmd.exeĬonfigure settings for a site, application, virtual directory, or URL by using Appcmd.exe For example, you can complete complex tasks like stopping all sites that have requests that have been running longer than 60 seconds. For example, you can use the list command to search for information about an object, such as an application, or you can use the add command to create an object, such as a site.Īdditionally, you can combine commands together to return more complex data about objects on your web server or to perform tasks that are more complex. View information about worker processes and requests that are running on the web server.Īppcmd.exe provides consistent commands for common queries and configuration tasks, which reduces the complexity of learning syntax. Start, stop, and recycle application pools. The following examples are tasks that you can complete with Appcmd.exe:Ĭreate and configure sites, applications, application pools, and virtual directories. IIS 8 provides a command-line tool, Appcmd.exe, to configure and query objects on your web server, and to return output in text or XML.

Applies To: Windows Server 2012 R2, Windows Server 2012
