About
You arrived at the weblog of Geert Baeke. I am the technology manager for a company called Xylos (Belgium). I mostly work with Microsoft technologies such as Windows, Active Directory, Exchange, Sharepoint, MSCS, and more. I am also actively busy with VMware's products, focussing on VMware ESX.

Sections
Search






XBOX 360

RSS Newsfeeds
baeke.info Main RSS Feed Main Page RSS
Windows RSS Feed Windows RSS
View Article  Windows Server 2008: Sample sysprep unattend file

If you are testing Windows Server 2008 in a virtual environment you probably get tired of answering setup prompts after each new template gets deployed. Although you can use sysprep as with Windows Server 2003, the answer file for sysprep has changed quite a bit.

The answer file is now an XML file instead of an INF file. In the past, you could generate the answer file with setupmgr.exe but that cannot be done with Windows Server 2008. Instead, you will need to use Windows System Image Manager to create the XML file. Windows System Image Manager is part of WAIK and can be downloaded here. Although much more powerful, Windows System Image Manager is not as easy to use as setupmgr.exe.

The XML file I generated with Windows System Image Manager is very basic but enough to do the job of automating sysprep. Here it is for x86 and nl-be regional settings:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" 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">
            <ComputerName>*</ComputerName>
            <ProductKey>AAAAA-BBBBB-CCCCC-DDDDD-EEEEE</ProductKey>
            <RegisteredOrganization>Org</RegisteredOrganization>
            <RegisteredOwner>Org</RegisteredOwner>
            <ShowWindowsLive>false</ShowWindowsLive>
        </component>
        <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" 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">
            <InputLocale>nl-be</InputLocale>
            <SystemLocale>nl-be</SystemLocale>
            <UILanguage>en-us</UILanguage>
            <UserLocale>nl-be</UserLocale>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" 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">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <RegisteredOrganization>Org</RegisteredOrganization>
            <RegisteredOwner>Org</RegisteredOwner>
        </component>
    </settings>
</unattend>

To actually use this XML file, you copy it to your template. I copied mine as sysprep.xml to c:\windows\system32\sysprep. That is the folder on a Windows Server 2008 system where sysprep.exe is located by default. From that location, you execute the following command:

sysprep /generalize /oobe /shutdown /unattend:sysprep.xml

The system will shut down. The next time you start this system (or better a copy of it), it will ask you nothing and install with the settings in the XML file. The computername will be automatically generated.

Update: if you want to use this unattend file on an x64 system, replace x86 with amd64.

View Article  Windows Integrity Levels

Windows Integrity Levels (or WIC) is a system that can label an object with an integrity level. There are six such levels:

  1. Trusted Installer
  2. System
  3. High
  4. Medium
  5. Low
  6. Untrusted

WIC is available on Vista and Windows Server 2008.

Mark Minasi has an interesting article about it and a tool that allows you to work with these levels. The tool, chml, has more options than the built-in icacls.exe command. Check out the article here.

View Article  Microsoft: XP SP3 RC and Windows Server 2008 RC1

Microsoft have released XP SP3 Release Candidate (RC) and Windows Server 2008 RC1. You can download both from MSDN and Technet.

Windows XP SP3 contains mainly bugfixes and a lot of previously released enhancements for XP like MMC 3.0, MSXML 6, BITS 2.5 and WPA2. There are some new features as well:

  • Network Access Protection (NAP): also available in Vista and enforced using Windows Server 2008 infrastructure such as DHCP and NAP.
  • Windows Product Activation: it is not necessary to provide a product key during installation of a full, integrated installation of Windows XP SP3.

More information can be found here.

A feature that is not available is SSTP or Secure Socket Tunneling Protocol. Next to PPTP and LT2P/IPSec it is a VPN protocol but all traffic is tunneled through an SSL connection over port 443. Windows Server 2008 RRAS provides the server-side of SSTP tunneling and Vista SP1 contains the SSTP client portion. But XP SP3 does not seem to contain this feature yet.

Windows Server 2008 RC1 has one big new feature called Group Policy Preferences. Kurt Roggen has already blogged about it here and his blogpost clearly shows what the feature can do. Other info can be found on the Windows Server Division Weblog.

 

Login
User name:
Password:
Remember me 
This Month
December 2007
Sun Mon Tue Wed Thu Fri Sat
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
Networking
View Geert Baeke's profile on LinkedIn

Services

Powered by BlogHarbor
Powered by BlogHarbor
StatCounter