Archive

Archive for the ‘Windows 7’ Category

SharePoint 2010 Development Platform Using Boot From VHD

February 21, 2011 Leave a comment

I have been working with Windows 7 for a while and knew about this wonderful feature called Boot from VHD. In a nutshell this feature allows Windows 7 to boot directly into a VHD and run just like a dual-boot system. The Boot from VHD allows the virtual to also tap into built in hardware like chip virtualization technology, USB devices, and more importantly memory. Because of this I have been able to demo Windows 7 using Aero and even use a VHD with Windows 2008 R2 Hyper-V and build other virtuals for courses I am teaching.

When I started into SharePoint 2010 beta I quickly jumped into building my own VHD for this product. Hence this is a great platform to build and test SharePoint 2010 without affecting my Windows 7 client.

Documented below are the steps I cobbled together from a variety of sources to get my Boot from VHD up and running.

  • Open up computer management on Windows 7 or Windows Server 2008 R2.
  • Click on Disk Management in the Storage node.
  • After it has refreshed, right click on Disk Management and choose Create VHD.

  • Specify a location. Ensure that the location has enough hard drive space. The rule of thumb is that you need to have as much physical space as you are allocating for the Virtual disk size.
  • Designate the Virtual hard disk size. Ensure to allow for SQL and SharePoint as well as log file size.
  • Choose either Dynamically expanding or Fixed size depending upon how much disk space available. If limited, then use Fixed size.

  • Click on OK.
  • While creating the vhd, Windows 7 show that a new driver is being installed and the status bar of the console will update how far along the VHD is from completing. This will take a while like it is creating the VHD.
  • Right click on the newly created Disk # Unknown and choose Initialize Disk.

  • Leave everything as default and click OK.
  • Right click on the Disk and choose New Simple Volume.
  • In the New Simple Volume Wizard click on Next.
  • In the Specify Volume Size leave all options as default and click Next.
  • In the Assign Drive Letter or Path leave all options as default and click Next.
  • In the Format Partition name the Volume SharePoint2010 and click Next and then Finish.
  • You know this worked when the AutoPlay window for the new drive pops up and it is visible in Windows Explorer.

Apply the Install.Wim to VHD

  • Download and Install WAIK for Windows 7 from: http://bit.ly/gylZ3A
  • Get a hold of the Windows Server 2008 R2 installation media and navigate to the Sources folder and copy the install.wim file to a usable location on the C: drive.
  • In the Windows 7 Start search type out Deployment Tools Command Prompt.
  • Right click on the command and choose Run as Administrator and click Yes at UAC prompt.
  • Type the following commands:

    Imagex /apply c:\install.wim 3 E:\

**Note the 3 in the command designates which version of Windows Server 2008 R2 is needed for this installation. Refer to the table below to designate a specific version or use the following imagex command to explore: imagex /info {path to install.wim}

# Version
1 Standard
2 Standard Core Only
3 Enterprise
4 Enterprise Core Only
5 Data Center
6 Data Center Core Only
7 Web
8 Web Core Only
  • Once the wim has been applied, close the Deployment Tools Command Prompt.
  • Navigate to the attached VHD drive and the following folders should be available.

  • Navigate to Computer Management
  • Right click on the Attached VHD and choose Detach VHD.

  • In the Detach Virtual Hard Disk window click on OK.

Create a Boot Menu Options

  • From the Start Search type out cmd and right click on command icon and choose Run as administrator.
  • In the Command Prompt type the following entries:

    C:\bcdedit /copy {current} /d “My New VHD Name”

    **This line will return a unique GUID for the boot object. Use this GUID below anywhere <guid> is displayed.

    C:\bcdedit /set <guid> device vhd=[driveletter:]\<directory>\<vhd filename>

    C:\bcdedit /set <guid> osdevice vhd=[driveletter:]\<directory>\<vhd filename>

    C:\bcdedit /set <guid> detecthal on

    **This last command will ensure that the vhd will be able to interact with the HAL.

Now that you have seen the overall syntax here is what I did with mine:

C:\bcdedit /copy {current} /d “SharePoint 2010″

C:\bcdedit /set <66054000d-dd92-11dd-92a1-dc4419dac736> device vhd=[C:]\VHD\SharePoint2010

C:\bcdedit /set <66054000d-dd92-11dd-92a1-dc4419dac736> osdevice vhd=[C:]\VHD\SharePoint2010

C:\bcdedit /set <66054000d-dd92-11dd-92a1-dc4419dac736> detecthal on

  • Close the command prompt after completing the final command.
  • Restart your computer and a selection screen should give you options for Windows 7 and your new vhd boot.
  • Choose the new boot and continue with the configuration of Windows Server 2008 R2.

I have found a great website that document the entire configuration of SharePoint 2010 with Active Directory and SQL Server 2008 R2.

Resources

Here are some of the resources I used when researching this process.


Windows 7 Group Policies

August 13, 2010 Leave a comment

Many times in my Windows 7 classes we have discussion about what policies there are to help control Windows 7.  Since Windows XP and Server 2003 Microsoft has created and made available an Excel spreadsheet which details what the group policies are and where they are located in the Group Policy Management console.  Check this out the next time you are scratching your head on group policy: http://bit.ly/9X2zwQ.

Good luck!

Categories: Windows 7 Tags: ,

Windows 7 and Windows Server 2008 R2 SP Beta

August 10, 2010 Leave a comment

Have you downloaded the Windows 7 and Windows Server 2008 R2 SP Beta yet?

The Windows 7 and Windows Server 2008 R2 SP1 Beta helps keep your PCs and servers on the latest support level, provides ongoing improvements to the Windows Operating System (OS), by including previous updates delivered over Windows Update as well as continuing incremental updates to the Windows 7 and Windows Server 2008 R2 platforms based on customer feedback, and is easy for organizations to deploy a single set of updates.

The Windows 7 and Windows Server 2008 R2 SP1 Beta will help you:

  • Keep your PCs supported and up-to-date
  • Get ongoing updates to the Windows 7 platform
  • Easily deploy cumulative updates at a single time
  • Meet your users’ demands for greater business mobility
  • Provide a comprehensive set of virtualization innovations
  • Provide an easier Service Pack deployment model for better IT efficiency

The public beta is best suited for IT pros, tech enthusiasts and developers who need to test the service pack in their organization or with the software they are developing.

In order to download and install the Windows 7 and Windows Server 2008 R2 SP1 Beta you must currently have a Release to Manufacturing (RTM) version of Windows 7 and Windows Server 2008 R2 already installed. The Beta is available in English, French, German, Japanese and Spanish.

To learn more about piloting, deploying and managing Windows 7, visit the Springboard Series on TechNet.

Categories: Windows 7 Tags:

Trouble with Windows 7 XP Mode

July 20, 2010 Leave a comment

I came across this post after I had issues with my demo Windows 7 XP mode during some of my seminars. A quick search revealed an issue that can develop as an IT Pro is working on the virtual. Check out MPEC’s Blog post on this to fix the issue.

Now it is all better and I can demo again.

Categories: Windows 7 Tags: ,

Microsoft’s Client Proof of Concept

June 13, 2010 Leave a comment

I just returned from TechEd 2010 in the Big Easy and had a lot of fun working the Microsoft Springboard kiosk. One of the new things that is happening with Springboard is they have released a Windows 7 and Office 2010 Proof of Concept deployment package. This allows an organization play with and understand how Windows 7 and Office 2010 interact with each other.

The proof of concept idea allows a company to download virtual hard drives designed to work in Windows Virtual PC (or earlier version Virtual PC 2007).  There are two virtuals: one contains Windows Server 2008 R2 and the other Windows 7 both fully installed, networked together and ready to go.  The server already has Microsoft’s Desktop Optimization Pack (MDOP) fully loaded as well as some of the deployment technologies ready to test.  Windows 7 includes Office 2010 Professional Plus.  Both sets of virtuals are set to expire 90 days later.  However since it is Windows Virtual PC just unzip them again and test over and over.   This creates an excellent platform to test bed and try out all these tools.

The easiest way to get to the information is by going to the web site found at Springboard Proof of Concept.  This talks about what is available with the Proof of Concepts as well as Step by Step guides and well as download link to get the combined 13 Gb files.  You can also order the DVD’s on-line if you don’t want to waste the bandwidth for the download.

All in all this is a great opportunity to try and test it before you move ahead.  There was a lot of excitement around the concept at TechEd and the DVD’s were disappearing as fast as we could get them out.  Check it out!

What Happened to the AdminToolPak?

February 5, 2010 Leave a comment

I have been teaching a lot of Windows 7 courses lately.  One of the topics that always seems to generate a lot of questions is “How do I administer a Windows 7 client using group policy when we are currently in a Server 2003 or 2008 environment?” 

In essence the answer is that you are going to use a Windows 7 client and the new Remote Server Administration Tool (RSAT) for Windows 7.  The RSAT replaces the AdminToolPak that was available for Windows XP.    There are two different versions:  RSAT x86 and RSAT x64

Once you have the update downloaded and installed, the features will need to be enabled.  This can be done by going into Programs and Features control panel option and choosing Turn Windows features on or off which is found in the left navigation panel.

Adding Windows Features

How to enable RSAT features in Windows 7

Once in the Windows features dialogue box, expand the Remote Server Administration Tools node and the Feature Administration Tools node to find Group Policy Management Tool specifically.  If you are an administrator that needs access to DHCP, DNS, etc then add those tools as well.

Adding Group Policy Management Feature

Windows Features: Adding Group Policy Management Feature

 Once the feature update has completed, the administrator has the ability to get at the console either from Administrative Tools option in the control panel or through creating a new Microsoft Management Console (MMC) and adding the appropriate Snap-In’s.

Now I have the ability to administer Group Policies to not only Windows 7 clients but also Vista and XP.  Now you can start working on understanding what all the Group Policy Objects are that are new in Windows 7.  Which leads me to another great resource that is available for administrators.  Microsoft has made available an Excel spreadsheet that contains all known Group Policies for everything from Windows XP/Server 2003 to Windows 7 / Server 2008 R2.  Download from here.

Categories: Windows 7 Tags:

Windows 7 God Mode

January 25, 2010 Leave a comment

So I have been talking about this enough in my Windows 7 seminars and classess that I thought I should add a post about it.

Whenever I hear the term “God Mode” I think about video gaming and being able to do anything I wanted. When you talk about “God Mode” in Windows 7, this really allows Administrators to get to the tools they need in one location. It reminds me of the Administrator’s ability to use Internet Explorer 6.0 to run around in Admin Approval Mode to fix things on a comput er with out a lot of “Run As” commands.  All you need to do is:

  1. Create a new folder.
  2. Rename the folder with the following: “Desired Name”.{ED7BA470-8E54-465E-825C-99712043E01C} (do not include the quotes)
  3. Once the change has been made the icon should change to below:
God Mode Icon

Icon for God Mode Windows 7 and Vista

Upon opening the icon you are presented with Administrative Tools, Action Center, Control Panel options, etc.  Combine this with a “Run As” command for a very easy way for administrators to quickly get around on a Windows 7 or Windows Vista machine.  That’s right, this also works on Windows Vista.  Good luck and please leave a comment about what you have found out with this great tool!

God Mode Window
Windows 7 God Mode Explorer

I want to thank Brian Lockwood at  for first bringing God Mode to my attention.

Update 2/8/2010

I was recently poking around on Microsoft’s website and I came across why “God Mode” is even available.  This article talks more about what is it used for and I lists other “Junction Points” that are available to access other parts of the OS.  Pretty cool information.  Checkout this post from the Deployment Guys.

Categories: Vista, Windows 7 Tags:

Windows 7 Boot from VHD

January 12, 2010 3 comments

Boot from VHD

 One of my favorite new capabilities in Windows 7 (and Windows Server 2008 R2) is the ability to boot from a virtual hard disk (vhd).  This allows me to develop a Windows 7 image without needing a separate machine.   Because the image is in a vhd format I can then convert it into whatever format I need.

There are a couple of pre-requisites that need to be in place before using Boot from VHD.

  1. The host needs to be either Windows 7 or Windows Server 2008 R2.
  2. The vhd needs to be either Windows 7 or Windows Server 2008 R2.
  3. The vhd needs to be the Hyper-V version NOT Virtual Server 2005 or Virtual PC 2007.

 Depending on the method used to create the vhd, you may need some knowledge of the Boot Configuration Data (BCD) command line tools to edit the boot to recognize the vhd. 

To start you will need to have a vhd that is an installed or sysprep version of Windows 7/Windows Server 2008 R2.  There are many different websites that show how to create this vhd for use in a Boot from VHD. 

Note: After a couple of failed attempts at creating the vhd, I discovered that the vhd’s internal size could not be larger than what is still available on the host disk.  For instance, I had used a standard vhd configuration of 127 GB for vhd hard drive space.  The host drive (C:) only had 80GB of space left.  This dictated that my vhd internal drive space was 40GB.

After creating the vhd, follow these steps:

  1. Place the vhd on the desired location and within a folder that allows you to easily discern its purpose, for example C:\VHD\Win7.vhd.
  2. Open up a Command Prompt in Windows 7 or Windows Server 2008 R2.  Make sure to Run as Administrator if you’re on Windows 7.
  3. At the command prompt type: bcdedit /copy {current} /d “Windows 7 VHD”.

Note: This created a GUID that is attached to Windows 7 vhd.  This will be used in successive steps.  Windows 7 VHD is an arbitrary name for this demo.  This is what will show up in the Windows Boot Manager list on start-up.

     4. Continue typing: bcdedit /set <GUID from the copy command> device vhd=[C:]\VHD\Win7.vhd

     5. Next, add: bcdedit /set <GUID from the copy command> osdevice vhd=[C:]\VHD\Win7.vhd

Note:  This now associates the GUID with the physical location of the VHD file. 

     6.  Finally type: bcdedit /set <GUID from the copy command> detecthal on

Note:   This last step allows the vhd to access the physical computer.  This includes the processor and any advanced virtualization technology embedded, any USB drives, or even any other physical hard drives on the computer.

     7.  To ensure that everything is correct, then type in bcdedit /v and the all of the individual Boot Loaders should be available.   Below is an example of a vhd currently set up on my computer for a Windows Server 2008 R2 vhd I use to create Hyper-V images.  This is typical of what will be displayed when completing the BCD editing for a Boot from VHD.

Example of BCD entry for Boot from VHD

     8.  Close out of command prompt.  Restart the Windows 7 computer and choose Windows 7 VHD (or whatever name you chose in Step 3) to start into the vhd environment.

 On yeah, and if you ever need to clean up after a vhd is not needed, then:

  1. Open up a command prompt and use the bcdedit /v to discover the GUID.
  2. Type: bcdedit /delete <GUID of the vhd image> /cleanup

 This should clean up the BCD entry and all that is needed to finish is to delete the vhd from the host system.  Good luck and have some fun.

Categories: Windows 7 Tags:

Migrating to Windows 7? How about some Education!

December 15, 2009 Leave a comment

The Windows 7 arena is starting to heat up for corporate America. Many organizations are just now looking at doing rollouts of Windows 7 starting the summer of 2010 through the end of the year.

From a deployment point of view, education is usually one of those things that most organizations leave out. However, to make sure that a successful deployment happens it is one of the most important.

Most organizations take a look at a new OS through the eyes of the current OS. That OS would be Windows XP. My favorite line that was coined by a counterpart of mine is “You don’t know what you don’t know!”. Which is so true when it comes to Windows 7. In some of my sessions I ask a series of questions to see if anybody has ever heard about “XYZ”? So let’s see how you do.

Have you heard about?
1. Reliability Monitor
2. Task Scheduler
3. Problem Step Recorder
4. User Account Control
5. AppLocker
6. Device Installation Policies
7. Group Policy Preferences
8. Remote Server Administration Tools
9. BitLocker To Go
10. Network Profiles

If you had a score of less than 5, you would be missing most of the functionality of Windows 7. Most people use a new OS like they did the current OS.   “You don’t know what you don’t know!”

Your support teams will need to either take the time to find all the relevant information about the new OS or they will need training.  This training will need to be on multiple fronts.  Those teams that are working with Active Directory and policies that will govern Windows 7, the Desktop Design team will need to know all the functionalities that are available in Windows 7, the Support teams will need to look at what different and new that could cause issues for the end user.  That is not to even talk about the internal Development teams that need to make sure the new client can run all applications within the organization.

Please do not foget the End User who will be greatly effected by the new look and feel that Windows 7 brings to the client.

Ultimately, this knowledge will lead to the a more successful deployment of Windows 7 into your environment and hopefully you will not be in the category of  ”You don’t know what you don’t know!”

Categories: Windows 7 Tags:

Gartner Says “Start Getting Ready to Move to Windows 7″

November 18, 2009 Leave a comment

Gartner recently released an web page devoted to Windows 7 and topics around migration to Windows 7.  In a short video, a research VP from Gartner states that because manufacturers are going to move ahead with Windows 7 companies should look at moving ahead with Windows 7 deployment by 2012.  The statement is more quantified by the fact that Microsoft will be support Windows XP SP3 until 2014.  They feel that organizations will feel the push into Windows 7 much earlier.

At this site is many different links and support documentation about the migration to Windows 7 and how much it potentially could cost an organization.  Based on my research and many, many seminars I would say the number one cost for organization will be in the time spent on making sure applications work within the Windows 7 environment.  I will talk more about Application Compatibility in future posts.  But for now enjoy the Gartner website.

http://www.gartner.com/technology/research/reports/windows-7-report.jsp

Categories: Windows 7 Tags:
Follow

Get every new post delivered to your Inbox.

Join 370 other followers