Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
618 B

/////////////////////////////////////////////////////////////
// Update the default site for use on the Internet UDDI site
//
var shell = new ActiveXObject( "WScript.Shell" );
//
// Get the Root of the default site
//
var site = GetObject( "IIS://"+shell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )+"/W3SVC/1/Root" );
//
// turn off ntlm
//
site.Put( "AuthNTLM", "0" );
//
// Set the path of the default site to the uddi install.
//
site.Put( "Path", shell.ExpandEnvironmentStrings( "%SYSTEMDRIVE%" ) + "\\inetpub\\uddi\\webroot" );
//
// Commit the changes.
//
site.SetInfo();