eger Posted May 12, 2005 Posted May 12, 2005 Wondering if anyone knows if it is possible to change IIS settings on a WIN2K3 Unattended install. The ref.chm doesn't have any winnt.sif options for specific IIS settings.What im looking to do is change the default FTP settings to turn anonymous access off and give write permissions to the administrator on the default FTP server.I'm trying to find the best way to do this.My next step is comparing the regisrty before and after the change and the metadata before and after the change to see if i can 'merge' registry or metadata settings during an install with RunOnce or the commands file.Anyone else have any ideas?Thanks!
cancerface Posted April 14, 2006 Posted April 14, 2006 (edited) I am trying to do the same...A good start might be the adsutil.vbs script inside the AdminScript folder of IIS ...CF[Edit]It works ...On a working machine I configured IIS, created a virtual folder (uploads) and gave some permissions. Then from a cmd prompt I got the properies of that path:cscript.exe adsutil.vbs Enum W3SVC/1/ROOT/uploadsand this list all the available parameters for this path:KeyType : (STRING) "IIsWebVirtualDir"AppRoot : (STRING) "/LM/W3SVC/1/Root/uploads"AppFriendlyName : (STRING) "uploads"AppIsolated : (INTEGER) 2EnableDefaultDoc : (BOOLEAN) TrueDirBrowseShowDate : (BOOLEAN) TrueDirBrowseShowTime : (BOOLEAN) TrueDirBrowseShowSize : (BOOLEAN) TrueDirBrowseShowExtension : (BOOLEAN) TrueDirBrowseShowLongDate : (BOOLEAN) TrueAccessRead : (BOOLEAN) TrueAccessWrite : (BOOLEAN) TrueAccessExecute : (BOOLEAN) FalseAccessScript : (BOOLEAN) TrueAccessSource : (BOOLEAN) FalseAccessNoRemoteRead : (BOOLEAN) FalseAccessNoRemoteWrite : (BOOLEAN) FalseAccessNoRemoteExecute : (BOOLEAN) FalseAccessNoRemoteScript : (BOOLEAN) FalseEnableDirBrowsing : (BOOLEAN) TruePath : (STRING) "F:\My Documents\Web Uploads"AccessFlags : (INTEGER) 515DirBrowseFlags : (INTEGER) 3221225534On a virtual machine that has IIS installed but not configured I was able to recreate the above parameters by using:cscript.exe adsutil.vbs SET W3SVC/1/ROOT/uploads/<ParameterName> "<ParameterValue>"It is a long list but it works ...I would love to see a better/faster way to do that though (Another way would be to use metaedit.exe although I am not sure if it supports cmdline options)CF Edited April 14, 2006 by cancerface
belivakov Posted August 14, 2008 Posted August 14, 2008 (edited) Sorry! I made mistake. I'm in wrong theme. Edited August 14, 2008 by belivakov
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now