Monday, September 03, 2012

Migrate Windows 7 to a new SSD

What you’ll need: your old hard drive; a back-up drive, either internal or external; a blank CD-R/DVD-R or the Windows 7 installation disc and your new SSD.

Step 1: Shrinking your original partition to fit on the smaller

First make sure your original OS drive only contains two partitions -- the system reserved partition and the partition that houses your OS. If you have any others, back everything up from them onto the backup disk as you'll lose them in this process.

Once that’s done, it’s time to shrink your OS partition so it will fit inside the SSD, which is likely to be smaller than the older OS drive. Go to the start menu and right-click 'Computer' before selecting 'Manage'.

Select 'Disk Management' on the left, just under the 'Storage' header.

Right-click your OS partition, which is usually labelled as C:, and then select 'Shrink Volume'. The computer will think for a moment as it queries the volume for available shrink space.

In 'Enter the amount of space to shrink in MB', enter a value that's at least 10% smaller than the usable capacity of your new SSD. For example, if you’re moving over to a 120GB SSD, enter 100,000 to be safe.

If you can’t shrink the partition enough, try defragging the drive first. If that fails, you’ll need to start uninstalling applications from C:. Do this until you’re able to shrink the drive enough. Once it’s shrunk, your new OS partition will be small enough to fit inside your SSD.

Step 2: Create an image of the now shrunken OS drive

Plug in your backup drive, be it an external drive or an internal drive. It must be bigger than the size of your shrunken original OS partition.

Head to the control panel and double-click the 'Backup and Restore' option.

On the left-hand side, select 'Create a system image'. During the backup wizard, it will ask where you want to store the new image -- select your backup drive.

Start the backup and then hurry up and wait -- this can take up to 15 minutes or more to complete.

Once it's finished, you’ll be asked if you want to create a system repair disc. If you don’t have your Windows 7 installation disc, select yes and it will guide you through the creation of a system repair disc. If you do have your Windows 7 installation disc, select no. Then shut down your PC.

Step 3: Install the new hard drive and restore from the image

We’re halfway there -- now it’s time to set up the new drive. Firstly, open your PC case and disconnect all of your drives except for the backup disk. Plug in your new SSD as described in our photo tutorial this week. After double-checking all your connections, boot up your system and insert the repair disc or Windows Install disc in your optical drive.

The computer should boot from the optical disc and at the first screen select the 'Repair your computer' option. Then select the 'Restore your computer using a system image that you created earlier' option from the next screen before clicking next.

On the next screen, select the 'Use the latest available system image (recommended)' option and then click next.

Now you need to double-check you’re not going to wipe any other drives, so click the 'Exclude disks' button.

You should only see one hard drive in the list -- if there are any more, make sure they’re selected with a tick mark otherwise they’ll be erased.

Click 'Next' and finally, 'Finish'. A warning sign will pop up, asking if you’re sure you want to continue -- select Yes.

If this process fails, it means your shrunken partition still wasn’t small enough, so you’ll need to go back to Step 1 and uninstall more applications before shrinking and mirroring the drive again.

If this process works, you’ll be prompted to restart your computer. Click 'Don’t restart', and then click 'Shutdown'.

Step 4: Final Steps

Plug all your other drives back in, but don't plug the original OS drive in at this point. If you want to use that drive, save it for later -- our priority now is to make sure the new drive is working.

Boot the PC up -- Windows should load from your SSD, though it may need a reboot once it's detected a new device in the SSD.

It’s time to go back into the Disk Management area. Go to the start menu, right-click 'Computer' and select 'Manage'. Once again, head into the same 'Disk Management' section on the left as you did in Step 1.

Right-click your new OS partition (again, usually called C:) and select 'Extend Volume', then click next.

Don’t adjust any of the default values -- Windows will automatically calculate exactly how far you can extend the partition to fill your new SSD. Click Next and then Finish, and your partition will be extended to fill the SSD.

Finally, we need to enter a single command via the command prompt in administrator mode. Go to 'Start > All programs > Accessories', then right-click 'Command Prompt' and run it as an administrator. Type this command at the command prompt:

winsat disk

This command makes Windows detect the new drive as an SSD and thus enable all the features unique to these drives. You’re now good to go!

Monday, August 27, 2012

Integrating XenDesktop 5.6 with VMWare VCenter 5 Certificate Error


I ran into this issue earlier today while configuring my first XenDesktop setup using VMWare.  To resolve this issue, you can do one of three things.

Option 1: Purchase an SSL certificate for your vCenter from a third party.

Option 2: Self-sign a certificate from your enterprise certificate authority.

Option 3: Trust the existing SSL certificate  This option is by far the quickest and easiest. To do that, you can follow these steps:
  1. If you are logged in as a local administrator, open Internet Explorer and navigate to https://YOURVCENTERSERVERNAME/
  2. If you are not logged in as local administrator, or a user with sufficient permissions, it is very important that you SHIFT & Right-Click Internet Explorer, and run it as an Administrator, then navigate to https://YOURVCENTERSERVERNAME/
  3. You will get a warning screen that the SSL Certificate is not trusted, select Continue to this web site (not recommended).
  4. Click the Certificate error in the Security Status bar and select View Certificate.
  5. Click Install Certificate.
  6. When the Certificate Import Wizard launches, select Place All Certificates in the following store and click Browse.
  7. When the Select Certificate Store window comes up, make sure you select the check box for Show physical stores.
  8. Find and expand Trusted People, select Local Computer and click OK.
  9. It is important to note that if you don't see the Local Computer option under trusted People, you are not logged in with a user that has sufficient rights, therefore, you must run Internet Explorer as an Administrator.
  10. Click Finish to complete the certificate import process
  11. Click OK when you receive the import successful window
  12. Close your browser, re-open it again, and browse to your vCenter server using the FQDN. The browser should now trust your vCenter server and therefore you should not receive a certificate error. That is how you can verify if the process was successful.  Make sure you test using the FQDN or it will not work.
  13. Repeat the above steps on the XenDesktop server as well.  That way both machines trust the self-signed certificate.
  14. Configure the hosting infrastructure settings on the XenDesktop 5 controller to point to https://vCenterServer.domain.com/sdk
That's it.  From there you can continue with your configuration.

Monday, August 20, 2012

Outlook 2010 "Could not Complete the Operation" when Forwarding Email

This issue is a result of the contact information being "misread" or "corrupted".

In Outlook 2010 there are a couple of way to work with this.

1. When you go to forward the message and the person's name automatically appears, simply hover the mouse over it and press DELETE.  This will remove it from the cache.   Now type in the address and the message will complete properly.

2. If you want to clear out all of your cache without trying to address them one at a time, then here are the steps:
  • Open Outlook 2010
  • Open File
  • Click Options
  • Click Mail
  • Select "Empty Autocomplete List"
 That will clear all of the cache items including tasks or appointments that could also be causing the issue.

Microsoft's first recommendation is to clear your Outlook profile and create another one which is sure work but is a bit overkill for such a small issue.

I'm sure the process is similar with other versions of Outlook but YMMV.

Good luck...

Sunday, August 12, 2012

Uninstalling Exchange 2003 during Exchange 2010 Migration

If you are getting the following error:

'The component "Microsoft Exchange Messaging and Collaboration Services" cannot be assigned the action "Remove" because: - One or more users currently use a mailbox store on this server.'

then the odds are good you have an item in AD that is still pointing to the old Exchange 2003 server.  Here's how you get rid of it.

Just open up ADUC, do a find, create a custom query and paste in the command you see below:

 












Then select VIEW, then choose Columns.

From there you can add in the extra values needed to find out which account is still showing old Exchange 2003 data.  Just add in both attributes with Exchange on them.  Redo the Find Now and you'll be able to sort them by server name to find out the offending accounts.

During my last SBS 2003 to SBS 2011 migration it turned out to be the SBSAdmin account that I had created during the migration steps.

Once these accounts are removed or corrected you can continue your uninstall of Exchange 2003.

Good luck!

Sunday, August 05, 2012

How to Load the Answer File on a SBS 2003 to SBS 2001 Physical to Virtual Migration

I just ran into this issue today during a migration.  Simply put how do I get an answer file into a new VM?  The process is simple.

1. Using another VM, add a floppy drive and select the option to create a new floppy image.
2. Boot the VM and once loaded open the floppy and format it.
3. Copy your SBS answer file to the newly created floppy.
4. Using the VMWare console remove the floppy from your running VM.
5. Once your new SBS 2011 VM gets to the point where you can choose either a new install or migration, select Migration.
6. At this point on the console click to add a floppy and then select your new floppy image from the datastore that contains the answer file.
7. From there continue your migration.

This is a quick easy step to allow your to get the migration answer file loaded without the need for any 3rd party applications or other issues.  It keeps the disc stored on the datastore with your other ISO files and is there for future use if needed.

Good luck with your migration.

**Update: Make sure you removed the virtual floppy image before your next VM restart**