Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

iis reset command

# Command Prompt run as administrator: 
: '
Here is the improved restart IIS cmd you can use on IIS 7.0 and above that has 
a lower risk of failure:
'
iisreset /stop /timeout:60
taskkill /F /FI "SERVICES eq was"
iisreset /start

# OR 
IISRESET

: '
IISRESET is a well-known tool used to restart your IIS services.
Unfortunately, that is also its biggest problem:
1. It is often used to pick up configuration changes/reset misbehaving IIS
websites when it shouldn’t be.
2. It actively hurts the availability of your websites, and the overall 
stability of your server.
'
Source by www.leansentry.com #
 
PREVIOUS NEXT
Tagged: #iis #reset #command
ADD COMMENT
Topic
Name
2+3 =