Recycling the EmpowerID Application Pools on-demand

An EmpowerID administrator will want to quickly recycle the EmpowerID application pools when implementing branding changes or troubleshooting caching issues. EmpowerID provides the following batch file and PowerShell script to ease the task of performing on-demand recycling.

1. Open a text editor of your choice (such as Notepad) and enter the following contents:

%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Exchange Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID IDPs"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID SQL Web Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Web API"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Web Reports"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Web Service Garden"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Web Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerID Workflow WebServices"
%systemroot%\System32\inetsrv\appcmd recycle apppool /"EmpowerIDV5"

2. Click File > Save As... and choose a location where you wish to save the batch file. In the Save As window that appears, in the File Name field, enter the following, exactly as shown:

"EID AppPool Restart.bat"

3. Whenever you need to recycle the EmpowerID application pools, simply double click on EID AppPool Restart.bat.

4. If you prefer to use PowerShell, please create a PowerShell script with the following contents:

Restart-WebItem 'IIS:\AppPools\EmpowerID'
Restart-WebItem 'IIS:\AppPools\EmpowerID Exchange Services'
Restart-WebItem 'IIS:\AppPools\EmpowerID IDPs'
Restart-WebItem 'IIS:\AppPools\EmpowerID SQL Web Services'
Restart-WebItem 'IIS:\AppPools\EmpowerID Web API'
Restart-WebItem 'IIS:\AppPools\EmpowerID Web Reports'
Restart-WebItem 'IIS:\AppPools\EmpowerID Web Service Garden'
Restart-WebItem 'IIS:\AppPools\EmpowerID Web Services'
Restart-WebItem 'IIS:\AppPools\EmpowerID Workflow WebServices'
Restart-WebItem 'IIS:\AppPools\EmpowerIDV5'

For more information please see: Recycle an Application Pool on Demand (IIS 7)

Please feel free to contact us by e-mail at or by phone at (877) 996-4276 (Option 2) if you have any questions or concerns regarding this guide.

Have more questions? Submit a request


Powered by Zendesk