Start Appcmd.exe (IIS 7)

http://technet.microsoft.com/en-us/library/cc730918(v=ws.10).aspx
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.
noteNote
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.
noteNote
To run the Command Prompt as an administrator, right-click the icon in the Start menu, and then click Run as administrator.

See Also

Was this page helpful?

Community Additions

ADD

https

Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
Enter comment here.
11/27/2012

to start appcmd.exe

You cannot start a command line tool like appcmd.exe with browsing it from windows explorer.

The correct steps for star appcmd.exe like this:
1. Start\run and type cmd.exe (or start\run PowerShell)
2. Type cd c:\windows\system32\inetsrv (assuming you have installed Windows to c:\windows).
3. Type appcmd.exe for see the help or begin to use.

[[Thanks for providing this information. You are correct that the AppCmd.exe tool cannot be started by double-clicking on it from Windows Explorer. The topic has been corrected and the updated version will be published by 05/27. In some cases you may need to run the Command Prompt as an Administrator, which you cannot do if it is started from the Run command box. To do so, right-click the icon for the Command Prompt in the Start menu, and then click Run as Administrator.]]

Nhận xét

Bài đăng phổ biến từ blog này

Khôi phục phân vùng ổ cứng do ghost nhầm theo Hieuit.net

Cách sử dụng 2 phương thức [httppost] và [httpget] trong MVC theo https://dzungdt.wordpress.com

MVC định dạng tiền tệ vnđ - Format currency vnd in MVC