IIS Notes
From Federal Burro of Information
Jump to navigationJump to search
IIS 7
dumping application pool and sites config (64 bit version):
C:\Windows\SysWOW64\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml
C:\Windows\SysWOW64\inetsrv\appcmd list site /config /xml > c:\sites.xml
c:\windows\system32\inetsrv\w3wp.exe -ap "DotNetNukeAppPool" -v "v4.0" -l "webengine4.dll" -a \\.\pipe\iisipm36b9d452-843d-4286-9ba8-f4321ac21cdd -h "C:\inetpub\temp\apppools\DotNetNukeAppPool\DotNetNukeAppPool.config" -w "" -m 0 -t 20
PS C:\Windows> c:\windows\system32\inetsrv\w3wp.exe /? Usage: C:\windows\system32\inetsrv\w3wp.exe -s <site id> | -h [application host file] -w <optional root web.config file> -in <optional instance name> -debug This option launches a worker process using the default application host config file. By default, it will use site id 1. -s <site id> Optional parameter to use a siteinformation from the provided site id. or -h [Application host config filename] Launches a worker process using the specified application host config file. -in <Instance Name> Optional instance name to use. Defaults to 'HWC-<PID>' -w <Root web config filename> Optional root web config file to use.