Solved

HOW TO RESTART  " IIS" FROM A REMOTE CLIENT MACHINE

Posted on 2008-11-01
3
1,466 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
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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