Solved

HOW TO RESTART  " IIS" FROM A REMOTE CLIENT MACHINE

Posted on 2008-11-01
3
1,467 Views
Last Modified: 2012-05-05
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
Comment
Question by:OCUBE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 300 total points
ID: 22857798
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
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 300 total points
ID: 22857801
(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
 
LVL 10

Accepted Solution

by:
harperse earned 200 total points
ID: 22867207
The IISRESET tool can do this natively.

IISRESET \\<computername>> /restart

Best of luck,
harperse
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question