View Full Version : disable IIS and related service upon startup
AAOROE
05-08-2009, 02:24 PM
I have several computers that run IIS. What I want to do is be able to run a .bat file and disable everything that is running through IIS (apache, etc). The reason behind this is I have a portable development server I use on my external hard drive that I want to use.
Can this be done?
Has it been done?
Does anyone have a script to do something like this?
M. Brown
freedom_razor
05-12-2009, 06:21 PM
I'm not sure what you mean? IIS is a server software, Apache is also a server software. One works without the other.
But anyway, here's the article (http://www.tech-recipes.com/rx/235/create-batch-file-to-start-or-end-window-services/) describing how to disable/enable windows services with batch file.
oracleguy
05-13-2009, 05:23 AM
IIS and Apache are completely seperate applications made by different companies.
If you want to stop the IIS services via the command line you can using the net stop command and the service name. Like the web server portion of IIS would be stopped by doing: net stop w3svc.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.