Introduction:
If
sites become available you may need to restart IIS to get them working again.
Restarting IIS is a last resort as any users currently connected will be
disconnected and any data stored in memory by IIS applications will be lost.
You can restart IIS using IIS Manager by right-clicking on the server node:
Please
look at below the step by step procedures to stop, start and restart the IIS
service.
There
are three methods to restart IIS service but we always recommend and prefer 2nd
Method to restart the service from Command line.
To restart IIS services:
1ST METHOD:
1.
In IIS Manager, right-click the local computer, point to All Tasks, and then
click Restart IIS.
2.
In “what do you want IIS to do” à drop-down list, click
Restart Internet Services on computer name.
4. Above screen will be disappeared in few seconds and IIS service will be restart.
5.
To ensure whether all services are running after the IIS restart à Go to Command Prompt à Type Command IISRESET /STATUS. All IIS dependant
service showing in below screen should be on running state.
Use
the /noforce parameter to help prevent data loss in case the IIS services
cannot be stopped within the one minute time-out period. If you are certain
that it is safe to force IIS to restart, you can omit the /noforce parameter.
However, be aware that you could lose data if you do not include this
parameter.
IIS
attempts to stop all services before restarting. The IISReset command-line
utility waits up to one minute for all services to stop if you do not include
the /noforce parameter. If the services cannot be stopped within one minute,
all IIS services are terminated, and IIS restarts.
Restart IIS from command IISRESET
1.
Click Start à RUN à type Services.msc
2.
In the below screen Right Click on “IIS Admin Service” à Click Restart
4.
Click Yes to Restart all dependant Service.
5.
To ensure whether IIS Admin service and its dependant
services are running properly after the restarts, check each service, the status
of below services should be showing started.
IIS Admin Service
World Wide Web Publishing Service
Simple Mail Transfer Protocol (SMTP)
FTP Publishing Service
No comments:
Post a Comment