Saturday, 3 October 2009

Windows 7 Feature #3 – Small Memory Footprint

Windows Vista was a dog, but it never so obvious until it was compared side by side to Windows 7. Vista was slow and a memory hog. Microsoft has done lot of work on getting Windows 7 right and it was obvious right from the beta.

imageMy scenario is a common case. My main laptop, a ThinkPad T60, Core 2 Duo, 2gb, is fairly a fairly new computer in the Vista lifecycle.

On this computer, a fresh install of Windows Vista would use approx 1.5gb of RAM after booting up.

A fresh install of Windows 7 (beta) would only take 640mb. Huge Improvement, that can be seen in almost all aspects of computer use.

Friday, 2 October 2009

Setup PowerShell/.NET on Server Core

I had a bit of a whinge when Windows 2008 Server Core was released due to its lack of .NET support. Which also meant a server core couldn’t support ASP.NET or even PowerShell. Espically when you could run TOMCAT on server core.

Fast forward to 2008 (R2) :) and .NET is now supported.

After doing a basic install of Windows Server Core 2008 R2, you are presented with a command prompt, to install ASP.NET you can install using the following

dism /online /enable-feature /featurename:NetFx2-ServerCore /featurename:NetFx3-ServerCore /featurename:MicrosoftWindowsPowerShell /featurename:IIS-WebServerRole /featurename:IIS-WebServer /featurename:IIS-ASPNET /featurename:IIS-WebServerManagementTools /featurename:IIS-ManagementScriptingTools /featurename:IIS-ManagementService /featurename:IIS-IIS6ManagementCompatibility /featurename:IIS-Metabase /featurename:IIS-WMICompatibility /featurename:IIS-LegacyScripts /featurename:Microsoft-Windows-Web-Services-for-Management-IIS-Extension

To install PowerShell and .NET you need to run the following commands (they are case sensitive)

dism /online /enable-feature:NetFx2-ServerCore
dism /online /enable-feature:MicrosoftWindowsPowerShell

If you need 32bit support (because 2008 R2 is 64bit only) you need to add the following features

dism /online /enable-feature:NetFx2-ServerCore-WOW64
dism /online /enable-feature:MicrosoftWindowsPowerShell-WOW64

Don’t forget to install all the wonderful .NET features, such as LINQ and WCF

dism /online /enable-feature:NetFx3-ServerCore

I’ll do another post shortly on how to do remote access to your Server Core shortly, because you don’t really need a monitor connected to a command prompt anymore.

Windows 7 Feature #2 – UI Refresh

Lets get the easy bits over and done with quick. Windows 7 UI refresh is the most obvious feature users will notice. the 

imageThe new Task Bar stacks applications windows, this together cleans things up a lot, especially for me, where I’m know for having over 30 windows open at once. Hovering your mouse over the application icons preview window which is really good for finding *that* Internet Explorer tab you have lost.

image

Clean System Tray, I think every 2nd app in past 10 years had decided that putting itself in the system tray was a good idea. Printer/Wireless/Aircard status watches, IM client and even my Notepad program has tray icon. Which meant that the system tray usually was almost up to the start menu. Microsoft has cleaned the start menu, given *us* the user, control of the tray back… And it just works. :)

Start Menu, okay this came from Vista, but it doesn’t mean its bad. Searching for anything in the start menu is just awesome. Being able to press the Windows Key and type “Word” Enter. Is so much easier than trying to find Word in the in the XP Start menu.

imageThemes make customising Windows so easy. This basically brings all the UI customization features of XP/Vista into one nice screen while adding the ability to download or share themes with the social. One cool new feature of themes is the ability to have a slide show as your background, where Windows automatically cycles your background from a collection of images. The best part is that collection can be an RSS feed.

Aero Shake is a cool feature that I should mention, while dragging/moving a window Shake it from side to side to minimize all other windows. It doesn’t meant much until use it for the first time.

Other features in Windows 7 such as Aero Glass, Peek, Switch are nice additions, but they don't mean much to me as i don't really use them.