ADSUTIL.vbs – Copying a website

Copying a website (to another exact copy) Here is the command to copy a website(run from a cmd prompt – c:\inetpub\adminscripts): > cscript.exe adsutil.vbs copy <source> <destination> > cscript.exe adsutil.vbs copy w3svc/1 w3svc/556 The numbers mentioned there are nothing but the website identifiers. After copying, you might see the other (new) website stopped – just…

0

ASP.NET_2.0.50727.210 shown as unknown in IIS Manager even after the filter gets loaded in the w3wp.exe process

PROBLEM ASP.NET_2.0.50727.210 shown as unknown in IIS Manager even after the filter gets loaded in the w3wp.exe process. CAUSE Certain Metabase ACLs were missing for the user under which the AppPool runs. Typically, after loading the filter, the Metabase is modified; some new properties like FilterState, NotifyOrderLow, etc will be added. FilterState tells whether the…

0

GetObject Failed while trying to ENUM / using ADSUTIL

Today when I was playing around with my IIS 6.0, got the following error when tried to do an ENUM of / using ADSUTIL.VBS script. C:\Inetpub\AdminScripts>adsutil enum /Microsoft (R) Windows Script Host Version 5.6Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. ErrNumber: -2147221020 (0x800401E4)Error Trying To ENUM the Object (GetObject Failed):  Tried to know the meaning…

0