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.
Open a text editor of your choice (such as Notepad) and enter the following contents:
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Exchange Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID IDPs"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID SQL Web Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Web API"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Web Reports"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Web Service Garden"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Web Services"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerID Workflow WebServices"
%systemroot%\System32\inetsrv\appcmd recycle apppool /apppool.name:"EmpowerIDV5"
pause
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"
Whenever you need to recycle the EmpowerID application pools, simply double click on EID AppPool Restart.bat.
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 support@empowerid.com or by phone at (877) 996-4276 (Option 2) if you have any questions or concerns regarding this guide.