Change the Identifier for IIS Websites
First, to find the identifier of a IIS website, you simply need to click the “Websites” folder in the left side of the IIS Manager windows. The right pane will list the websites on the server and their respective identifiers. If you need to change one, use the following three commands (assuming the current id is 1 and you want to change it to 2):
CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs STOP_SERVER W3SVC/1
CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs MOVE W3SVC/1 W3SVC/2
CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs START_SERVER W3SVC/2
September 4th, 2008 at 7:36 am
[…] I got to clicking and stumbled accross a helpful post @ kazmarek summarised […]
January 16th, 2009 at 8:49 am
The default web site is not stopping from the above command. It show the error as
“object doesnot support this property or method”
Error Number:- 438
Error trying to stop the server: w3svc/1/ROOT
Can you suggest me
December 3rd, 2009 at 2:13 pm
Hi, just thought you’d be interested to know that I have added you to my bookmarks because of your beautiful blog layout (LOL). But seriously, I think your site has one of the cleanest theme I’ve seen yet. It honestly makes your blog post easier to read.