Server Manager for Windows Server Core 2008 R2

April 25th, 2010 by rlaager

After much searching and a couple of failed attempts, I finally found the instructions for configuring Windows Server Core 2008 R2 so that it will accept remote connections. Visit http://technet.microsoft.com/en-us/library/dd759202.aspx and search the page for the “To configure remote management on the Server Core installation option of Windows Server 2008 R2” section. Alternatively, I’ve reproduced the steps here. Read the rest of this entry »

Posted in Windows | No Comments »

apt-get on Windows Server Core…sort of

April 25th, 2010 by rlaager

I did my first install of Windows 2008 R2* Server Core for testing purposes. It’s pretty interesting for a Linux guy like me. Without the GUI, it’s a lot lighter weight than regular Windows Server. I found Greg Shields’s Beginners Guide to Server Core in Windows Server 2008 very helpful.

That article covered setting up automatic Windows Updates. However, I don’t like automatic updating on servers. I prefer to the have the servers download the updates so applying them is quick, but I want a person to actually click the button to install them. This way, they can test after the updates and if something does break, we know that someone changed something. There’s not much worse than something breaking out-of-the-blue when it was running fine. Now, problems from Windows Updates are extremely rare, but not impossible.

My web searching yielded several references to the WUA_SearchDownloadInstall.vbs script. I tested it out and initially had some trouble because I forgot to run it under cscript, even though that’s clear from the instructions. So I decided to wrap it with a batch file. Being an Ubuntu guy, I decided to call it apt-get. Then I decided to actually implement the basic apt-get calling convention (apt-get update ; apt-get dist-upgrade) my colleagues and I are used to. (In truth, being Ubuntu users, it’s “sudo apt-get …”.)

So I present to the world my little apt-get.bat script. Drop it (and the aforementioned WUA_SearchDownloadInstall.vbs script) into C:\Windows\System32 and you’re set.

* I really wish Windows Server 2008 R2 was called Windows 2009 Server**. The “R2” naming is really annoying as people tend to treat them like they’re basically the same, which they aren’t.
** That’s not true. I really wish it was called Windows 7 Server.

Update 2010-05-04: I modified the apt-get.bat script to set the Windows Update service to only run on demand and stop it after an upgrade (or dist-upgrade).

Posted in Windows | 1 Comment »

Windows Paravirtual (virtio) Drivers

April 25th, 2010 by rlaager

After a whole lot of struggling, I’ve finally figured out the best way to install a Windows virtual machine under KVM, using the paravirtual (virtio) drivers. The basic idea is to use the virtio devices from the initial installation to avoid all the work and hassles involved with changing the drivers later. This avoids mistakes which can lead to an unbootable guest or “Local Area Connection 2” annoyances.

Thanks to Stefan Skotte and Andy for updates to simplify this procedure.

  1. Download the latest virtio drivers (in ISO format).
  2. Create a new virtual machine as you normally would for a Windows guest, stopping just before clicking Finish.
  3. If you have a new enough version of virt-manager, you can check the “Customize configuration before install” checkbox. Otherwise, click Finish, stop the virtual machine, open the details, reconnect the CD (or other installation media) if necessary, and reconfigure the guest to boot off the CD (or other installation media).
  4. Delete the IDE disk device and re-add the storage as a Virtio disk.
  5. Change the NIC’s device model to virtio.
  6. Switch to the console view, run the virtual machine, and start the installation as normal.
  7. When the disk configuration step comes up, no disk will be detected. This is normal.
  8. Click Load driver…
  9. Switch to the details view, disconnect the Windows installation CD, and connect the virtio ISO image.
  10. Switch back to the console view and click Rescan.
  11. Select the virtio block storage and virtio network drivers for the Windows version being installed, using the control key to select multiple items as always.
  12. Click Next.
  13. Switch to the details view, disconnect the drivers CD, and connect the Windows installation CD again.
  14. Proceed with the installation as normal.
  15. Reconfigure the boot options, if necessary, as desired.
  16. Disconnect the CD device, if necessary and desired.

Posted in Open Source, Windows | 7 Comments »

Ubuntu Window Buttons

April 6th, 2010 by rlaager

So Ubuntu Lucid is changing the window title bar button placement. I’m not sure why…other than Mark Shuttleworth seems to love copying Apple. 😉A colleague pointed out Mark Shuttleworth’s Window indicators post as the reason for this change.

However, this change made me realize one thing… I never use the menu from the title bar. I use it on the task bar a lot (for “Close”, “Always On Top”, “Move to Another Workspace”, and “Always on Visible Workspace”, in that order of frequency), but not from the title bar. This is a random observation, nothing more.

Posted in Open Source | No Comments »