Posts
  • The Sean Blog

    Ubuntu Edgy Eft (6.10) in Virtual PC 2007

    • 5 Comments

    I have been using Virtual PC 2007 for the last few months as it worked its way through Beta, and have been pleasantly surprised by the performance of Windows Vista in a virtual environment (following the performance tips I previously outlined here: http://blogs.technet.com/seanearp/archive/2007/02/20/virtual-pc-2007-released.aspx).

    I enjoy living on the cutting edge, however, and now that Virtual PC 2007 has been released, and is quite stable, I figured that it was time to move back into unsupported territory.

    My venture tonight involved installing Ubuntu Linux onto Virtual PC 2007. I have heard quite a bit about it on the interweb over the last few months, and thought I would take it for a test drive. As my test box is currently running Windows Home Server, I downloaded the Ubuntu ISO and fired up Virtual PC. Although the initial boot screen looked fine, the video rapidly changed into complete garbage once I hit the install screen (you can take a look at a screenshot here if you are interested). I tried rebooting into safe VGA mode, but the same problem persisted. It turns out that the default X11/x.org configuration for Ubuntu is 24 bit color (fine for physical hardware, but not so great for an emulated S3 Trio 4MB video card).

    The Ubuntu community page lists instructions for configuring Ubuntu to work on Virtual PC 2004 here, but the instructions have not yet been updated for Virtual PC 2007.

    From the ZDNet blog posting earlier, I found the solution to the problem:

    Step 1: Boot Live CD, press F6 (Other Options)
    Step 2: Go near the end of the line and remove the word splash, then press Enter.
    Step 3: After Ubuntu 6.10 boots, Press Crtl-Alt-F1 to get to a command line interface.
    Step 4: Type in the following command to reset defaultdepth from 24 to 16:

    sudo sed -e 's/DefaultDepth.*24/DefaultDepth 16/g' -i /etc/X11/xorg.conf

    Step 5: Press Ctrl-Alt-F7 to return to the Ubunto Desktop.
    Step 6: Press Ctrl-Alt-Backspace to reload the Ubunto Desktop.
    Step 7: Graphics should be adjusted, and now you can perform an installation under VPC.

    After following those steps, Ubuntu installed with no problems, and seems to work just fine. Those steps, however, remind me why I would still hesitate to hand a Linux CD to my dad and expect him to complete an install with no assistance. Windows still has the edge in the "It Just Works" category.

    The interface of Ubuntu earns a "meh" from me. I happen to be a fan of eye candy, an area in which Ubuntu is lacking. After the initial reboot, Ubuntu informed me that I had a mere 138 software updates to install. Wow… 30 minutes later, the updates completed successfully, and I was set to go. I was unsuccessful in connecting to my server with RDP or to the file share, but to be honest, I did not put a lot of effort into it.

    Alright… on Linux distro down, a couple more to go. This is by no means an officially supported Linux Distribution within Virtual PC, and the above is just my personal experience. The officially supported distributions are listed here: http://support.microsoft.com/kb/917437/en-us (at present, Red Hat and Suse distributions). Per Mike Neil (Virtualization GM), expanded Linux Guest support is on the way: http://searchopensource.techtarget.com/originalContent/0,289142,sid39_gci1243601,00.html. Although the official Microsoft Virtualization Blog hasn't been updated since mid-last year, I would have to imagine that it will be updated over the upcoming months as Virtual Server 2005 R2 SP1 nears release and Windows Server Virtualization reaches beta. Keep tuned!

     Quick Update:  I found a blog that has a nice step-by-step for installing Ubuntu in Virtual PC 2007, complete with screenshots.  He has a slightly different way of editing the xorg.conf file, but it's not Linux if something can't be done at least 7 different ways ;)

    http://arcanecode.wordpress.com/2007/02/26/installing-ubuntu-610-on-virtual-pc-2007-step-by-step/

  • The Sean Blog

    Computer Forensics according to Microsoft

    • 0 Comments

    As an IT Professional, have you ever been tasked with setting up a new process or technology at your company?  Didn't have a clue where to start?  Sure... you may have read a book on the topic a year ago, and have a general idea as to how it works, but unless you have already been involved in a setup or migration or implementation at a previous company, you have a lot of research ahead of you.  Unless you are working at a Fortune 100 company, it is highly likely that you are an IT Generalist, which makes it impossible to know everything about every technology that you support.  That doesn't stop management from expecting you to be an expert in Exchange, SQL Server, SharePoint, Content Management, Risk Management, Deployment...

    With that in mind, Microsoft has an incredible (and free!) resource available from the TechNet Solution Accelerators team: http://www.microsoft.com/technet/solutionaccelerators/default.mspx

    The Solution Accelerators contain end-to-end guidance on processes, tools, team composition, and best practices for nearly every rollout or IT project that you may be tasked with.  Some of the better known Solution accelerators include the Business Desktop Deployment Solution Accelerator and the Microsoft Shared Computer Toolkit for Windows XP, but there are some real gems that address nearly every project you face.

    I just came across one of the guides that was published in January that piqued my interest:  Fundamental Computer Investigation Guide for Windows. You'll find industry best practices and tools to help you conduct a computer investigation—using methods that will stand up in a court of law.  Using many of the tools that we acquired from SysInternals, you will learn how to analyze a computer (both remotely and locally) to complete an internal investigation on malfeasance that may have been carried out within your company.  It's actually a very interesting read (covering everything from acquiring the data, to analyzing it, to reporting on your findings to management).  It finishes up with an applied example at Woodgrove Bank that turns the conceptual theory into actionable practice.  Head on over!: http://www.microsoft.com/technet/security/guidance/disasterrecovery/computer_investigation/default.mspx

     

  • The Sean Blog

    Daylight Savings Time at Microsoft

    • 1 Comments

    I just saw the following come through my email, and thought that I would share (as I don't see anything already posted about this…)

    In last couple of weeks, the Exchange team has been getting increased call volume around Error 0x80004005 (DST). Some of the following are known causes for the issue, which might reduce turnaround time of resolution with your customer.

     Error 0x80004005

    Currently identified causes:

    * The tool was not able to find any time zone values in the mailbox of the specific users.  To resolve this, try adding ReadCalendarTimeZones=1 to the MsExTmz.ini file to force the tool to examine recurring calendar items for time zone information.  You can create a new input file by using the DNs from the error log you received from the last run.

     * Unable to process mailbox /O=CONTOSO/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=TESTMB01 - 0x80004005:  Carefully review the legacyExchangeDN and make any corrections as necessary.  Using ADSIEdit to copy/paste the value can ensure accuracy.

     * You are referencing tzmove.exe from the wrong directory.  Either extract the downloaded install into the folder where MsExTmz resides or update the MsExTmz.ini to include a full path to where tzmove.exe is installed on the workstation you are using. 

    NOTE:  When you download the Time Zone Data Update Tool for Microsoft Office Outlook, the tzmove.exe file is the installer for the actual tool.  Referencing the installer will result in errors when you run MsExTmz.

     * The account you are using to run MsExTmz does not have full mailbox permissions and has not been delegated the proper Exchange permissions.  To resolve this, run the "Grant Mailbox Permission" script from an Exchange Server computer.

    Daylight Saving Time Open Q & A Sessions

    Microsoft product and engineering experts will be on hand to take customer and partner questions online and live during the session.

    Future External Customer Web Casts/Live Meetings are also posted at http://support.microsoft.com/gp/dst_webcasts

    Additional Resources:

  • The Sean Blog

    The Virtualization Pipeline

    • 0 Comments

    In a previous post, I alluded to the fact that there were some awesome things in the pipeline in regards to Virtualization coming from Microsoft. One of the folks on the Longhorn product team has recorded a demo of virtualization in Longhorn, and I think you'll like what you see!

     In this demo you will see:

    • Windows Server Virtualization running on a Server Core installation managed remotely from another Windows Server Longhorn box
    • 64-bit and 32-bit virtual machines running concurrently
    • SUSE Linux 10 running in a virtual machine
    • An 8-core virtual machine
    • System Center Virtual Machine Manager
      • Interface and Operations
    • System Center Operations Manager
      • Monitoring the VMs on the Server Core box
      • Fire off a PowerShell script to hot-add another NIC to a SQL VHD Image


    Video: Longhorn - Windows Server Virtualization.

    Update: A much higher quality version of this demo has been uploaded to the Windows Server Longhorn site.  Direct link to video here.

  • The Sean Blog

    Virtual PC 2007 Released!

    • 10 Comments

    Great news!

    Virtual PC 2007 has been finalized and been released to the web for download today.  You can read more about Virtual PC 2007 (and download it), from the new (and great looking!) Virtual PC website: http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx.

    Features of Virtual PC 2007:

    • Support for x64 Windows as a host operating system
    • Support for hardware virtualization support
    • Support for Windows Vista as a guest and host operating system 
    • Support for sound devices within a Windows Vista Guest operating system
    • Support for PXE network booting of virtual machines
    • Support for the use of fullscreen virtual machines on multi-monitor systems (VM still stays on just one monitor though)
    • Free. (Can't beat that!)

    The Technical Overview White Paper is available, (you will need an XPS Viewer) if you want to read more about the inner workings and changes with Virtual PC 2007.

    So can I run Exchange 2007 in a Virtual PC Environment then? Unfortunately, once people see "x64" support in the feature list, they stop reading at that point, and miss the note that x64 versions of Windows are supported as the HOST. Not the guest… There is a 32 bit version of Exchange available for testing purposes, but it is not supported in production. A pre-configured VPC of Exchange 2007 is available here, and it works great within VPC 2007. (You will receive a message that the hardware standard isn't recognized, but it will then boot up and run just fine…)

    Support for 64 bit GUEST operating systems will come with Windows Server Virtualization within 180 days of the release of Longhorn. There are some AWESOME capabilities that will be introduced with WSV and System Center Virtual Machine Manager that should keep our friends at VMWare busy for a while. I'll try to post some more information once I take the time to figure out what is public and what is not ;)

    While you're at it, Virtual PC Images of the following applications are available (perfect for testing them out, working on a certification, or to build another skill set to add to your resume)

    Now, in order to set this post aside from some of the other "Virtual PC 2007 has been released!" postings, I thought I would share some best practices relating to the usage of Virtual PC that I have picked up from doing demos over the last year or so (as well as from an internal demo optimization doc that made its way into my inbox a few months ago):

    1. I'll start with the obvious… the more RAM the better. You need to have enough RAM to run your host operating system, your guest operating system(s), plus an additional 32MB of overhead for each guest OS that you will be running. From my personal experience, 2GB of RAM is a good starting point.
    2. A CLOSE second to RAM is your hard drive configuration. If you are running your Host OS and Virtual machines from the same hard drive, you are in for a painful experience. For good performance you will want to move the .vhd files off to the fastest secondary hard drive possible. For a secondary internal hard drive, SATA or SCSI is ideal, and for an external HD, pick up an eSATA drive. This advice is even more important if your computer is a laptop, as they often have slow 4200 RPM hard drives that will struggle with the concurrent I/O load.
    3. If your Antivirus allows you to exclude files or directories from realtime scans, exclude the directory that holds your images (and/or exclude the following extentions: .vhd .vud .vsv .vfd .vmc)
    4. Keep the host computer hard drives defragmented.
    5. The smaller (or less fragmented) the VHD files the faster. Steps to shrink/defragment:
      1. In the VM run defrag (a couple of times). It might take a while (up to hours) but it is worth waiting for
      2. Run the VM precompactor – this is an ISO image. Just attach it to the VM . The precompactor will zero all the unneeded space in the VHD
        1. Load the 'Virtual Disk Pre-Compactor.iso' from the Virtual Machine Additions Directory
        2. Answer 'Yes' to start the zeroing
        3. Shutdown the VPC when done
        4. Use Virtual PC Disk Wizard to edit and compact the pre-compacted .vhd
    6. Use a processor with Virtualization Technology (Intel Page, AMD Page). This is any reasonably recent processor. This will greatly speed up the OS boot time, OS installation time, and performance in non-Windows operating systems (as well as Windows installations that to not have the Virtual PC Additions loaded). On guest Windows installations that have the Virtual PC Additions loaded, performance is significantly enhanced), which brings us to:
    7. Load the Virtual PC Additions. These are included with Virtual PC, and will need to be loaded in the Guest operating system. This will load up drivers for the virtualized hardware, allow for folder sharing (with the host OS), drag-and-drop functionality (from the host OS), synchronize time with the host OS, and generally turn on "Teh Snappy"
    8. Start up Virtual PC with the following option (Best way is to create a shortcut on your desktop): -usehostdiskcache From the command line reference:

      Turns on host-side disk caching, which can improve performance of virtual machines running operating systems other than Windows. This parameter can be useful for resolving poor performance problems with disk intensive tasks. This parameter can be used only when starting Virtual PC.

    9. Do NOT use the /3GB switch on your Host machine. That switch increases the user memory space at the expense of Kernel space. Virtual machines use more kernel memory than user memory – so enabling this switch on the host will decrease the amount of virtual machines that you can launch
    10. I'll leave you with a tip that would seem to defy logic (and which I have not tried myself), but the word on the street is that you can increase performance by enabling NTFS compression on the directory that holds your Virtual PC image files (.vmc, .vud and .vhd). It seems that writing a big chunk to disk is slower than first compressing the chunk and then write it to disk.

    I'll finish with some links to useful Virtualization reading:

    Virtual PC Guy's WebLog
    Tips to speed up Virtual PC for Microsoft CRM
    Virtual Server Community

    Post any virtualization questions (relating to Microsoft virtualization solutions) in the comments, and I'll answer to the best of my ability! I am really excited about both what we have as well as what is coming, and I'd love to answer any questions in the tech community at large.

  • The Sean Blog

    Vista/Office Deployment Day

    • 0 Comments

    My team just gave two successful all-day sessions to Gold Partners on the tools and best practices for Deploying Vista and Office, and I wanted to share with everyone a collection of useful links relating to the tools we covered:

    Microsoft Deployment Guidance

    http://www.microsoft.com/technet/desktopdeployment/default.mspx

    Windows Vista Deployment Enhancements
    Windows Vista Deployment Step by Step Guide
    Windows Vista Migration Step-by-Step Guide
    Windows Deployment Services Update Step-by-Step Guide

    Business Desktop Deployment 2007 (BDD)

    http://www.microsoft.com/technet/desktopdeployment/bdd/2007/default.mspx

    User State Migration Tool

    USMT Download link
    USMT Resource Kit
    USMT documentation
    What is new in USMT 3.0
    What does USMT3.0 migrate?

    Windows PE
    Windows PE 2.0 for Windows Vista Overview
    TechNet: Getting Ready for Windows PE 2.0
    How to create a custom startup WinPE CD-ROM in Windows XP
    Microsoft Windows Preinstallation Environment (WinPE) for System Builders
    Windows Preinstallation at Windows Hardware Development Central (WHDC)          

    ImageX and System Image Manager (SIM)

    ImageX and WIM image format
    System Image Manager
    Windows SIM Technical Reference
    Windows Automated Installation Kit
    Imaging and Desktop Engineering

    Office 2007

    Microsoft Office Ultimate 2007 Product Guide
    Microsoft Office Compatibility Pack for 2007 File Formats

    2007 Microsoft Office Add-in: Microsoft Save as PDF  
    2007 Microsoft Office Add-in: Microsoft Save as XPS  

    Windows Deployment Services (WDS)

    Microsoft Windows Deployment Services
    Windows Vista Deployment Enhancements
    MSDN WDS Library
    Windows Deployment Services Update Step-by-Step Guide

                     

  • The Sean Blog

    Comparing Column Values in T-SQL

    • 1 Comments

    Okay… so here's the scenario. I have two different tables in a SQL Database, where I need to compare both tables, and find all values in Table B that do not exist in Table A. There are two ways to do this. One with a JOIN, and one with a "NOT EXISTS" Clause:

     

    Method 1:

     

    SELECT b.[ColumnName]

        FROM DBName.dbo.tblB b

        LEFT OUTER JOIN DBName.dbo.tblA a

        ON b.[ColumnName] = a.[ColumnName]

        WHERE a.[ColumnName] IS NULL

        GROUP BY b.[ColumnName];


    Method 2:

     

    SELECT b.[ColumnName]

        FROM DBName.dbo.tblB b

        WHERE NOT EXISTS

        (

            SELECT *

                FROM DBName.dbo.tblA

                WHERE a.[ColumnName] = b.[ColumnName]

        )

        GROUP BY b.[ColumnName];

     

    I hope this helps someone! My malformed queries have been driving me nuts all week…

  • The Sean Blog

    LiveMeeting Best Practices

    • 1 Comments

    As part of my role here at Microsoft, I spend a significant amount of time in LiveMeeting doing presentations to Gold Partners. Sometimes it is a small meeting with only a few attendees, and sometimes the meetings involve hundreds of Partners at a time. LiveMeeting scales very well for both scenarios, and the experience on both sides (presenter and attendee) is usually quite nice. The audio portion of the session can be conducted via an audio conferencing bridge, or via "Internet Audio Broadcasting" where LiveMeeting dials into the Phone Bridge and then broadcasts the audio to attendees so that they can listen with their computer speakers. This is really the preferred method once you have a large number of attendees, as you will INVARIABLY have several folks that don't remember to keep their phone on mute (or that puts the entire conference on hold), which really ruins the experience for all involved. With that in mind, the following are some Best Practices that I use when preparing for and giving my presentations:

    1. Use PowerPoint 2007. I enjoy speaking to Partners on the phone, but have NO graphical/artistry/design skills at all. PowerPoint 2007 can make some INCREDIBLY sharp presentations that look absolutely unbelievable.
    2. Install LiveMeeting 2005 Service Pack 7. SP7 adds compatibility for Windows Vista and Office 2007, and as I mentioned before: Once you have used PowerPoint 2007, there is no going back!
    3. Ask your attendees to visit the LiveMeeting Configuration Test Page before your session begins. If not, then be prepared to start 5 or 10 minutes late as everyone fumbles through loading the client on their machine.
    4. Log into LiveMeeting at least 30 minutes ahead of the session, and have a co-worker login as well and verify that the audio is working correctly. There is nothing more embarrassing than to have 200 people log onto your session and the audio is not working because you mistyped a phone number somewhere. I cannot tell you how many times I have worked with new presenters that are pulling their hair out while the Question Manager fills up with "Has the session started yet? I can't hear you!"
    5. Unless you are super comfortable with the topic, have a knowledgeable SME to answer questions asked during your presentation via the question manager. No matter how much of an expert you are, you will receive questions that will throw you off track. If you have someone to give answers (or a "we'll get back to you"), you will be able to focus on the presentation itself.
    6. That having been said, keep an eye on the Question Manager, and if a pertinent question comes in that aligns with where you are in the presentation, address it at that point. That adds an aspect of interactivity that the participants enjoy.
    7. Be excited about the topic and share that excitement on the phone. Just as the camera adds 10 pounds, a conference call with 200 people can make you sound tired and uninterested, so add a little more excitement to your voice than you might otherwise.
    8. Practice. Practice. Practice. Practice. Practice.
    9. If you have multiple presenters, lock control over the presentation. It is tempting to click through slides when you are on deck to present, and there is nothing more disorienting for the current presenter than to have the slide deck gain a life of its own in the middle of a presentation.
    10. Hit the mute button on your phone while you are not presenting. Personal noises or gossipy co-workers do not make for a good presentation (although it may be a memorable one!)
    11. TURN OFF YOUR IM CLIENT AND OUTLOOK WHILE PRESENTING. Especially if you are sharing your display… There is nothing more embarrassing than to have an email reminder pop up in the middle of your presentation that says "We have received your resume and look forward to interviewing you." That can lead to what I like to refer to as a "Resume Updating Event." Outlook 2007 and Windows Vista actually realize when you are presenting and automatically suppress these alerts.
    12. Record yourself in a session and listen to the LiveMeeting Replay. Something that sounded good in your head may not sound so good when you are listening to yourself. You will also find areas of the presentation that should be sped up, and areas of the presentation where you can spend more time.
    13. Add personal notes of experience throughout the presentation. Reading the slides does not provide any value to the attendee (as they are very capable of reading themselves, thank you very much!). If you are short on personal experience, spend time on blogs and newsgroups pertinent to the topic, so that you can share some best practice knowledge that will be of use to the attendee.
    14. Practice some more.
    15. Print out your speaker notes. You cannot see them while presenting in LiveMeeting, and you want to make sure you cover the important bullet points/background. Do NOT write out your notes verbatim, but have bullet points for the general points you want to make.
    16. Have some co-workers sit through a dry-run, and choose people that are willing to give honest feedback. Have some co-workers that know nothing about the topic at all, as well as some Subject Matter Experts that can let you know if you are misstating information.
    17. OWN YOUR CONTENT!!! Even if you are presenting someone else's deck, take the time to personalize it to your presentation style. Make sure that you are telling a cohesive story, and that the deck follows your speech. Don't make your speech fit a deck that you are uncomfortable/unfamiliar with.
    18. Keep several glasses of water handy, but keep in mind that water intake will eventually equal water output, and plan accordingly.
    19. Don't use the speakerphone to present to 200 people via LiveMeeting. Seriously. (I wouldn't bring it up if I hadn't seen it).
      1. Have 10 slides
      2. Last no more than 20 minutes
      3. Contain no font smaller than 30 points.

      You will of course have to modify the above rule to fit your specific scenario, but do not enter the trap of giving a presentation with 100 slides and 16 point font. It will put your audience to sleep and force you to read from your slides, which is the cardinal sin of presenting!

    20. Leave time for questions
    21. SMILE, be enthusiastic and relax – the audience can hear it when you do J

     

     

  • The Sean Blog

    The Obligatory First Post

    • 0 Comments

    Alright- I have the Technet Blog account setup, and the "New Blog" window open in Word 2007. This initial post will be to make sure that everything is working as expected.

    A little bit about myself and what I hope to cover on this blog…

    I am a Technical Service Coordinator on the Gold Certified Partner team, where I work with Gold Certified Partners in an advisory capacity. As I serve in a technical generalist role, I have the fortune of coming across technical issues (and solutions) on a wide variety of topics. I intend to post the various useful tidbits that I come across, and hopefully they can expand the sea of knowledge on the internet! My interests include Network Security, as well as playing with the latest and greatest technologies (which is why Microsoft is the greatest place in the world to work!).

    I'll keep the first posting short, and my next posting will contain some useful information relating to best practices for presenting via Live Meeting.

    -Sean

Page 20 of 20 (484 items) «1617181920