Friday 16 September 2011

SBS 2008: Configure SBS Connect Wizard for Windows 8

We stood up a desktop OS version of the Windows Developer Review (Win8) yesterday. When we went to run the SBS 2008 Connect Wizard where the VM was located we ran into the following error:

image

It’s asking for .NET 2 or later yet .NET 4 is installed in the Windows 8 desktop OS by default.

So, we went into the Turn Windows Features On or Off and enabled .NET 3.5.1:

image

The install process jumped onto the Internet and pulled down whatever it needed so there was a good 5 to 10 minute delay while that process went on.

Once the .NET install routine was finished we cleared out the IE cache and started again:

image

We now had our Connect Wizard start screen. So, we started the wizard and got hit with:

image

Connect Computer: Verifying computer requirements – Unsuccessful

This computer does not meet the requirements necessary to connect to the network.

Since we were messing around with the beta of Windows 7 back when it was not too hard to figure out that we needed to tweak things on SBS 2008 for Windows 8 to be recognized.

The paths needed:

  • \Windows\sysvol\domain\Policies\{YOUR-GUID-HERE}\machine\SBS
  • %programfiles%\Windows Small Business Server\Bin\webapp\ClientDeployment\packageFiles\

Copy and paste the above paths into NotePad on the SBS server.

The supportedOS.xml code is:

<SupportedConfigurations>
  <SupportedOS>
    <!-- Name is not used by the code but might be helpful in identifying the OS that is described by these parameters -->
    <!-- ExcludedSuite, RequiredSuite, and RequiredProductType are the numbers as specified in the OSVERSIONINFOEX structure -->
    <!-- Architecture is the number as specified in the SYSTEM_INFO structure -->

    <OS id="1" Name="Windows XP SP2, x86" Major="5" Minor="1" Build="2600" SPMajor="2" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="0"/>
    <OS id="2" Name="Windows XP SP2, AMD64" Major="5" Minor="2" Build="3790" SPMajor="2" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="9"/>
    <OS id="3" Name="Windows Vista, x86" Major="6" Minor="0" Build="6000" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="0"/>
    <OS id="4" Name="Windows Vista, AMD64" Major="6" Minor="0" Build="6000" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="9"/>
    <OS id="5" Name="Windows 7, AMD64" Major="6" Minor="1" Build="7000" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="9"/>
    <OS id="6" Name="Windows 7, x86" Major="6" Minor="1" Build="7000" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="0"/>
    <OS id="7" Name="Windows 8, AMD64" Major="6" Minor="2" Build="8102" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="9"/>
    <OS id="8" Name="Windows 8, x86" Major="6" Minor="2" Build="8102" SPMajor="" SPMinor="" ExcludedSuite="512" RequiredSuite="" RequiredProductType="1" Architecture="0"/>
  </SupportedOS>
</SupportedConfigurations>

Please note that the above code contains both 32bit and 64bit entries for Windows 8.

The code looks like this in the file:

image

The code for the GP.XML file is:

<?xml version="1.0" encoding="utf-8"?>
<GPSetting>
  <MSI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="WMIProvider" Location="\\DOMAIN.LOCAL\SysVol\DOMAIN.LOCAL\ClientAgent\machine\WMIProvider.msi" PlatForm="0" WMIFilter="select * from Win32_OperatingSystem Where (Version&gt;='5.1.2600' and '6.0.6000'&gt;Version and ServicePackMajorVersion&gt;=2 and ProductType=1) or (Version&gt;='6.0.6000' and '6.2.0000'&gt;Version and ProductType=1)" />
  <MSI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="IWorkerGadget32" Location="\\DOMAIN.LOCAL\SysVol\DOMAIN.LOCAL\ClientAgent\machine\IWorkerGadget.msi" PlatForm="1" WMIFilter="select * from Win32_OperatingSystem Where Version&gt;='6.0.6000' and '6.2.0000' and '6.2.8102'&gt;Version and ProductType=1" />
  <MSI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="IWorkerGadget64" Location="\\DOMAIN.LOCAL\SysVol\DOMAIN.LOCAL\ClientAgent\machine\IWorkerGadget64.msi" PlatForm="2" WMIFilter="select * from Win32_OperatingSystem Where Version&gt;='6.0.6000' and '6.2.0000' and '6.2.8102'&gt;Version and ProductType=1" />
</GPSetting>

Instead of making the changes indicated in the SBS Blog we appended the Windows 8 version in the second two entries: and ‘6.2.8102’

Change DOMAIN.LOCAL (bold emphasis ours) to your own SBS domain in each of the entries as indicated above.

They look like this:

image

How To

  1. Install the Windows 8 OS.
  2. Update Integration Services
  3. Install .NET 3.5.1 into the Windows 8 OS by adding the feature.
  4. At the command prompt in Windows 8: ver [Enter]
    1. Note the version number.
  5. Copy and Paste the paths into NotePad (paths are in a TXT file at the end of this post)
  6. Find the required GUID in GPMC on SBS.
  7. Copy and Paste the GUID (the GUID can be highlighted copied from GPMC) into the path above.
  8. Open the GUID path and copy the GP.XML file out into a safe place.
  9. Open an elevated NotePad session: Start –> NotePad –> Right Click search result and Run As Admin.
  10. File –> Open –> navigate to GP.XML and open (copy and paste the path from NotePad).
  11. Make the necessary edits.
  12. Save.
  13. Open the supportedOS.XML path and copy the supportedOS.XML file out into a safe place.
  14. File –> Open –> navigate to the supportedOS.XML file (copy and paste the path from NotePad)
  15. Make the necessary edits.
  16. Save.
  17. Re-run the Connect Wizard on the Windows 8 VM/machine.

The Windows 8 VM/Machine will now meet the requirements:

image

supportedOS.XML Edit

We found the Windows 8 version by running the following command at the command prompt:

image

  • ver [Enter]

We then made sure that our copy and paste of the Windows 7 OS id settings were updated appropriately.

  • The OS id always increments by 1
  • AMD64 is 64bit
  • x86 is 32bit
  • Architecture=”9” is 64bit
  • Architecture=”0” is 32bit

Full Screen Mode

If installing the Windows 8 OS into a VM it is a must to have the console session in Full Screen mode as the Windows key is needed to switch between Metro and the Desktop.

Windows 8 Search

Okay, so where did the Search field go?!?

It turns out that after clicking on the Start button and having the Metro GUI kick in we need only start typing for it to come up with some results:

image

Not having the VM in Full Screen mode means a lot of CTRL+ALT+Delete to get to the Task Manager. :(

There may be a better way, but things are just a tad new for all of us outside of Microsoft.

A copy of the edited GP.XML, supportedOS.XML, and a TXT file with the paths can be found here:

The XML files in IE

GP.XML:

image

supportedOS.XML:

image

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book

*Our original iMac was stolen (previous blog post). We now have a new MacBook Pro courtesy of Vlad Mazek, owner of OWN.

Windows Live Writer

5 comments:

James Feldman said...

Are there any changes to this for the Community Preview? ie version numbers?

Thanks for a great guide :)

Philip Elder Cluster MVP said...

Yes, make sure to verify the version number (8250 I think) and use those for this setup.

Thanks,

Philip

Cris said...

I assume this will work for SBS 2008 as well?

oR said...

It doesn't work for Windows 8.1, i followed all the instructions, but it fails. Any idea?

Anonymous said...

Let's try this: in the GP.xml write behind '6.2.8102' the next:" and '6.3.0000'". this is win 8.1 version number.
I think this will fix it.