Installer les composants IIS 7 pour Configuration Manager 2007 sous Windows Server 2008
Salut,
Installer les composants IIS 7 pour Configuration Manager 2007 sous Windows Server 2008
Bien que System Center Configuration Manager 2007 (ConfigMgr) ne soit pas supporté sur une installation core de Windows Server 2008 (W2K8), il peut être
intéressant d’automatiser son installation pour fiabiliser l’opération en la rendant reproductible.
L’installation de composants sous W2K8 peut passer par un simple fichier XML pour rajouter des rôles ou composants via une commande ServerManagerCmd.
Le fichier answer.xml contenant les paramètres suivants permet d’installer les rôles liés à Internet Information Server (IIS) nécessaires à Configuration Manager 2007 (ConfigMgr) :
<ServerManagerConfiguration
Action= »Install »
xmlns= »http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1″>
<Role Id= »Web-Server »/>
<RoleService Id= »Web-Asp-Net »/>
<RoleService Id= »Web-ASP »/>
<RoleService Id= »Web-Windows-Auth »/>
<RoleService Id= »Web-Metabase »/>
<RoleService Id= »Web-WMI »/>
<Feature Id= »BITS »/>
<Feature Id= »RDC »/>
</ServerManagerConfiguration>
Pour prendre en compte ce fichier, il ne reste qu’à lancer la commande :
ServerManagerCmd.exe -inputPath answer.xml
Vous pouvez enregistrer un journal via :
ServerManagerCmd.exe -inputPath answer.xml -logPath %WINDIR%templog.txt
Comme l’indique la documentation du WAIK, les réglages des composants installés ne sont pas pris en charge par la commande
ServerManagerCmd. Dans le cas d’IIS, la commande AppCmd vient en aide. Sa documentation est sur :
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/
Il faut, en plus, rajouter le composant WebDAV (x86 ou x64) qui n’est pas livré nativement par Windows Server 2008.
msiexec /i webdav_x86_rtw.msi /qn
Le réglage de WebDAV est documenté sur :
http://learn.iis.net/page.aspx/351/how-to-use-custom-properties-with-webdav/
Pour l’activation de WebDAV via AppCmd :
%windir%system32inetsrvAppCmd.exe set config « Default Web Site/ » /section:system.webServer/
webdav/authoring /enabled:true /commit:apphost
Pour autoriser l’accès aux fichiers cachés :
%windir%system32inetsrvAppCmd set config « Default Web Site/ » /section:system.webServer/
webdav/authoring /fileSystem.allowHiddenFiles:true /commit:apphost
Pour autoriser les accès anonymes :
%windir%system32inetsrvAppCmd set config « Default Web Site/ » /section:system.webServer/webdav/
authoring /properties.allowAnonymousPropfind:true /commit:apphost
Pour désactiver les propriétés personnalisées :
%windir%system32inetsrvAppCmd set config « Default Web Site/ » /section:system.webServer/
webdav/authoring /properties.allowCustomProperties:false /commit:apphost
Pour autoriser des recherche récurrentes :
%windir%system32inetsrvAppCmd set config « Default Web Site/ » /section:system.webServer/webdav/authoring /properties.allowInfinitePropfindDepth
related post
- WSUS 3.0 SP2 Beta Program now available on Microsoft Connect!
- Microsoft Exchange Server 2010 Beta 14.00.0482.020
- Windows 7 RC is Avalaible NOW on...
- Microsoft Deployment Toolkit 2010 Beta 1: Comment préparer et déployer Windows 7
- MDT 2010 / User Driven Installation | UDI System center configuration Manager and MDT Update 1 in video! see absolutely !