IIS has a feature in properties where you can stop recycle your IIS on intervals
- Go to your “IIS Manager”
- Select “Application Pool” the instance you want to manage.
- Select “Advanced settings” action
- Under “Recycling” and set “Regular Time Interval” to 0, which means the application pool does not recycle.