Category Archives: windows

Visual Studio 2010 to launch March 22 with Azure, Team Foundation Server for all

Microsoft has announced more details about Visual Studio 2010 and .NET Framework 4.0. Beta 2 of both products is available round about now, at least for MSDN subscribers, while thee are a few interesting packaging changes:

  • No more roles – there will be three paid-for versions of Visual Studio, Professional, Premium and Ultimate. I’ve been told that Premium will be pretty much the current Development and Database editions combined, while Ultimate has everything.
  • Team Foundation Server comes with every version, meaning that all Visual Studio developers will be able to use it if they choose. General Manager Jason Zander has the details of TFS Basic, which can even run on the client machine.
  • There will be a number of Azure hours bundled with each edition, so that developers can get started with Microsoft’s cloud platform without further payment. For example, Visual Studio 2010 Premium will come with 750 Azure hours initially, though this will supposedly reduce to 100 hours at a later date.

Visual Studio 2010 includes a new editor based on WPF, and users have complained of performance problems. Apparently this has been addressed, though now that beta 2 is out we will soon discover for sure.

I’ve also learned that the price of Visual Studio is increasing, by around 9%. To soften the blow, Microsoft has a special offer for those with current MSDN subscriptions when Visual Studio 2010 is released. These subscribers will get an automatic upgrade, not only to the equivalent 2010 edition, but to the one above. Thus, Professional subscribers will get Premium, and Team System subscribers will get Ultimate.

There is also an MSDN redesign, though it looks minor to me, and the most important section, the reference library, seems little changed. There is a ton of useful material on MSDN, but I still find Microsoft’s plethora of development and technical sites confusing to navigate, especially with specialist sites like Silverlight.Net offering overlapping content.

Ars technica has a handy product matrix.

Why Outlook rules copy a message when you asked for it to be moved

Ever wished computers had a “do what I mean” button?

Here’s a case in point. I use Outlook/Exchange rules to sort email into subfolders. I set up a new rule, and was annoyed to find that while messages were correctly being moved into the selected folder, they were not being deleted from the source folder. In other words, I’d asked for move but I was getting copy.

Bug in Outlook/Exchange rules? I don’t entirely trust them; but on this occasion it was my fault. The problem: these messages also matched another rule, which moved them to a different subfolder – the one, in fact, that I was treating as the “source folder”. When confronted with two rules that both move a message, Exchange makes a copy. Whether that is the right behaviour is arguable, but it is not a bug.

Here’s the solution. In the Actions for the rule, also check the option to “Stop processing more rules”.

Problem solved.

Technorati Tags: ,

Hands On with Microsoft Security Essentials – terrible name, but product looks good

Microsoft has released its free Security Essentials software, antivirus and antispyware protection aimed at home users. It runs on XP 32-bit, or Vista or Windows 7 32-bit or 64-bit, the only technical restriction being that Windows must validate as “genuine”.  Businesses are meant to use Forefront Client Security, though “home-based small businesses” are specifically permitted in the license agreement. I installed it on my Windows 7 64-bit desktop PC.

Installation was smooth, guided by a simple wizard with a castle logo:

The trickiest moment comes when the installer recommends that you “remove other antivirus and antispyware programs”:

I am glad that Microsoft is confronting this issue, since running multiple antivirus applications is terrible for performance. It does make the point that this free software will not be good for competitors at this end of the market. The other issue is that removing other security software will probably mean a reboot as well as passing one or more dialogs pleading with you to reconsider. Do this before running the installer.

Once done, Security Essentials – a terrible, unmemorable, tongue-twisting name – announces that your computer is at risk while it goes off and downloads updates:

When the update completes, it does a quick scan, which took around 30 minutes on my machine. I let this complete – nothing was found – and then had a poke around the tabs and settings.

The user interface is nicely designed and there isn’t much to see. Be default Security Essentials will scan your PC once a week on Sunday night. You can specify quick or full scans. The software also monitors all file activity looking for malware. I get the impression that Microsoft has tried to make Security Essentials as unobtrusive as possible, which is most welcome.

One thing that did annoy me is the settings for recommended actions:

In patronising style, Microsoft offers “Recommended action” as the default when malware is detected, but does not tell you what that action is. It is explained here – for severe or high alerts, it attempts to remove the malware, while for medium or low alerts it quarantines it. However, it does seem to ask first, which is important in the case of false positives.

I couldn’t find any way of setting the frequency of updates, which surprised me.

I gave Security Essentials an easy test by downloading eicar, a harmless file which for testing antivirus software. Security Essentials sprang into life:

I clicked Show details and got another red dialog offering to perform the recommended action, which was Remove. Another click, and it claimed to have done it, with the dialog turning a reassuring shade of green.

Is it any good? That’s a tough one. I don’t have high expectations of any security software based on scanning for known malware. Such software tends to fail when new viruses appear, as they do constantly. Another problem is that the bad guys can run the same security software as you, and design their malware to avoid its effects. In general, it is obvious that antivirus software has failed to prevent the spread of malware. I rate other things as more important, such as keeping systems up-to-date with patches and observing best practice concerning what you allow to execute. Unfortunately clever social engineering can often defeat good intentions.

Still, if you consider antivirus software a necessary evil, this one impresses by being nicely designed and mostly staying out of the way. If you are looking for the highest detection rates, you will have to wait for statistical analyses to be done. I am sure the commercial security companies will be quick to report on failures.

Personally I’m delighted that users can now get the Windows security center (Action Center in Windows 7) to stop bugging them without installing third-party software. Another advantage is that the software won’t stop updating when the user fails to subscribe or renew. Microsoft has plenty of incentive to get this one right, and to deliver something at least as good as the competition without slugging performance or annoying the user with advertisements and/or  constant exhortations to upgrade. I think it is worth a try.

Intel gets into the App Store game – but where does Silverlight fit in?

Intel has announced its Atom Developer Program including a new app store. The idea is to encourage a flow of applications that are well suited to netbooks, rather than general desktop applications that tend to get pressed into service because they are there, but may not be well suited to the smaller screen and more limited resources typical of netbooks versus full laptops. No doubt Intel has its eye on Apple’s successful iPhone App Store, which enhances sales of the hardware as well as providing a ready-made sales channel for independent software vendors, and wants to do the same for netbooks.

In order to participate as a developer, you have to sign up for the program, which will cost $99 annually though currently it is free. An interesting twist is that the developer program is a component market as well as an application market. Write a cool component, and you can get paid whenever any application that uses your component is sold. Intel handles all the business details, for a cut of course.

Intel is supporting two operating systems, Windows and Moblin, Intel’s Linux distribution. Your applications must be one of the following:

  • Native Windows (I am not sure whether .NET is allowed)
  • Native Moblin
  • Java
  • Adobe AIR

A puzzle is that Intel’s press release makes several references to Silverlight as a cross-platform runtime; yet although there is a Linux version of Silverlight, called Moonlight, there isn’t any exact equivalent to AIR for desktop Silverlight and I am not clear how Silverlight fits in any of the categories above. I may be reading too much into this; but perhaps all will be explained when Silverlight 4 is unveiled at PDC in November? Here’s what the press release says:

“Using Silverlight’s cross-device, cross-browser, cross-platform technology, developers will be able to write applications once and have them run on Windows and Moblin devices – expanding the reach of Silverlight applications to more consumers, regardless of whether the device they’re using is a PC, TV or phone,” said Ian Ellison Taylor, general manager, Microsoft Client Platforms and Tools.

Note that despite the above quote, Moonlight 2.0 is still in beta, and no current phones include the Silverlight runtime.

Apps must be delivered in one of the following forms:

  • .msi (for Windows*)
  • .jar (for Java*)
  • .air (for Adobe® AIR*)
  • .deb (for Debian Mobilin/Linux)
  • .rpm (for RedHat* Linux)

All applications in the store are subject to Intel’s approval (called validation):

The validation process checks your code for suitability for the Developer Program, licensing and legal issues, and some basic functionality.

Here’s the checklist. Note this requirement:

Runtimes and technologies the application can support can only be any of the following: Moblin* Native, Windows* Native, Adobe AIR*, Java FX *, and Microsoft* Silverlight*.

Hmm, Silverlight again.

Intel gets 30% of your revenue. You can also market components and if your application uses a paid-for component a share of the revenue will be paid to the component vendor. Free applications and components are also permitted.

I really like the checklist – I wish all desktop applications conformed to some of the requirements. Like this one:

The application will completely uninstall when desired, and leave no garbage files behind.

are great to read.

You can sign up here, though the SDK is not yet available.

One curious facet of the program is that although it is specifically for the Atom, in most cases your application will likely run fine on other processors. I am not sure if Intel will do anything to ensure that only Atom-powered computers use the store.

In May I posted that we should get ready for more app stores. This is really coming to pass now, with Adobe’s offering which I mentioned yesterday, Nokia’s Ovi, as well as others for Android, Palm Pre and so on.

London Stock Exchange migrating from .NET to Oracle/UNIX platform

The London Stock Exchange has agreed to acquire MillenniumIT, and will be replacing its TradElect and Infolect systems with the MillenniumIT trading system. TradElect is based on Windows Server and .NET,  and was created by Microsoft and Accenture. Microsoft used to use the LSE’s system as a showcase for .NET scalability, but while it proved that .NET can work for large systems, the LSE suffered an outage in September 2008 that was rumoured to be the fault of TradElect.

I don’t know much about MillenniumIT but note that the company is a partner with Sun and Oracle and that the MillenniumIT Exchange brochure [pdf] states:

Operating System: UNIX or Linux

Database: Oracle

As Brian Bryson of IBM/Rational observes, it is short-sighted to lay the blame on the platform. Nevertheless, considering the high profile of this system and Microsoft’s active involvement it is at least an embarrassment.

The mitigation for Microsoft is that .NET has less to prove these days. Even if running a system as large and performance-critical as the London Stock Exchange was a step too far, particularly for Server 2003 and (apparently) SQL Server 2000, that doesn’t rule out Microsoft’s technology for more usual workloads; and there are improvements in Server 2008 and SQL Server 2008.

Still, I’d love to know more about why the LSE is abandoning TradElect and what the lessons are for those designing and implementing systems at this level.

The problems with TradElect are thoroughly debated in the comments here.

Update: Microsoft’s LSE Case Study from 2006 is here.

I have also received the following statement from a Microsoft spokesperson:

Microsoft continues to support some of the most demanding, mission-critical environments in the world and is constantly raising the performance bar with new solutions.  Most recently, Microsoft completed three different proof-of-concept projects for a major international stock exchange that demonstrate Windows Server 2008 and Microsoft .NET can successfully support very low latency trading activities, in the 100 microsecond range using standard 1 Gigabit Ethernet.  With the addition of Microsoft Network Direct, that latency is further reduced by 50%, which is industry leading performance.

Why you probably don’t want to buy Microsoft SBS 2008 Premium CALs

I’ve been trying to figure out licensing for Microsoft’s Small Business Server 2008. It’s somewhat perplexing. There are two editions, Standard and Premium, but you can apparently use Standard CALs with the Premium SBS. The Premium edition offers two extra features over the Standard:

1. A second server license for Windows Server 2008.

2. SQL Server 2008 Standard Edition.

So what’s the difference between Standard and Premium CALs? First of all, price. A pack of 5 standard CALs is $385 full retail, while 5 Premium CALs is $945 – that’s 245% more, real money.

But what else? You would have thought that a Premium CAL would be needed to access Premium SBS, but this is not the case. The Pricing page says:

Microsoft offers several flexible licensing options to allow for complete scalability of your cost in relation to your usage, including various CAL quantities to suit your specific needs as well as the ability to purchase SBS 2008 CAL Suite for Premium Users or Devices for only those users or devices accessing the “premium” features.

OK, so what are the “premium” features? Does this mean anyone accessing the second server? Apparently not. The Licensing FAQ says:

The Windows Small Business Server 2008 CAL Suite for Premium Users or Devices should be purchased for only those users or devices accessing the SQL Server 2008 Standard for Small Business shipped as part of Windows Small Business Server 2008 Premium server software.

Now we are getting there. It seems that the “premium features” boil down to just one feature: SQL Server 2008 Standard.

It’s also worth bearing in mind that SBS 2008 can be used by a maximum of 75 users; and that Microsoft offers a free version of SQL Server 2008 called Express which is limited to using a single processor, 1GB RAM and 4GB maximum database size.

It follows that small businesses only need Premium CALs if they are running a SQL Server 2008 application that is beyond the capabilities of Express, and even then only for those users who access that application.

SBS 2008 Premium Edition comes with 5 Premium CALs and costs $1899 full retail, vs $1089 full retail for the Standard Edition. Real-world prices are likely to be less.

My conclusion is that Premium Edition plus Standard CALs is good value if you can make use of the second server, whereas Premium Edition with Premium CALs (beyond the bundled 5) is poor value for the majority of small businesses, who simply do not need those SQL CALs.

Microsoft could make this much clearer by striking out all the references to “Premium features” in its publicity for SBS 2008, and replacing it with “SQL Server 2008 Standard” – unless it is hoping to sell Premium CALs to customers who do not need them.

Microsoft’s confusing web sites

Scott Barnes draws attention to this study which compares the usability of the Apple vs the Microsoft web sites.

Some things are bad for so long that you stop complaining about them. This is one of them. Let’s acknowledge though that there are mitigating factors:

  • Microsoft is a huge organisation, has a vast number of products, and creating a coherent web presence that covers everything is a monumental task.
  • The goals and technical abilities of visitors to Microsoft’s web properties vary enormously.
  • Staying up-to-date is a challenge.

Against that though, Microsoft is in the IT business and supplies both web design and web server technology; it regularly talks up the importance of “user experience” and must be aware that potential users will judge to some extent by what they find.

I use “web sites” in the plural because there are many Microsoft web sites. Perhaps there should be one; but as the referenced study observes, there are numerous different designs. There are different domains too, such as Silverlight.net, ASP.Net and so on.

Take my experience this morning for example. My question: how many processors are supported by Windows Small Business Server 2008? My Google search got me to here, an overview showing the two editions, Standard and Premium. I clicked Compare Features and got to here, which says I have to visit the Server 2008 web site to find out more about the “Server 2008 product technologies”. I click the link, and now I am looking at info on Server 2008 R2 – only I know already that SBS is based on the original Server 2008, not the R2 version. It’s not clear where to go next, other than back to Google.

Some general observations, after clicking around various SBS sites (I had some other questions too):

  • It’s hard to get past the marketing blather to clear information
  • Too many links lead to menu pages with further links – sometimes it feels like an endless loop
  • I found lots of information in the future tense, clearly prepared before launch and not updated
  • Regionalisation is poor. You can start on the UK site but end up with pricing and availability information applicable only to the US
  • There’s a Technet site as well as a general site and the differentiation is not clear. I suppose the general site is meant to be more business/marketing focused, but there’s plenty of overlap
  • In general pages are too busy with each one offering a splurge of choices
  • Some things are just inherently confusing – like the CAL policy, which has four different types of CAL (user and device in combination with standard and premium) that can be mixed and matched: you can use standard CALs with SBS Premium if they are not used with “Premium features”. Whoever dreamt that up has never worked in a small business.

Clearly this is not a simple problem to solve. At the same time, it is hard to understand why it is so bad. It is a large company problem: maybe too much bureaucracy, conflicting kingdoms, little budget following initial launch, everyone knows it is a problem but nobody knows who should be fixing it, that kind of thing.

Incidentally, I think the processor limit is actually the same in SBS 2008 Standard as in Server 2008 Standard R2, and this chart shows it to be 4 sockets. In other words, you can have up to four physical processors and still benefit from multiple cores. Probably.

10 Mac alternatives to Windows utilities

I’ve been spending an extended time on the Mac in order to explore Snow Leopard. As far as possible, I’ve done all my work on the Mac since its release. The trial will be over soon … but in the meantime I’m sharing notes on some of the utilities I used for tasks I normally do on Windows, in no particular order.

1 Capturing screenshots

On Windows I press PrintScreen or Alt-PrintScreen (for the current window), then paste into an ancient copy of Paint Shop Pro 5.0 for trimming and re-sizing. No, it’s not PhotoShop, but it loads in a blink.

For the Mac I use Ctrl-Command-Shift-3 (whole screen) or Ctrl-Command-Shift-4 (selectable area) which adds a screenshot to the clipboard. Then I use the latest Preview, which has a File – New from Clipboard option. I love Preview – it has tools for further trimming and resizing, and when you save it shows the file size as you select different formats. Since I often want to minimise the size for a web page, it’s ideal.

2 Secure file transfer

I avoid FTP for security reasons, so on Windows I normally use WinSCP for secure file transfer.

On the Mac I use Fugu, and of the two I prefer it.

3 Word processing

On Windows I use Microsoft Word. On the Mac I mainly use NeoOffice, which actually felt a bit nicer than its parent, OpenOffice. I also spent some time with Word 2008 (good for compatibility, but slow) and Apple’s Pages from iWork 09. One nice feature of Pages, for journalism, is the stats window that shows the word count as you type.

4 Web browsing

I used Safari, in order to get the most complete Apple experience. I’m getting to like the Top Sites feature, though it’s hardly essential, especially the way it shows at a glance which pages have changed.

5 Sound editing

On Windows I use Audacity. On the Mac I use … Audacity, though for some reason I found it slightly less smooth.

6 Playing FLAC

Apple is still stubbornly refusing to support FLAC in iTunes or Quicktime. My solution was Songbird, a great alternative, which supports FLAC straight out of the box, or rather download.

For converting to FLAC I used MacFLAC, though I found it less than robust. I missed dbPowerAmp (Windows).

7 Remote desktop

I find Remote Desktop invaluable for managing servers. On the Mac I used the official Remote Desktop client, which worked well though it falls slightly short of the Windows version (perhaps this is a policy!).

8 Twitter

I use Twhirl on both Mac and Windows, an Adobe AIR application. One oddity (getting picky): the font spacing is slightly better on Windows. In the word Blog, for example, there is too much space between the B and the l, but only on the Mac.

9 Email

I never thought I’d say I missed Outlook, but I did. The thing is, after much experimentation I’ve found a permutation that works really well on Windows: 64-bit Windows and Outlook 2007 SP2 in online mode (only for a desktop, of course).

On the Mac I use Mail, but I’ve found it less than satisfactory even though I run Exchange 2007 with all the required configuration.

10 Blog authoring

On Windows I use Live Writer, which is superb.

On the Mac I write posts (like this one) in the WordPress online editor. I don’t like it as much, but it does the job.

11 Bridge

Now this one is a problem :-). I find JackBridge ideal for those moments when I need a break from work. It won this year’s World Champion computer bridge contest.

The Mac is not so well served, but I have trialled Bridge Baron and found it not bad at all.

Apple Snow Leopard: why don’t we all use Macs?

Last Friday I attended Apple’s press briefing for Snow Leopard, and I’ll be a Mac (mostly) for the next few days as I put OS 10.6 through its paces. For as long as I can remember, I’ve set up my desktop so that I can easily switch between Mac and Windows, so it is no great hardship.

Snow Leopard is a relatively low-key release, timed by accident or design to appear not long before Windows 7 makes its full public debut in October – though many IT professionals are already using the final build. In the unlikely event that you’ve missed the many reports, the headline new features are:

  • Many small refinements and speed improvements
  • Major applications re-written in 64-bit
  • Grand Central Dispatch – OS-level support for easier concurrent programming
  • OpenCL – standard means of using the GPU (graphics processing unit) for general processing, not just graphics
  • Exchange support in Mail, iCal and Address Book

The Exchange support is welcome, though unfortunately it is limited to Exchange 2007. It was already possible to access Exchange in Mail, though the older support (which still exists for pre-2007 Exchange) was based on IMAP, whereas the new support is based on Exchange web services and has richer features.

I use Exchange 2007, and found it easy to set up my account in Mail. Unfortunately I’m missing some Outlook features, such as the ability to choose a different Sender  address, and I’ve found it prone to a few mysterious pauses –  once it went into a sulk for over a minute when I marked a message as junk – but this might be a problem with Exchange web services rather than Mail, who knows? I also have some public folders which appear to be inaccessible from Mail or iCal. Then again – Entourage isn’t as flexible as Outlook either.

Still, I  expect the Exchange support will be good enough for many users, and this will make it easier to integrate Macs into Windows-based networks.

So, here’s a thought experiment. Let’s make an assumption:

  • Most people prefer the Mac operating system over Windows, and prefer the Mac hardware over most PC or laptop hardware.

If that is the case, why do we not all use Macs?  There’s a host of reasons which come to mind, starting with price. I looked at macwarehouse.co.uk and pcworld.co.uk, which are owned by the same group. The cheapest Mac I can find (Mac Mini + keyboard, mouse and display) is currently £536.96, vs £260.86 for a PC; and the cheapest laptop is £645.99 + VAT for a MacBook vs £216.52 for a cheapie PC laptop with Vista Basic. These differences are not small.

Note I am not saying that the Mac is poorer value; that is an entirely different argument.

A second big issue is application compatibility. Although there is no problem that cannot be solved with finding alternatives, or dual boot, or a virtual machine, it is all friction that impedes Mac acceptance.

Third, there is the greater manageability of Windows in a corporate environment based on Windows. This is a form of incumbent advantage, which is hard to break unless the incumbent messes up badly. Arguably Microsoft has messed up badly, though less in the business context than in the consumer context, and Windows 7 will pull back some lost ground.

The above leads me to believe that Snow Leopard is not likely to change the status quo significantly – understanding that the status quo is that Apple is gradually increasing its market share – even granting the assumption I made, which is somewhat controversial. On balance, I consider it more likely that Windows 7 will stem the flow towards Apple, though without a high degree of confidence.

More significant than either factor is the continuing migration towards the Internet. In this respect I’ve argued that Apple is like Microsoft. The Internet is a great leveller; it will reduce the friction of changing operating systems (helping Apple) but also make Apple’s UI advantage less noticeable (helping Windows/Linux/Google), and make it harder to sell expensive desktop software (Microsoft is the bigger loser here I think).

It’s fun to speculate; but I must add that so far Snow Leopard has been a pleasure to install and use. Technically, Apple hasn’t missed a beat with OS X since the first release, and that’s an impressive achievement.

Fixing a Windows PC with Knoppix

Last night I took a look at a poorly Windows XP box. It would not boot; error was:

C:\Windows\System32\Hal.dll missing or corrupt:
Please re-install a copy of the above file.

The one thing you can be confident about is that doing what the error message says will not fix the problem. I suspected an issue either with a failing hard drive, or with boot.ini. It was not boot.ini, and to my surprise the drive checked out OK using the long (most thorough) test in the manufacturer’s utility. There were files missing though, so I ran chkdsk /r and then tried a repair install. To do this, you boot from the setup CD, choose to install Windows, and then choose the option to repair an existing installation; it usually does a good job of preserving documents, applications and settings.

Everything was going fine until well into the repair. Setup came up with a message I had not seen before:

The file ‘Asms’ on Windows XP Home CD-ROM is needed. Type the path where the file is located, and then click OK.

It turns out that this means setup cannot communicate with the setup CD.  Microsoft has a fix which did not work for me; the UPPERFILTERS and LOWERFILTERS registry keys mentioned there did not exist, though it was interesting to discover that you can press Shift+F10 during setup and get a command prompt. However, the command prompt could not see the CD either.

Even if you cancel the setup, it automatically resumes on reboot. All I needed to do was to copy the setup files (contents of the i386 folder) from the CD to the hard drive. However, the bafflingly crippled XP recovery console does not support either xcopy, or wild card copy, or copying directories.

I found an easy solution for this in Knoppix, a version of Linux designed to run from CD.I downloaded the latest version 6.0.1 which has read-write access to NTFS drives by default, booted Knoppix, copied the WIndows XP setup CD to a folder on the hard drive, and re-booted Windows. Setup resumed, and when I got the Asms error I pointed setup to the new folder. I had to do this multiple times (fortunately Ctrl-C and Ctrl-V works) but it was not difficult and the repair completed successfully.

Technorati Tags: ,