Amazon EC2 supports creating Windows Server instances in the cloud; however, it does not currently support creating instances of the desktop versions of Windows, such as Windows 7.  Although using a server edition is acceptable for most uses of EC2, a desktop version of Windows may be preferable if end users will be interacting with the instance.   Even though it is not possible to use Windows 7 on EC2, it is possible to modify a Window Server instance such that, from a user’s perspective, it looks and feels like Windows 7.  In this post I describe the steps that I took to modify the look and feel of an Amazon EC2 Windows Server 2008 R2 instance.  Note that in this post I assume that you know how to create EC2 instances and that you are connecting to the instance via Remote Desktop on a Windows 7 machine.  As a disclaimer, I am basing these steps on those found in the following post (http://blogs.msdn.com/b/rds/archive/2009/06/23/aero-glass-remoting-in-windows-server-2008-r2.aspx).

You will first need to make some changes to the local Remote Desktop client before connecting to the EC2 instance:

  1. Set the color depth of the session to 32-bit. (Click the “Show Options” button, the “Display” tab, and then modify the color depth under “Colors”.)
  2. Enable “Desktop composition”. (Click on the “Experience” tab and select “Detect connection quality automatically” under “Performance”.  This will enable Desktop composition unless you are connecting to the internet through modem or low-speed broadband.)

After making these configuration changes you can log in to the EC2 instance and follow these instructions:

  1. Add the “Desktop Experience” feature.
    1. Start the Server Manager.
    2. Click “Features” on the left-hand side of the window and then click “Add Features”.
    3. Check the box next to “Desktop Experience”.  A pop-up will appear telling you that this feature requires other features to be installed as well.  Click “Add Required Features” to continue.
    4. Click “Next” and then “Install”.
    5. After installation completes the wizard will warn you that the server needs to be restarted in order for these changes to take effect.  Click on “You must restart this server to finish the installation process.” and then click “Yes” to restart the server.
    6. After the server finishes restarting and you re-connect via Remote Desktop, the installation will automatically complete.  Click “Close” to finish.
    7. Configure the Themes service to auto-start and then start this service.
      1. Start “Services”.
      2. Find the Themes service in the list, right-click it, and select “Properties”.
      3. Under “Startup type”, select “Automatic” and then click “Apply”.
      4. Click “Start” and then “OK” to start the service.
      5. Enable the “Allow desktop composition for remote desktop sessions” policy.
        1. Open the Local Group Policy Editor. (Click “Start -> Run” and type “gpedit.msc”.)
        2. Navigate to the following policy on the left-hand side of the window: “ComputerConfiguration\AdministrativeTemplates\WindowsComponents\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment”.
        3. On the right-hand side of the window, right-click “Allow desktop composition for remote desktop sessions” and select “Edit”.
        4. Click “Enabled”, “Apply”, and then “OK” to enable this policy.
        5. Add the Remote Desktop Services role.
          1. Start the Server Manager.
          2. Click “Roles” on the left-hand side of the window and then click “Add Roles”.
          3. Click “Next”.
          4. Check the box next to “Remote Desktop Services” and click “Next”.
          5. Read the informational text and click “Next”.
          6. Check the box next to “Remote Desktop Session Host” and click “Next”.
          7. Read the warning about some applications not working correctly in a multi-user environment and then click “Next”.
          8. Select “Require Network Level Authentication” and then click “Next”. (You may choose to not require authentication at this level, but this option is less secure.)
          9. When asked to specify a licensing mode, select “Configure later”.  This will give you 120 days to configure the licensing mode.  (Depending on how long you need the instance, you may never need to configure the licensing mode.)
          10. Select the users and user groups that should be allowed access to the server.  If the name of a user does not appear in the list, you can add it by clicking “Add”.
          11. Click “Next” on the “Configure Client Experience” screen and then click “Install”.
          12. After installation completes the wizard will warn you that the server needs to be restarted in order for these changes to take effect.  Click on “You must restart this server to finish the installation process.” and then click “Yes” to restart the server.
          13. After the server finishes restarting and you re-connect via Remote Desktop, the installation will automatically complete.  Click “Close” to finish.

You are now ready to make the server look like Windows 7.  Right-click on the Desktop, select “Personalize”, and then click “Windows 7” under “Aero Themes”.  Your server now appears like a Windows 7 machine.

Note that if you try to run a Microsoft Office program after making this change, you will receive an error telling you that you can only run the Volume License edition of Word on a computer running Terminal Services (the former name of Remote Desktop Services).  I was able to work around this problem by uninstalling the Remote Desktop Services role.  After doing this the look and feel of Windows 7 remained, yet I was able to use Office products.

Although the server looks and feels like Windows 7, it is still configured to operate like a server.  You may wish to enable or disable certain features to make the server more like a desktop version of Windows.  However, if you are only interested in the user’s visual experience, then you are done.

Leave a comment

Your email address will not be published. Required fields are marked *

X