PreConfigured IIS

Posted: 10-14-2003, 11:29 AM
HI Embedded Badies

I am Amit , working on one diffrent requirement for the prodcut ,
please help me to get me out of this problem..........the Problem
is...........

I have made a headless system with web advantage .I want the IIS to be
preconfigured.I have already made the snap in appear but this won't
solve my issue.Sometime I might have to preconfigure even the
Administrative configirations of the IIS and that you are working on
it ..


Any update on this will be highly appeciated

Thanks & Regards
AMIT
Reply With Quote

Responses to "PreConfigured IIS"

Andy Allred [MS]
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-15-2003, 05:21 AM
Wow, I don't know the answer to that one because some of the IIS settings
are located in the metabase.bin file. And I've had bad things happen when
trying to modify that file. <grin>

Maybe this can help you?
http://msdn.microsoft.com/library/de...hemetabase.asp

Good luck.
Andy

--

This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ========


"AMIT PURI" <amit_puri77@yahoo.com> wrote in message
news:53f59b57.0310140229.389ec63a@posting.google.c om...
> HI Embedded Badies
>
> I am Amit , working on one diffrent requirement for the prodcut ,
> please help me to get me out of this problem..........the Problem
> is...........
>
> I have made a headless system with web advantage .I want the IIS to be
> preconfigured.I have already made the snap in appear but this won't
> solve my issue.Sometime I might have to preconfigure even the
> Administrative configirations of the IIS and that you are working on
> it ..
>
>
> Any update on this will be highly appeciated
>
> Thanks & Regards
> AMIT

Reply With Quote
Kesavan
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-15-2003, 06:05 AM
amit,

had a hussle months bck, before i got it preconfigured.

All IIs administraive config lies in The metabase a structure for
storing Internet Information Server (IIS) configuration settings. It
performs some of the same functions as the Windows system registry but
is specific to Internet Information Server.The mmc does it else you
need to use the scripts.IIS 5.5 is good as well as 6.0.however 5.5
scripts have limited admin confi scrips to play with to get the
result.
Many of the metabase parameters can be configured from the Internet
servce Manager snap-in for the Microsoft Management Console (MMC). nd
metabase is stored in a special format file by default named
Metabase.bin in the Inetsrv folder in which IIS is normally installed.

btw,what type of admin config are you trying ?


HTH,
kesavan



amit_puri77@yahoo.com (AMIT PURI) wrote in message news:<53f59b57.0310140229.389ec63a@posting.google. com>...
> HI Embedded Badies
>
> I am Amit , working on one diffrent requirement for the prodcut ,
> please help me to get me out of this problem..........the Problem
> is...........
>
> I have made a headless system with web advantage .I want the IIS to be
> preconfigured.I have already made the snap in appear but this won't
> solve my issue.Sometime I might have to preconfigure even the
> Administrative configirations of the IIS and that you are working on
> it ..
>
>
> Any update on this will be highly appeciated
>
> Thanks & Regards
> AMIT
Reply With Quote
Nikolai Vorontsov
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-15-2003, 10:17 AM
Hi, AMIT PURI!
> I have made a headless system with web advantage .I want the IIS to be
> preconfigured.I have already made the snap in appear but this won't
> solve my issue.Sometime I might have to preconfigure even the
> Administrative configirations of the IIS and that you are working on
> it ..
>
You can use adsutil.vbs file from the XP prof installation and run at
the FBA stage something like this (be care - email client added some
CR/LFs, but you have to catch the idea):

@echo off
rem WebCCTV IIS setup file. Copyright (C) Quadrox NV, 2002-2003
rem This batch file is performing setup of virtual directories for the
WebCCTV device

rem Setup basic settings
cscript //Nologo adsutil.vbs SET W3SVC/LogFileDirectory "D:\Logs"

rem cscript //Nologo adsutil.vbs SET W3SVC/1/ServerAutoStart True
cscript //Nologo adsutil.vbs SET W3SVC/1/ServerComment "WebCCTV
control site"
cscript //Nologo adsutil.vbs SET W3SVC/1/ConnectionTimeout 300
cscript //Nologo adsutil.vbs SET W3SVC/1/DefaultDoc
"Default.htm,Default.asp"
cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptErrorSentToBrowser False
cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptTimeout 120
cscript //Nologo adsutil.vbs SET W3SVC/1/AspSessionTimeout 5
rem cscript //Nologo adsutil.vbs ENUM W3SVC/1

rem Delete unnessesary directories
cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/localstart.asp
cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/IISHelp
cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/iisadmin
rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Scripts
cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Printers
rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/tsweb
rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT

rem Create /Backup virtual directory
cscript //Nologo adsutil.vbs CREATE W3SVC/1/ROOT/Backup
"IIsWebVirtualDir"
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessRead
True
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessWrite
False
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessExecute
False
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessScript
False
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteRead
False
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteWrite
False
cscript //Nologo adsutil.vbs SET
W3SVC/1/ROOT/Backup/AccessNoRemoteExecute False
cscript //Nologo adsutil.vbs SET
W3SVC/1/ROOT/Backup/AccessNoRemoteScript False
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/Path
"D:\Backup"
cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/HttpExpires
"D, 0"
rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT/Backup

--
Nikolay Vorontsov
Quadrox NV

Reply With Quote
Kesavan
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-16-2003, 06:14 AM
Amit,

Nikolai is right with script. Getting on to just preconfigure the IIS
is not hard.Just follow the steps I mailed u.However if u r getting on
to administrative tasks then you need to script seperately but might
be you need to address it in the right place n the FBA.I shall mail
the details.

Nikolai,
I find it really curious to knw whether you used for IIS 6.0 or
5.5.I guess these should go with only 6.0.As .It was a script thru
modification to the metabase.bin in the FBA but the versions brought a
lot of limitations.

Regards
Kesavan


Nikolai Vorontsov <ur.liam@zivkcin> wrote in message news:<OWMXr0vkDHA.744@tk2msftngp13.phx.gbl>...
> Hi, AMIT PURI!
>
> > I have made a headless system with web advantage .I want the IIS to be
> > preconfigured.I have already made the snap in appear but this won't
> > solve my issue.Sometime I might have to preconfigure even the
> > Administrative configirations of the IIS and that you are working on
> > it ..
> >
> You can use adsutil.vbs file from the XP prof installation and run at
> the FBA stage something like this (be care - email client added some
> CR/LFs, but you have to catch the idea):
>
> @echo off
> rem WebCCTV IIS setup file. Copyright (C) Quadrox NV, 2002-2003
> rem This batch file is performing setup of virtual directories for the
> WebCCTV device
>
> rem Setup basic settings
> cscript //Nologo adsutil.vbs SET W3SVC/LogFileDirectory "D:\Logs"
>
> rem cscript //Nologo adsutil.vbs SET W3SVC/1/ServerAutoStart True
> cscript //Nologo adsutil.vbs SET W3SVC/1/ServerComment "WebCCTV
> control site"
> cscript //Nologo adsutil.vbs SET W3SVC/1/ConnectionTimeout 300
> cscript //Nologo adsutil.vbs SET W3SVC/1/DefaultDoc
> "Default.htm,Default.asp"
> cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptErrorSentToBrowser False
> cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptTimeout 120
> cscript //Nologo adsutil.vbs SET W3SVC/1/AspSessionTimeout 5
> rem cscript //Nologo adsutil.vbs ENUM W3SVC/1
>
> rem Delete unnessesary directories
> cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/localstart.asp
> cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/IISHelp
> cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/iisadmin
> rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Scripts
> cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Printers
> rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/tsweb
> rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT
>
> rem Create /Backup virtual directory
> cscript //Nologo adsutil.vbs CREATE W3SVC/1/ROOT/Backup
> "IIsWebVirtualDir"
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessRead
> True
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessWrite
> False
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessExecute
> False
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessScript
> False
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteRead
> False
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteWrite
> False
> cscript //Nologo adsutil.vbs SET
> W3SVC/1/ROOT/Backup/AccessNoRemoteExecute False
> cscript //Nologo adsutil.vbs SET
> W3SVC/1/ROOT/Backup/AccessNoRemoteScript False
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/Path
> "D:\Backup"
> cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/HttpExpires
> "D, 0"
> rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT/Backup
Reply With Quote
Nikolai Vorontsov
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-16-2003, 09:52 AM
Hi, Kesavan!
> Nikolai,
> I find it really curious to knw whether you used for IIS 6.0 or
> 5.5.I guess these should go with only 6.0.As .It was a script thru
> modification to the metabase.bin in the FBA but the versions brought a
> lot of limitations.
>
Well, actually, I did this for XPe only, but I think that should work
for W2K. I just tested - OK, at least ENUM is working on my w2k workstation.

--
Nikolai Vorontsov
Quadrox NV

Reply With Quote
AMIT PURI
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-16-2003, 12:52 PM
Wel Thanks a lot guys


your information is really very useful ,with the
information you provided , i am able to solve one of my problem
,(preconfiguring)

Now the second problem on which i am working is can we controll PWS in
the similar manner?

Thanks
AMIT



esavansajeev@hotmail.com (Kesavan) wrote in message news:<340a938c.0310152114.55385045@posting.google. com>...
> Amit,
>
> Nikolai is right with script. Getting on to just preconfigure the IIS
> is not hard.Just follow the steps I mailed u.However if u r getting on
> to administrative tasks then you need to script seperately but might
> be you need to address it in the right place n the FBA.I shall mail
> the details.
>
> Nikolai,
> I find it really curious to knw whether you used for IIS 6.0 or
> 5.5.I guess these should go with only 6.0.As .It was a script thru
> modification to the metabase.bin in the FBA but the versions brought a
> lot of limitations.
>
> Regards
> Kesavan
>
>
> Nikolai Vorontsov <ur.liam@zivkcin> wrote in message news:<OWMXr0vkDHA.744@tk2msftngp13.phx.gbl>...
> > Hi, AMIT PURI!
> >
> > > I have made a headless system with web advantage .I want the IIS to be
> > > preconfigured.I have already made the snap in appear but this won't
> > > solve my issue.Sometime I might have to preconfigure even the
> > > Administrative configirations of the IIS and that you are working on
> > > it ..
> > >
> > You can use adsutil.vbs file from the XP prof installation and run at
> > the FBA stage something like this (be care - email client added some
> > CR/LFs, but you have to catch the idea):
> >
> > @echo off
> > rem WebCCTV IIS setup file. Copyright (C) Quadrox NV, 2002-2003
> > rem This batch file is performing setup of virtual directories for the
> > WebCCTV device
> >
> > rem Setup basic settings
> > cscript //Nologo adsutil.vbs SET W3SVC/LogFileDirectory "D:\Logs"
> >
> > rem cscript //Nologo adsutil.vbs SET W3SVC/1/ServerAutoStart True
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ServerComment "WebCCTV
> > control site"
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ConnectionTimeout 300
> > cscript //Nologo adsutil.vbs SET W3SVC/1/DefaultDoc
> > "Default.htm,Default.asp"
> > cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptErrorSentToBrowser False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/AspScriptTimeout 120
> > cscript //Nologo adsutil.vbs SET W3SVC/1/AspSessionTimeout 5
> > rem cscript //Nologo adsutil.vbs ENUM W3SVC/1
> >
> > rem Delete unnessesary directories
> > cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/localstart.asp
> > cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/IISHelp
> > cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/iisadmin
> > rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Scripts
> > cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/Printers
> > rem cscript //Nologo adsutil.vbs DELETE W3SVC/1/ROOT/tsweb
> > rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT
> >
> > rem Create /Backup virtual directory
> > cscript //Nologo adsutil.vbs CREATE W3SVC/1/ROOT/Backup
> > "IIsWebVirtualDir"
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessRead
> > True
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessWrite
> > False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessExecute
> > False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessScript
> > False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteRead
> > False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/AccessNoRemoteWrite
> > False
> > cscript //Nologo adsutil.vbs SET
> > W3SVC/1/ROOT/Backup/AccessNoRemoteExecute False
> > cscript //Nologo adsutil.vbs SET
> > W3SVC/1/ROOT/Backup/AccessNoRemoteScript False
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/Path
> > "D:\Backup"
> > cscript //Nologo adsutil.vbs SET W3SVC/1/ROOT/Backup/HttpExpires
> > "D, 0"
> > rem cscript //Nologo adsutil.vbs ENUM W3SVC/1/ROOT/Backup
Reply With Quote
Nikolai Vorontsov
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-16-2003, 02:55 PM
Hi, AMIT PURI!
> Now the second problem on which i am working is can we controll PWS in
> the similar manner?
Well, I suppose we can use the same technic for all IIS/PWS since IIS4.0
i.e. WinNT4.0. BTW, What do you mean by control? setup? The script AFAIK
should work with PWS too.

--
Nikolai Vorontsov
Quadrox NV

Reply With Quote
Kesavan
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-17-2003, 05:37 AM
Amit Puri,


PWS on NTWk doesn't install the management console by default. To do
so run the Web server set up and select Microsoft Management Console
from the setup options, or install the FTP service which also requires
the MMC. Without the MMC you can set up virtuals, but you cannot set
up script maps.

However Amit, Web Connection ships with a class library called
WebServer.vcx which lets you programmatically configure the Web
server. welll fr tht like the following from the VFP Command Window
shld hlp :

DO CONSOLE WITH "SPLASH"
o=CREATE("wwWebServer","IIS4")
o.CreateVirtual("wconnect","c:\inetput\wwwroot\wco nnect\")
o.CreateScriptMap(".wc","c:\inetput\wwwroot\wconne ct\wc.dll")

The following server types are supported:

IIS6 - IIS6 is used under Windows Server and sets up a Web Connection
Application Pool
IIS4 - IIS4 and IIS5 and PWS 4 and 5 under Windows NT
IIS3 - IIS 3 and PWS 3 under Windows NT
PWS4 - Personal Web Server 4.0 Windows 98
PWS3 - Personal Web Server 1.0 and 3.0 Windows 95

You should be able to.Just go ahead with the same way and do let us
know about it.

Good Luck
Sajeev Kesavan


Nikolai Vorontsov <ur.liam@zivkcin> wrote in message news:<#o5Vz0#kDHA.744@tk2msftngp13.phx.gbl>...
> Hi, AMIT PURI!
>
> > Now the second problem on which i am working is can we controll PWS in
> > the similar manner?
> Well, I suppose we can use the same technic for all IIS/PWS since IIS4.0
> i.e. WinNT4.0. BTW, What do you mean by control? setup? The script AFAIK
> should work with PWS too.
Reply With Quote
AMIT PURI
Guest
Posts: n/a
 
Re: PreConfigured IIS
Posted: 10-20-2003, 08:24 AM
Thanks KESVAN


It really solved my problem, Thanks a lot
THanks
AMIT
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90