Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windows 2008 Unattend

Featured Replies

has any one here worked out how to do an unattend instlation for windows 2008 so it installes additional roles and features e.g IIS and dns.

i have managed to master the unattend install so it does display password etc just not the features.


I will be working on this tonight when I get home. I have the RTM bits but want to build an unattended bootable DVD.

I'll doc it and share what I find. :)

~T

  • Author
I will be working on this tonight when I get home. I have the RTM bits but want to build an unattended bootable DVD.

I'll doc it and share what I find. :)

~T

Good luck. as i have spent weeks trying to get roles and features to install via an unattend XML and not yet sucedded.

has any one here worked out how to do an unattend instlation for windows 2008 so it installes additional roles and features e.g IIS and dns.

i have managed to master the unattend install so it does display password etc just not the features.

You can use Servermanagercmd

Server Manager command line syntax and parameters

The following sections show the syntax and command-line parameters and options for ServerManagerCmd.exe.

Syntax

ServerManagerCmd.exe -query [<query.xml>] [-logPath <log.txt>]

ServerManagerCmd.exe -inputPath <answer.xml> [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]

ServerManagerCmd.exe -install <command-Id> [-allSubFeatures] [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]

ServerManagerCmd.exe -remove <command-Id> [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]

ServerManagerCmd.exe [-help | -?]

ServerManagerCmd.exe -version

Server Manager Technical Overview

you can install by doing something like this -

ServerManagercmd -install Web-Server

or you can install from a XML file using the -inputpath switch

<?xml version="1.0" encoding="utf-8" ?>
<ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<RoleService Id="FS-DFS-Namespace" />
<Feature Id="Backup" />

I will be working on this tonight when I get home. I have the RTM bits but want to build an unattended bootable DVD.

I'll doc it and share what I find. :)

~T

Good luck. as i have spent weeks trying to get roles and features to install via an unattend XML and not yet sucedded.

Luckily, I have access to the products team and will be working with them :D

  • 11 months later...
or you can install from a XML file using the -inputpath switch

<?xml version="1.0" encoding="utf-8" ?>
<ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<RoleService Id="FS-DFS-Namespace" />
<Feature Id="Backup" />

Can you please expain, what you meant by inputpath. Am trying to install server roles/features using xml unattendedly, but dont know how to install servermanager features using xml. I did copy and pasted the above scripts to my Autounattend.xml, but installation fails.

Please help/advice

Thank you

Moving to Vista unattend, as this is a more appropriate location for this question.

Thank you for Moving to appropriate section. Hopefully someone will be able to answer my above question now.

or you can install from a XML file using the -inputpath switch

<?xml version="1.0" encoding="utf-8" ?>
<ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<RoleService Id="FS-DFS-Namespace" />
<Feature Id="Backup" />

Can you please expain, what you meant by inputpath. Am trying to install server roles/features using xml unattendedly, but dont know how to install servermanager features using xml. I did copy and pasted the above scripts to my Autounattend.xml, but installation fails.

Please help/advice

Thank you

a sample XML would be something like this

<?xml version="1.0" encoding="utf-8" ?>
<ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<RoleService Id="FS-DFS-Namespace" />
<Feature Id="Backup" />
</ServerManagerConfiguration>

looking at your code you don't have the ending </servermanagerConfiguration> tag. like most XML, you need to keep it properly represented with an ending tag for a matching start tag

Another option is to use the MDT toolkit, they have an entire GUI interface to choose roles/feature that are available in 2008.

Thanks for your reply, this was really helpfull, and now hopefully i should be able to get the server roles installed unattendenly via xml.

I am not sure what the issue is.

This should be pretty straightforward.

Are you using Windows System image manager?

Add the Foundation Pack to your XML file and chose your roles and options

This is my xml file (saved as unatted.xml, and is saved in dvd root/sources folder)

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="install">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="BitLocker" state="true" />
<selection name="DesktopExperience" state="true" />
<selection name="MicrosoftWindowsPowerShell" state="true" />
<selection name="NetFx3" state="true" />
<selection name="XPS-Viewer" state="true" />
<selection name="Printing-Server-Role" state="true" />
<selection name="Printing-InternetPrinting-Server" state="true" />
<selection name="WirelessNetworking" state="true" />
</package>
</servicing>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<Themes>
<CustomDefaultThemeFile>c:\windows\resources\themes\windows 7.theme</CustomDefaultThemeFile>
<DefaultThemesOff>false</DefaultThemesOff>
</Themes>
</component>
</settings>
<settings pass="specialize">
<component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Security-Malware-Windows-Defender" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-IE-ESC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IEHardenAdmin>false</IEHardenAdmin>
<IEHardenUser>false</IEHardenUser>
</component>
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
</component>
</settings>
</unattend>

Created on a new server source using Windows System image manager. But still does not install roles/features. Can somebody please point out what or were am going wrong?

EDIT:

Or maybe can sombody please show me a working xml (obviously without personal info's..eg key..lol)

EDIT:

After validating my xml, i get this error.

14kxpcp.jpg

Thank you

Edited by shahed26

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.