How to recycle or restart IIS (PVWA) and what does the command 'IISRESET' do?

How to recycle or restart IIS (PVWA) and what does the command 'IISRESET' do?

119
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM


Question


How to recycle or restart IIS (PVWA) and what does the command IISRESET do?

Environment


10.10;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.3;12.5;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

Answer


When the command IISRESET is run from an administrative command prompt the following Windows services are restarted:
- IIS Admin Service
- Windows Process Activation Service (WAS)
- World Wide Web Publishing Service (WWW Service)


Usually, this is the easiest way to resolve issues with PVWA however as this is a global command, all websites on the IIS server will become unavailable whilst the services are forcibly stopped and restarted. A more graceful way to do this would be to add the /noforce to the command, for example, IISRESET /noforce.

Alternatively, if multiple sites exist on the same server then the individual site or app pool can be restarted: 
- At the command prompt navigate to the following folder, (where the command appcmd exists) %windir%\system32\inetsrv
  - To restart an individual Web site, type appcmd stop site "site_name" where site_name is the name of the Web site that you want to restart followed by appcmd start site "site_name". For example:
    - appcmd stop site "Default Web Site"
    - appcmd start site "Default Web Site"

  - To recycle an application pool, type appcmd recycle apppool "apppool_name" where apppool_name is the name of the application pool that you want to recycle. For example:
    - appcmd recycle apppool PasswordVaultWebAccessPool


Additional Information


Details

QUESTION:

How to recycle or restart IIS (PVWA) and what does the command 'IISRESET' do?


ANSWER:

When the command 'IISRESET' is ran from an administrative command prompt the following windows services are restarted:
- IIS Admin Service
- Windows Process Activation Service (WAS)
- World Wide Web Publishing Service (WWW Service)

Usually this is the easiest way to resolve issues with PVWA however as this is a global command, all websites on the IIS server will become unavailable whilst the services are forcibly stopped and restarted. A more graceful way to do this would be to add the '/noforce' to the the command, for example 'IISRESET /noforce'.

Alternatively if multiple sites exist on the same server then the individual site or apppool can be restarted: 
- At the command prompt navigate to the following folder, (where the command 'appcmd' exists) %windir%\system32\inetsrv
  -- To restart an individual Web site, type appcmd stop site "site_name" where site_name is the name of the Web site that you want to restart followed by appcmd start site "site_name". For example:
    -- appcmd stop site "Default Web Site"
    -- appcmd start site "Default Web Site"
  -- To recycle an application pool, type appcmd recycle apppool "apppool_name" where apppool_name is the name of the application pool that you want to recycle. For example:
    -- appcmd recycle apppool PasswordVaultWebAccessPool



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000wgjCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail