Deploy Pre-Configured Windows Server 8 Hyper-V VMs From A Template VHD

Windows Server 8 Hyper-V is giving me so many more cool options.  I wanted to deploy a new VM that would be a DC, DNS, and DHCP server.  I copied my template VHD, and created a VM.  Before powering up, I fired up Server Manager in Windows Server 8 and decided to add roles/features.  I added the DC, DNS, and DHCP roles to the VHD.  Then I powered up the VM.  The roles were pre-installed, and all I had to do was DCPROMO (now done in Server Manager) and configure the DHCP service.  Nice!

I haven’t checked but I guess I can automate this using Server Manager PowerShell cmdlets.  Yet more options!  Loving it!

Application Catalog Is The Killer Feature In System Center 2012 Configuration Manager

I deliberately picked the Application Catalog as the focal point of my demo/presentation at the System Center 2012 launch events in Dublin and Belfast because it shows how System Center 2012 recognises that IT services must change to empower the user and embrace IT controlled/secured/audited automation.

The Past

SMS 2003 was the first “System Center” product that I worked with.  We wanted something that was more powerful than Group Policy for software deployment.  The company I was working for also just signed a Microsoft enterprise agreement and we needed a software auditing solution to live up to our requirements.  So I asked one of my team, who previously did consulting on SMS 2.0, to deploy it, and I learned the product from him.

The software deployment feature was powerful.  We’d import or create a package containing the files.  Maybe we’d have to teak or create a program to install/uninstall the package.  We’d distribute the files to distribution points/secondary sites.  And then we’d advertise the required program to a collection of machines.  We never targeted users because they could roam and needlessly drag expensive software, such as Visio or Project, around with them, driving up our licensing costs.

It was easy to push out standard software like Adobe Reader.  It would go out to all Windows XP (as it was at the time) machines.  But Visio or Project?  We basically had to wait on a request.  A user would call the helpdesk asking for Visio and then a low priority ticket was created.  That ticket could wait until the higher priority tickets were dealt with.  Our Helpdesk had a 4 hour SLA so maybe 4 hours later (usually much less) they’d drop the user’s computer account into a security group for machines that should get Visio. 

And here’s why I told people that you need patience with Configuration Manager.  The process has gone unchanged … it’s just now we have a different way to tackle it.  In the past we had to push that software.  ConfigMgr/SMS would update collection memberships on a schedule, every 24 hours by default.  We had a “small” network (by Microsoft or ConfigMgr standards) so we scheduled the collection to update every hour.  Then it would query the new group membership and update its own membership. 

On the client machine, the ConfigMgr/SMS client would automatically connect to the Management Point every hour to get new policy.  At that point it would, thanks to the new Visio collection membership, realise it should install Visio.  It would then download the files and install.

Think about how long this took:

  • Helpdesk to respond – up to 4 hours (let’s go worst case scenario) – 4 hours
  • The collection to update – we’ll say 1 hour but it could have been 24 hours – 1 hour
  • The client to connect to the management point – up to 1 hour but we’ll say 1 hour

That’s a 6 hour wait for the end user to get a new application.  No wonder the business thinks that IT holds them back!  They can avail of cloud computing or a personal device (app on a tablet) in minutes, to deal with whatever business opportunity/challenge/threat is before them.  But with our push solution, IT takes 6 hours … and that could have easily been 29 hours!  That’s some “service”.

The Present

System Center 2012 is user centric.  That means the user is empowered to consume IT services in an on demand basis.  Those services are provided via System Center 2012, allowing IT to automate more, enable the user to consume as and when they need it, but IT can control, secure, and audit it.

Let’s take the Visio example.  I can create a Visio package with the automated installation.  I then create an application in System Center 2012 Configuration Manager.  I can two 2 types of deployment.  The first is a push, which is similar to what I discussed above.  That’s for when you’ want to push out software by policy.  And being a policy, the software will automatically get re-installed if it is uninstalled while the policy still applies.  There is a delay in the push, but we don’t mind.  That’s because we’re pushing out a policy to a large number of machines, and that’s probably something we do outside normal hours, and not to some “we want it now” demand.  Adobe Reader, Office, and so on are the sorts of app that you would deploy like this.

The second approach we can use is to publish the application in the Application Catalog.  Here you can list all elective software, the stuff you don’t include in your OS images or deploy on a widespread basis via policy.  Visio is a perfect example of this kind of app; it’s too expensive to deploy everywhere, and a few people will have a business case to require it.  When you create the application, you can add all sorts of text and keywords to describe the app and to make it searchable.

You can publish the URL to the Application Catalog to everyone’s browser via GPO.  And there’s a link to it in the new utility on the managed PC called Software Center.  Now a user wants Visio to open a VSD file.  The click the link to open the Application Catalog.  They can search, e.g. for .VSD file, and Visio appears in the results.  The click the Install button, and Visio installs … just like that.  It’s actually ConfigMgr doing the install, using the unattended config that you set up in the package.

Now Visio is expensive, so you don’t want everyone lashing it onto their PCs.  Not a problem!  With a mouse click, you configure the installation to require approval.  Instead of an Install button, the user is given a Request button.  They are asked to give a reason for the install and the request goes off into ConfigMgr where an administrator can review it and approve/reject it.  If it’s approved, the user will get an Install button.

The Future

We’d like that request process to be more auditable and to include non-IT staff, such as a faculty or department IT budget owner.  That’s where the Application Approval Workflow (AAW) comes in.  This combines the deployment functionality of Configuration Manager with the process and control functionality of System Center 2012 Service Manager.  Now the user can go into either the ConfigMgr Application Catalog or the portal of Service Manager, where they’d normally go to request IT services.  Requesting an approval-required application will create a service ticket in Service Manager and kick off an approval workflow. 

The engineering possibilities of workflow allow you to bring in alternative approvers based on your business or customer processes.  In other words, a budget owner can be notified of the request, read the business case, and reject/approve the install of the application.  And now IT just manages the system, instead of slowing down the business.  If there is slowness with this solution, the business can only look inwards to find a cause.

Configuration Manager 2012 Error, Past Due – Will Be Retired

I just had a bit of a head scratcher while building my ConfigMgr 2012 lab.  I had created an application to deploy Lync 2010 by policy to a collection of devices.  The “mandatory assignment” (this is old terminology for legacy packages/advertisements) was to install the Lync 2010 client as soon as possible.

I refreshed policy on my test machine and got this error in Software Center:

Past Due – Will Be Retired

Huh?!?!  I didn’t set an expiration on the deployment.  I could not figure this out.  The AppEnforce log in C:WindowsCCMLogs held the clue to this mysterious error:

Command Line: setup.exe /install /silent

The installer is called LyncSetup.exe, not Setup.exe.  I corrected the Deployment Type in my application for Lync 2010 and reran machine policy on the client machine.  The install now worked.  Then the real test: I manually uninstalled Lync, and ran the Application Deployment Evaluation Cycle on the client.  The reinstall (by policy) worked perfectly.

Windows Server 8 Beta Downloads and Documentation

Microsoft released a lot of documentation/downloads to go with the Windows Server 8 beta release of last week.  Here’s your chance to start learning and playing:

  • Understand and Troubleshoot Virtualized Domain Controller (VDC) in Windows Server "8" Beta: Windows Server "8" Beta introduces the first specific virtualization capabilities to Active Directory Domain Services. Virtualized Domain Controller (VDC) takes lessons learned from twelve years of virtualizing Active Directory and makes a more supportable, more flexible, more intuitive administrative experience for architects and administrators.
  • Test Lab Guide: Demonstrate Virtualized Domain Controller (VDC) in Windows Server "8" Beta: This document contains instructions for setting up the Virtualized Domain Controller test lab through: • Deploying a virtualized domain controller through cloning • Safely restoring a domain controller snapshot
  • Test Lab Guide: Base Test Lab Guide for Windows Server "8" Beta: This Microsoft Test Lab Guide (TLG) provides you with step-by-step instructions to create the Windows Base Configuration test lab, using computers running Windows 8 Consumer Preview or Windows Server “8” Beta. With the resulting test lab environment, you can build test labs based on other Windows Server "8" Beta-based TLGs from Microsoft, TLG extensions in the TechNet Wiki, or a test lab of your own design that can include Microsoft or non-Microsoft products. For a test lab based on physical computers, you can image the drives for future test labs. For a test lab based on virtual machines, you can create snapshots of the base configuration virtual machines. This enables you to easily return to the base configuration test lab, where most of the routine infrastructure and networking services have already been configured, so that you can focus on building a test lab for the product, technology, or solution of interest.
  • Creating Continuously Available File Shares with Windows Server “8” Beta: Windows Server “8” Beta contains a set of continuously available storage solutions that provide a cost effective alternative to an expensive storage area network (SAN) without sacrificing availability and performance. These solutions are targeted towards both traditional information worker workloads and application workloads, and they span the scalability and price point needs for different market segments, with systems going from entry-level sub-$10k solutions to scale-out solutions with up to 400 drives. These solutions are based on software developed by several teams at Microsoft, hardware that is already in the market and hardware that is being developed in cooperation with industry partners. This white paper introduces the reader to these new and enhanced features of Windows Server “8” Beta.
  • Understand and Troubleshoot Scale-out File Servers in Windows Server "8" Beta: This Understanding and Troubleshooting Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Scale-Out File Servers in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Storage Spaces in Windows Server "8" Beta: This Understanding and Troubleshooting Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Storage Spaces in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Microsoft Online Backup Service in Windows Server "8" Beta (!?!?!?!?): This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Microsoft Online Backup Service in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate DNS Security Extensions (DNSSEC) in Windows Server "8" Beta: DNS Security Extensions (DNSSEC) is a suite of extensions that add security to the DNS protocol. RFCs 4033, 4034, 4035, and 5155 specify the core DNSSEC extensions and add origin authority, data integrity, and authenticated denial of existence to DNS. In addition to several new concepts and operations for both the DNS server and the DNS client, DNSSEC introduces new resource records (DNSKEY, RRSIG, NSEC, NSEC3, and DS) to DNS.
  • Test Lab Guide: Demonstrate IP Address Management (IPAM) in Windows Server "8" Beta: Internet Protocol Address Management (IPAM) is a framework for discovering, monitoring, auditing, and managing the Internet Protocol (IP) address space used in a network. IPAM in Windows Server "8" Beta provides components for IP address space management, audit of configuration changes, monitoring and management of DHCP and DNS services, and IP address usage tracking.
  • Understand and Troubleshoot DHCP Failover in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for DHCP Failover in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrating DHCP Failover in Windows Server "8" Beta: Dynamic Host Configuration Protocol (DHCP) failover in Windows Server "8" Beta provides the ability for administrators to deploy a highly resilient DHCP service to support a large enterprise. The main goals of the feature are the following. • Provide DHCP service availability at all times on the enterprise network • If a DHCP server is no longer reachable, the DHCP client is able to extend the lease on its current IP address by contacting another DHCP server on the enterprise network.
  • Understand and Troubleshoot Printing in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Printing in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate Windows Server "8" Beta Print and Document Services:

    This paper contains an introduction to Windows Server "8" Beta Printing and step-by-step instructions for extending the Test Lab Guide Base Configuration to demonstrate Printing Services in Windows Server "8" Beta.

  • Understand and Troubleshoot High Availability Printing in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for High Availability Printing in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Activation Technologies in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Activation Technologies in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot AD DS Simplified Administration in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for AD DS Simplified Administration in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate ADDS Simplified Administration in Windows Server "8" Beta: This document contains instructions for setting up the AD DS Simplified Administration test lab through: • Graphically upgrading an existing Active Directory forest by adding the first Windows Server "8" Beta GUI domain controller • Adding an additional Windows Server "8" Beta Core domain controller using Windows PowerShell • Adding an additional Windows Server "8" Beta Core domain controller using Windows RSAT from a Windows 8 Consumer Preview computer • Decommissioning the original legacy domain controller • Using new AD DS graphical and Windows PowerShell features for further configuration and administration
  • Understand and Troubleshoot Dynamic Access Control in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Dynamic Access Control in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Cluster-Aware Updating (CAU) in Windows Server "8" Beta: This Understanding and Troubleshooting Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Cluster-Aware Updating in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Hyper-V Replica in Windows Server "8" Beta: This Understanding and Troubleshooting Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Hyper-V Replica in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Remote Desktop Services Desktop Virtualization in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Desktop Virtualization in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot DNS Security Extensions (DNSSEC) in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for DNS Security Extensions (DNSSEC) in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot IP Address Management (IPAM) in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for IP Address Management (IPAM) in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Remote Access in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Remote Access in Windows Server "8" Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate DirectAccess Single Server Setup with Mixed IPv4 and IPv6 in Windows Server "8" Beta: DirectAccess provides users with the experience of being seamlessly connected to their intranet any time they have Internet access. When DirectAccess is enabled, requests for intranet resources (such as email servers, shared folders, or intranet websites) are securely directed to the intranet, without the need for users to connect to a VPN. DirectAccess enables increased productivity for a mobile workforce by offering the same connectivity experience both inside and outside of the office. The Windows Routing and Remote Access Server (RRAS) provides traditional VPN connectivity for legacy clients and non-domain members. RRAS also provides site-to-site connections between servers. RRAS in Windows Server 2008 R2 cannot coexist on the same edge server with DirectAccess, and must be deployed and managed separately from DirectAccess. Windows Server "8" Beta combines the DirectAccess feature and the RRAS role service into a new unified server role. This new Remote Access server role allows for centralized administration, configuration, and monitoring of both DirectAccess and VPN-based remote access services. Additionally, Windows Server "8" Beta DirectAccess provides multiple updates and improvements to address deployment blockers and provide simplified management. This guide provides step-by-step instructions for configuring DirectAccess in a single server deployment with mixed IPv4 and IPv6 resources in a test lab to demonstrate functionality of the deployment experience. You will set up and deploy DirectAccess based on the Windows Server "8" Beta Base Configuration using five server computers and two client computers. The resulting test lab simulates an intranet, the Internet, and a home network, and demonstrates DirectAccess in different Internet connection scenarios.
  • Test Lab Guide: Demonstrate High Availability Printing in Windows Server "8" Beta: This paper contains instructions for setting up a test lab based on the Test Lab Guide Base Configuration and deploying a highly available Windows Server "8" Beta Print Server using three server computers and one client computer. The resulting High Availability Printing test lab demonstrates Windows Server "8" Beta Print Server functionality.
  • Understand and Troubleshoot BitLocker in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for BitLocker in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Understand and Troubleshoot Servicing in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Servicing in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate Remote Desktop Services Desktop Virtualization in Windows Server "8" Beta: This paper contains instructions for setting up a test lab based on the Test Lab Guide Base Configuration and deploying Remote Desktop Services Desktop Virtualization using four server computers and one client computer. The resulting Remote Desktop Services Desktop Virtualization test lab demonstrates Desktop Virtualization functionality.
  • Understand and Troubleshoot Remote Desktop Services in Windows Server "8" Beta: This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Remote Desktop Services in Windows Server “8” Beta. This UTG provides you with: • A technical overview and functional description of this feature. • Technical concepts to help you successfully install, configure, and manage this feature. • User Interface options and settings for configuration and management. • Relevant architecture of this feature, with dependencies, and technical implementation. • Primary troubleshooting tools and methods for this feature.
  • Test Lab Guide: Demonstrate Remote Desktop Services in Windows Server "8" Beta: Remote Desktop Services (RDS) in Windows Server "8" Beta provides the ideal platform for companies to implement a centralized desktop strategy, helping organizations improve flexibility and compliance while improving data security and IT’s ability to manage desktops and applications. RDS is a centralized desktop and application platform solution that uses Desktop Virtualization and VDI technologies, offering powerful opportunities for IT to deliver and manage corporate desktops and to respond to users’ needs in a flexible way. Remote Desktop Services is the new name for Terminal Services, and reflects the expanded role in Windows Server "8" Beta so that you can run the desktop or applications in the datacenter while your users can be anywhere. This paper contains instructions for setting up a test lab based on the Test Lab Guide Base Configuration and deploying Remote Desktop Services Desktop Virtualization using four server computers and one client computer. The resulting Remote Desktop Services Desktop Virtualization test lab demonstrates Desktop Virtualization functionality.
  • Test Lab Guide-Deploying RD Licensing: Use this test lab guide to install Remote Desktop Services client access licenses (RDS CALs) for Windows Server “8” Beta. This test lab guide uses the VDI standard deployment test lab as a starting place. Complete the steps in Test Lab Guide: Virtual Desktop Infrastructure standard deployment before you proceed with the remainder of the steps in this guide.

Setting Up Windows 8 Windows To Go on USB 3.0

Windows 8 includes support for a new mobile “device” function called Windows To Go.  The idea is that you can install Windows 8 Enterprise on a supported USB 3.0 removable storage device, such as the Kingston DT Ultimate G2 32 GB that I have.  This means that you can have a working installation of Windows 8 that you can theoretically take around with you, plug into machines with a USB 3.0 port, and boot them up into your mobile workspace.

NOTE! The Kingston DT Ultimate G2 is not supported by Windows To Go.  It worked back in the beta days, but no longer.  You have to be very precise about what you purchase: http://legacy.kingston.com/wtg/

 

Note that the two supported device ranges (restricted because of performance) at this point (post updated on 13/June/2012) are:

  • Kingston DT Ultimate: luckily the one I bought, and the range we’re distributors for at work 🙂
  • SuperTalent RC8

I set up my stick so I could boot my Ultrabook up into Windows 8.  It’s configured with Windows 7, and the 128 GB SSD is not big enough to dual boot.  It’s my primary machine at home so I didn’t want to put a beta on the internal drive.

Here’s how I set it up.  C: is my laptop’s internal drive, and E: is my USB 3.0 stick.

  1. I got a copy of ImageX and BCDBoot from the latest version of WAIK (Windows Automated Installation Kit).
  2. I copied install.wim from the sources folder of the Windows 8 ISO.
  3. I put all my files in C:Source
  4. I inserted the USB 3.0 drive (E:)
  5. Run DiskPart from an elevated command prompt
  6. Run List Disk.  Identify the USB drive.
  7. Type Select Disk X where X is the number of the identified USB drive
  8. Run Clean if you are sure you have selected the USB drive.  This will erase it.
  9. Now type Create Partition Primary to create a partition.
  10. Format fs=ntfs quick will quick format the new partition.
  11. Active will mark it for boot
  12. Type Exit to quit DiskPart
  13. Now I ran C:sourceimagex.exe /apply C:sourceinstall.wim 1 e: to install Windows 8 from install.wim to the USB 3.0 drive
  14. Running Bcdboot.exe e:windows /s e: will configure the USB 3.0 to boot Windows 8

Now you have a generalised USB 3.0 stick.  You can pop it into your USB 3.0 port, boot from it, and Bob’s your uncle!

Quick note: I had tried this with the developer preview of Windows 8 but it refused to boot from my ultrabook (inacessible boot device Sad Face Of Death).  I did configure my BIOS to do a UEFI boot – this might be required and I haven’t tried booting without it.

If you’re mass producing sticks then you might want to look at injecting drivers, etc, into the install.wim file to reduce specialisation when you deploy the sticks.

In terms of performance, obviously it is not as fast as the SSD in my machine.  But it isn’t bad at all.

Technorati Tags: ,

70-681 (Windows 7/Office 2010 Deployment) Exam Preparation

I’ve been asked several times during the last week about how to prepare for 70-681, the exam on deploying Windows 7 and Office 2010, so I thought it was worthy of a blog post.  The issue is that there is no guidance from Microsoft on how to prepare for it in terms of materials.  And that is because it pulls in information from all over the place.  Think about it; Windows 7 deployment can include:

  • MAP
  • ACT
  • WAIK/ImageX
  • WDS
  • MDT
  • ConfigMgr OSD/Zero Touch

That’s 6 different products.  By the way, we cover all that in Mastering Windows 7 Deployment.  And that’s just Windows.  This exam also covers Office 2010.  They typically go hand in hand, which is why the exam includes both topics.  And this certification will be mandatory from May 2012 for the Microsoft partner Desktop competency (new and renewing partners).

If you want blogs/websites to read for preparation then check out:

From time to time, Microsoft is known to run classes for partners on training.  Your registered partner contacts in your company should be getting email announcements from the local MSFT partner team with any such information.  These courses are usually anywhere from free to very economic.  This is just a starting point to get the attendees on the ladder.  A course cannot be a complete exam prep.  And folks like Rhonda Layfield (USA) and Johan Arwidmark (in Europe but also USA) are known to run their own deployment training classes which can be attended by the public (for a fee).

In the end, most of the OS deployment stuff centres on a few things like WinPE, WSIM, SysPrep, and drivers.  I did the Vista/O2007 exam and Office deployment questions asked about evaluation/migration stuff.  To be honest, nothing prepares you for this exam like doing a lot of work in a lab.  That’s where your MSDN/TechNet licensing and a virtualisation host come in really handy.  You can get a little prep work done also in the TechNet Labs for Windows 7.

Dual Booting Windows 7 with Hyper-V

I’ve started in my new job and I’m in “personal” hardware heaven.  I’ve a snazzy HP Eltitebook 8740w with an i7 processor, on the way, and have a 256 GB SSD, 512 HB hybrid (SSD cache) drive (in a DVD slot caddy), and additional 8 GB RAM (to bring the laptop to half it’s 32 GB RAM potential), and a 12 cell battery.  It’s going to be a mutha for demos.

I also have a desktop machine.  That’ll allow me to double up my virtual load at peak usage, but it is intended mainly as the office machine while I work in the laptop lab.  The good news is that it’s an i5 CPU PC, with 12 GB RAM.

So that means I need to start Hyper-V building.  The plan is to dual boot with Windows 7 on both machines.  I could go with external disks but that means carrying stuff.  I’ll have enough internal storage so the plan is to boot from VHD.  This means the server OS will be installed in a VHD. 

Now I could go installing an OS in a VHD.  Yawn!  Time consuming.  Alternatively I could use WIM2VHD.  Note that you must install WAIK for Windows 7 to provide the prerequisite tools for this utility to work.  I’ve taken the install.wim file from the Windows Server 2008 R2 media, and run it:

CSCRIPT WIM2VHD.WSF /WIM:C:install.wim /SKU:SERVERENTERPRISE /VHD:C:W2008R2Ent.vhd

That will create a VHD file with an “installed” operating system.  This works because the Windows installer consumes files from a WIM file in the ISO/DVD that is a file based image, making it easy to read, consume, and manipulate.  I could have customise the install using an unattend file:

/UNATTEND:C:unattend.xml

Now I can configure my PC to boot from this VHD.  First step: attach the VHD.  You can do this from an elevated command prompt.

diskpart
select vdisk file=c:W2008R2Ent.vhd
attach vdisk
list volume
select volume <volume_number_of_attached_VHD>
assign letter=v
exit

This attaches the VHD file that you have created from the install.wim file using WIM2VHD.  It then assigns the drive letter V (or whatever is free for you) to that VHD.  You can see this in Disk Manager.

The following commands will now configure your PC to add an additional boot option to allow your machine to dual boot with Windows 7 on the C: drive (default) and Windows Server from the VHD (just added):

cd v:windowssystem32

bcdboot v:windows

Now your PC can dual boot.  All that remains is to configure the server with Hyper-V, etc.

image

When you reboot a boot menu appears.  By default, the new Windows VHD will be the default, but you can change it as above in Advanced System Settings.

The VHD will boot up, and commence the mini-setup wizard.  The OS is customised, boots up, and you can log into it, install drivers, enable Hyper-V, and so on.  I’ve got this working on my PC.  Next up will be the laptop.

I think this is a great way to get a Hyper-V host up and running.

Oh and it doesn’t end there …

You may have heard that SCVMM 2012 can deploy Hyper-V hosts.  It does this by deploying a VHD and configuring the host hardware to boot from that VHD.  Where does that VHD come from? Maybe (I haven’t tried it yet because I don’t have the required hardware) it could come from WIM2VHD and an install.wim? 

Comments on a post card …

Nice Feedback is Soup for the Soul

I think I’ve mentioned before that writing a book is hard work.  To be honest, when you’re going through the 3rd and 4th edit, you sometimes start to wonder if it’s all worth it or not. 

But then when you get positive feedback, sometimes by email or by Twitter, it can perk you up quite a bit.  Here’s a little sample of that for Mastering Hyper-V Deployment:

“… thank you for your awesome Hyper-V blog- it has really helped me get moving on Hyper-V. I purchased your book, Mastering Hyper-V Deployment earlier this week and found that to be even more valuable” – Paul

“… read it for the book review and I must say it is great” – Carsten

“…Great book” – Michael

“Handing out 16 copies of Aidan Finn’s Mastering Hyper-V Deployment book http://amzn.to/aKCQXj to the students of my #hyperv course” – @hvredevoort

Then there is the feedback on Amazon where Mastering Hyper-V Deployment is averaging 5 stars:

“Just got the book and reading half way through. A well written book with a lot of good explanation and diagram to assist user to understand the hyper v deployment. Keep up the good work” – Lai Yoong Seng

“The book has proven to be a big timesaver because it (1) cuts through the bureaucracy of the Microsoft-provided documentation and the hours researching product information on the web and (2) it covers details that will help me avoid problems later.  This is one of the few network admin books I have read cover-to-cover.” – S. Tsukuda

I found this book to be a very easy read and overall it had a great flow. Being an IT professional, I have read a lot of technical books and most are tough to read cover to cover. I had no issues reading through Mastering Hyper-V Deployment because Aidan’s style of writing is natural and he writes at a technical level that can translated by anyone, not just a Hyper-V expert. I highly recommend purchasing this book if you are planning to deploy Hyper-V R2 or have already done so.” – A. Bolt

“Best of all, you’ll get almost all the answers to the questions you’ve been thinking about. It’s all about details, but it’s always easy to get into it. You’ve been asking to yourself whether you should use snapshot on a VM running SQL ? the answers found from different sources on internet may be confusing you. In this book you’ll learn why not to use it or when you should use it and how to avoid any problem doing it among many other details to be aware of.” – Thomas Lally

“Appropriate for all Hyper-V users from the beginner to the expert, it goes beyond deployment and is definitely the administrator’s aid and if using guidance here your Hyper-V solution should remain in good shape.” – Virtualfat

“This is an excellent introduction to Hyper-V which is Microsoft’s Enterprise Software Solution. I particularly like the way the book is laid out, it is similar to a project plan to assist you if you were deploying your own Hyper-V project.  There is lots of very good information contained and this book is an asset to anyone who is planning a Hyper-V Deployment.” – Mr. J. Kane

One of the more interesting comments have been reported to me (from two independent sources) was from the Microsoft European HQ in Reading, UK.  Some of the Microsoft consultants there have stated that they thought Mastering Hyper-V Deployment was the best Hyper-V book they’ve read, including those from MS Press.  It would be an understatement to say that put a smile on my face!

Credit for the quality of Mastering Hyper-V Deployment must also be shared with the editors from Sybex, Hans Vredevoort (technical editor), and Patrick Lownds (co-author).

Last year was tough.  I was getting pretty tired of the editing process as we circled the end of Mastering Windows 7 Deployment.  I pushed through and eventually it was released a few weeks ago.  Today I got this nice message on Twitter from @miamizues

“Your co authored book on windows 7 deployment is our departments new bible, thank you”.

I was just a part of a big team of people who wrote, edited, and reviewed that book, but that was especially nice to hear.

Thank you to those concerned for taking the time to pass on or share the nice words.

And there are also plenty of online and in-person friends/colleagues who’ve said some nice things and supported me.  You know who you are and thank you!

Mastering Windows 7 Deployment is Published

I’ve just recived an email from Sybex to say that the third book that I’ve been involved with, Mastering Windows 7 Deployment, has just started shipping from their warehouse(s).  Right now, Amazon.com is still on preorder but that will likely change in the coming hours or days.  The Wiley (Sybex is part of the Wiley group) site is live right now.

Who contributed?  Me, Darril Gibson (trainer/consultant, also of Mastering Windows Server), Kenneth van Surksum (Dutch MVP and well known blogger), Rhonda Layfield (deployment MVP, author, speaker, trainer), not to mention deployment MVPs/gurus Johan Arwidmark and Mikael Nystrom.  It was quite a cast to work with!  Big thanks to anyone I worked with on the project, especially those in Sybex who worked on the project.

The book takes a very practical look at how to do a Windows 7 deployment project.  It starts out by doing the assessment using MAP.  From there, issues with application compatibility are dealt with.  You learn about WAIK, using WDS, MDT, user state transfer, and even how to do zero touch installations using System Center Configuration Manager 2007 (including R2/R3).  I’d buy it if I wasn’t one of the contributors 🙂

WAIK for Windows 7 SP1 is Released

Microsoft has released WAIK for Windows 7 SP1.  This new release supports:

  • Windows 7 Service Pack 1
  • Windows Server 2008 R2 SP1
  • Windows Server 2003 with Service Pack 2
  • Windows Vista SP1
  • Windows Server 2008 family
  • Windows 7 family
  • Windows Server 2008 R2 family

“The Windows® Automated Installation Kit (Windows AIK) is a set of tools and documentation that support the configuration and deployment of Windows operating systems. By using Windows AIK, you can automate Windows installations, capture Windows images with ImageX, configure and modify images using Deployment Imaging Servicing and Management (DISM), create Windows PE images, and migrate user profiles and data with the User State Migration Tool (USMT). Windows AIK also includes the Volume Activation Management Tool (VAMT), which enables IT professionals to automate and centrally manage the volume activation process using a Multiple Activation Key (MAK)”.