How to Force Restart of the IIS Application Pool September 21, 2018 If you want to let your web application restart your application pool, all you have to do is write a file to the IIS websites folder, which is typically c:inetpubwwwroot.