• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1473
  • Last Modified:

HOW TO RESTART " IIS" FROM A REMOTE CLIENT MACHINE

We have a server running IIS and we wanted to see as how to restart the IIS on the remote server
from a local client machine.


Any batch file or command to run it remotely ?
0
OCUBE
Asked:
OCUBE
  • 2
3 Solutions
 
sk_raja_rajaCommented:
You can use this example to stop a website:
iisweb /stop [websitename] /s [servername] /u [username] /p [password]

You can use the same command line but replace the "stop" with "start
0
 
sk_raja_rajaCommented:
(i) use one the below methods:
http://support.microsoft.com/kb/288129 
after that you don't need to create batch file but just manage services remotely

Right click "my computer" > manage > "connect to remote computer"

(ii)http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_23683600.html
0
 
harperseCommented:
The IISRESET tool can do this natively.

IISRESET \\<computername>> /restart

Best of luck,
harperse
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now