Category Archives: microsoft

Lenovo’s bundled Start menu: more OEM trouble for Microsoft

Lenovo and SweetLabs announced a deal yesterday whereby the Pokki app store and Start menu replacement will be pre-installed on Windows PCs.

This has been widely interpreted as a response to user dissatisfaction with the Windows 8 Start screen, which replaces with the hierarchical Windows 7 Start menu with a full-screen tiled view of application shortcuts. The press release, though, focuses more on the app store element:

Apps are dynamically recommended in the Pokki Start menu, app store, and game arcade to users by SweetLabs’ real-time app recommendation system, which matches the right apps with the right users. This system has already served one billion app recommendations this year, and the addition of Lenovo substantially extends the reach of this distribution opportunity for app developers looking to be promoted on brand new Windows 8 devices.

image

In other words, this is not just an app launcher but also a form of adware or if you prefer a third-party app store; the apps it installs will not be Windows Store apps running in the tablet-friendly Windows 8 environment, but desktop apps.

Microsoft could benefit I suppose if users concerned about missing the Start menu buy Windows 8, but in every other respect this is a retrograde step. Users who do want a Start menu would be better off with something like Start8 which will not nag them to install apps, which makes you wonder if Lenovo’s motivation is more to do with a lucrative deal than with pleasing its users. Microsoft’s strategy of building momentum for its own Windows 8 app store and platform will be undermined by this third-party effort.

Once again this illustrates how the relationship between Microsoft and its OEM partners can work to the detriment of both. The poor out of the box experience with Windows has been one of the factors driving users to the Mac or iPad over the years, and this is in large part due to trialware bundled by partner vendors.

Windows 8 is a special case, and there is no doubting the difficulty long-term Windows users have in getting used to the new Start screen. The new Start button in Windows 8.1 will help orient new users, but Microsoft is not backing away from Live Tiles or the Start screen. Lenovo’s efforts will make it harder for users to adjust, since they would be better off learning how to use Windows 8 as designed, rather than relying on a third-party utility.

Microsoft has Surface of course, which despite huge writedowns is well made and elegant, though too expensive; and this has not pleased the OEMs who previously had Windows to themselves.

It all makes you wonder if the famous gun-wielding cartoon of Microsoft’s organization chart should now be redrawn with the guns pointing between Microsoft and its hardware partners. After all, Windows Phone might also have gone better if the likes of Samsung and HTC had not been so focused on Android.

Email hassles with Android and Exchange: couldn’t open connection to server

I have an Asus/Google Nexus 7 which is set up to receive mail from Exchange 2010.

At least, it was. Some time ago it stopped receiving mail. When the mail client tried to sync, I got this message:

image

“Couldn’t open connection to server due to security error”.

The message is not particularly clear. I went back into the account settings and verified everything (including Accept all SSL certificates, since mine is self-signed) and it was all fine – as I knew it would be, since it used to work.

The error, it turns out, is to do with ActiveSync policies. Exchange is detecting that the device is not in conformance, and refusing to sync. Odd, since my ActiveSync policies are relaxed and allow anything.

I removed the account and added it back. Ah, now I have this dialog:

image

I tapped Activate and everything was fine. Mail now syncs again.

I am still not sure how you find this dialog if it does not pop up automatically.

Microsoft Office 365: migration hassles show why partners still have a role

I have been working with a small business migrating its email to Office 365. The task seems simple enough: migrate just over 100 mailboxes from on-premise Exchange 2007. There is no requirement for a hybrid deployment, so the normal approach is a cutover migration. You run a script on Exchange at the Office 365 end which sucks up all the mailboxes, creating user accounts as it goes. Once the mailboxes are synched, the script (called a migration batch) synchronises the mailboxes every 24 hours. You then change the MX (DNS) records so that mail goes to Office 365, get users to log on to the new mailboxes, and decommission the on-premise Exchange.

It sounds straightforward, and I am sure works fine with small mailboxes and just a few of them. It is meant to work for up to 1000 mailboxes though, so I did not think just 100 would cause any problems.

Here is what I discovered.

First, we soon ran into problems. The migration batch seems remarkably slow, partly thanks to using an ADSL connection (fast download but slow upload) but even slower than that would suggest. Some mailboxes report “Failed” for a variety of reasons, the most common being that they simply stop synching for no apparent reason, or in some cases never start synching. Here are some of the error messages:

  • Error: MigrationPermanentException: Error: Job is poisoned, poison count = 6.
  • Error: SyncTimeoutException: Email migration failed for this user because no email could be downloaded for 5 hours, 0 minutes.
  • Error: MigrationPermanentException: Error: The job has not made progress since 28/07/2013 08:43:19. Job was picked up at 27/07/2013 17:11:15.

image

So what do you do if you get these errors?

My first observation is that documentation for cutover migration is thin. It makes little provision for anything going wrong. There are a few things (like avoiding messages over 25MB or hidden addresses in Exchange) but nothing about “job is poisoned”.

Another observation is that the Cutover Migration Batch is lacking in common-sense options. For example, with a slow-ish connection you might prefer to migrate only two or three mailboxes at a time, rather than then 16, which seems to be the fixed number.

I was also puzzled by the option to “Stop” a migration batch, which you can do using a toolbar button.

image

What are the consequences of stopping a batch? Can you stop it in the morning, and restart in the evening, to reduce bandwidth during the working day, for example? Or do bad things happen?

I headed for the support community. Unfortunately this is not too good either. There are a number of unfailingly polite Microsoft support people there, but they don’t seem all that well informed when it comes to the details of what can go wrong and there is a lot of reference to support articles that might or might not answer the question; or an initial response that doesn’t quite answer the question and then no satisfactory follow-up; or retreat to private messages which, judging from the public responses, are also not always helpful either.

After being told that it was OK to stop and restart a migration batch I tried it. It did not work well at all for me. I even got this lovely error message for a Room mailbox:

Error: ProvisioningFailedException: Couldn‎’t convert the mailbox because the mailbox "mailboxname" is already of the type "Room”

I had better success deleting the migration batch and creating a new one, which is easy because it remembers the connection settings from last time. Mailboxes in progress resumed where they left off, and even some failed mailboxes started synching again.

Still, the detail of this is not so important. Fundamentally, Office 365 seems to me a strong service at a reasonable price (though I like Exchange better than SharePoint), and Microsoft is pushing small businesses towards it so hard that it is becoming difficult to stay on Microsoft’s platform at all unless you migrate – the disappearance of Small Business Server with bundled Exchange makes a small deployment expensive.

This being the case, you would have thought Microsoft would put its best effort into the migration tools, which are critical not only for successful transition, but also as many people’s first impression of the service. I did not expect what look like immature tools with skimpy documentation and poor community support.

Is Microsoft struggling to scale the system quickly enough to meet demand?

In some ways this may actually be good for Microsoft partners who still have their traditional role of puzzling out these kinds of problems and making it easier for their customers.

Not just Windows: even Mac sales are down

Apple has released its third quarter financial results, and they are decent: year on year revenue is up fractionally, from $35.023 billion to $35,323 billion, though profit is down from $8.8 billion to $6.9 billion.

Compared to the third quarter in 2012 though, Mac sales are 7% down though, from 4.02 million units to 3.754 million units. Revenue from the Mac has declined by 1%.

In isolation this is not a dramatic change, but the statistic is more interesting when you put it in context with what is happening with Windows PCs. Windows 8 is nearly a year old, released to manufacturing on August 1 2012 and generally available from October 26 2012.

Windows 8 has received a mixed reception, with many users reluctant to adopt the reinvented operating system, which replaces the Start menu and adds a touch-friendly tablet platform alongside the desktop user interface. So far it has done nothing to stem declining PC sales and may have accelerated the process. Gartner reports a 10.9% decline in worldwide PC sales in the second quarter of 2013  (same as Apple’s third quarter). Gartner’s figures also include Macs, though Gartner estimates only a 4.3% unit decline.

The evidence is that gains in Mac sales at the expense of Windows, which is a long-standing trend, is continuing, insofar as Mac sales have declined by less than the PC market overall. However the figures confirm that the decline in PC sales is due to fundamental changes in personal computing, in favour of tablets and other mobile devices, rather than market response to an unpopular Windows edition.

The twist here is that Windows 8 is designed for exactly that trend; and while there is plenty of scope for argument about how Microsoft has addressed it, there is little doubt that it was right to come up with a version of Windows for tablets – and one that was not a reprise of its previous stylus-based efforts.

My own view is that Windows 8 is a plausible strategy and that Microsoft should stick with it. Earlier comments on Windows RT are relevant here.

Hybrid devices that twist between laptops and tablets are not the answer though. They are transitional machines which end up too heavy and expensive to be good tablets. Many users will buy a cheaper laptop instead.

The question for Microsoft now is how much tablet market will be left by the time the Windows app ecosystem matures to the point when a Windows tablet can really compete with an iPad for usability and utility in pure slate form.

Apple has problems too. iPad sales are down by 27% from the same quarter last year, though iPhone is up 15%. The reason, I suspect, is Android.

Windows RT and Surface RT: Why Microsoft should persevere

Microsoft has reported a $900 million write-down on Surface RT inventory in its latest financial results. Was Surface RT a big mistake?

A loss of that size is a massive blunder, but the concept behind Surface RT is good and Microsoft should persevere. Here’s why.

Surface RT is experimental in two ways:

  • It was the first Microsoft-branded PC (or tablet if you prefer).
  • It was among the first Windows RT devices. Running on the ARM processor, Windows RT is locked down so that you can only install new-style Windows 8 apps, not desktop apps. However, the desktop is still there, and Microsoft bundles Office, a desktop application suite.

Microsoft had (and has) good reason to do both of these things.

Historically, DOS and Windows prospered because it was open to any hardware manufacturer to build machines running Microsoft’s operating system, creating a virtuous circle in which competition drove down prices, and abundance created widespread application support.

This ecosystem is now dysfunctional. The experience of using Windows was damaged by OEM vendors churning out indifferent hardware bundled with intrusive trial applications. It is still happening, and when I have to set up a new Windows laptop it takes hours to remove unwanted software.

Unfortunately this cycle is hard to break, because OEM vendors have to compete on price, and consumers are seemingly poor at discriminating based on overall quality; too often they look for the best specification they can get for their money.

Further, Windows remains a well understood and popular target for malware. One of the reasons is that despite huge efforts from Microsoft with User Account Control (the technology behind “do you really want to do this” prompts in Windows Vista onwards), most users outside the enterprise still tend to run with full administrative rights for their local machine.

Apple exploited these weaknesses with Mac hardware that is much more expensive (and profitable), but which delivers a less frustrating user experience.

Apple has been steadily increasing its market share at the high end, but an even bigger threat to Windows comes from below. Locked-down tablets, specifically the Apple iPad and later Android tablets, also fixed the user experience but at a relatively low price. Operating systems designed for touch control means that keyboard and mouse are no longer necessary, making them more elegant portable devices, and a wireless keyboard can easily be brought into use when needed.

Microsoft understood these trends, although late in the day. With Surface it began to manufacture its own hardware, an initiative which alongside the bricks-and-mortar Microsoft Stores (supplying trialware-free Windows PCs) aims to counter the corrosive race to the bottom among OEM vendors.

Windows 8 also introduces a new application model which is touch-friendly, secure, and offers easy app deployment via the app store.

In Windows RT the experiment is taken further, by locking down the operating system so that only these new-style apps can be installed.

Surface RT brings both these things together, solving many of the problems of Windows in a single package.

Why Surface RT failed

Surface RT is well made, though performance is disappointing; it seems that Nvidia’s Tegra 3 chipset is not quite sufficient to run Windows and Office briskly, though it is usable, and graphics performance not bad.

There were several problems though.

  • The price was high, especially when combined with the clever keyboard cover.
  • It may solve the problems of Windows, but for many users it also lacks the benefits of Windows. They cannot run their applications, and all too often their printers will not print and other devices lack drivers.
  • Surface RT launched when the Windows 8 app store was new. The new app ecosystem also has its problems (all these things are inter-related) and in consequence few compelling apps were available.
  • Microsoft’s built-in apps were poor to indifferent, and Office was bundled without Outlook.

I was in New York for the launch of Surface RT. There were “Click In” ads everywhere and it was obvious that Microsoft had convinced itself that it could sell the device in large numbers immediately. That was a fantasy. I suppose that if consumers had taken Windows 8 to heart quickly (as opposed to resisting the changes it imposes) and if the app ecosystem had flourished quickly then it could have taken off but neither was likely.

Surface RT positives

Despite all the above, Surface RT is not a bad device. Personally I was immediately drawn to its slim size, long battery life, and high build quality. The keyboard cover design is superb, though not everyone gets on with the “touch” cover. I purchased one of the launch machines and still use it regularly for cranking out Word documents on the road.

Reviews on Amazon’s UK site are largely positive:

image 

Surface RT is also improving as the software evolves. Windows 8.1, now in preview, adds Outlook and makes the device significantly more useful for Exchange users. Performance also gets a slight lift. The built-in apps are improving and app availability in general is much better than it was at launch, though still tiny compared to iPad or Android.

I have also been trying Surface Pro since receiving one at Microsoft’s Build conference last month. The Pro device has great performance and runs everything, but it is too bulky and heavy to be a satisfying tablet, and battery life is poor. I think of it more as a laptop, whereas Surface RT is a true tablet with a battery that gives pretty much a full day’s use when out and about.

Microsoft’s biggest mistake with Surface RT was not the concept, nor the quality of the device. Rather, they manufactured far too many thanks to unrealistic expectations of the size of the initial market. The sane approach would have been a limited release with the aim of improving and refining it.

I hope Microsoft perseveres both with Windows RT and with Surface RT. Give it better performance with something like Nvidia, Tegra 4, Windows 8.1, and improved app support, and it is near-perfect.

The future of Windows

Desktop Windows will remain forever, but its decline is inevitable. Even if it fails, we should recognise that Microsoft is trying to fix long-standing and deep-rooted problems with Windows through its Windows 8, Surface and Windows RT initiatives, and there is some sanity in the solutions it has devised. Despite a billion dollars thrown away on excess Surface RT inventory, it should follow through rather than abandon its strategy.

Anders Hejlsberg says C# 6.0 to use Roslyn compiler, coming in next Visual Studio after VS 2013

A disappointment at Microsoft’s Build conference last month was lack of news about the next version of C#, version 6.0. C# architect Anders Hejlsberg did present a session, but it was on TypeScript, a language which compiles to JavaScript.

Aside: Hejlsberg talks about the new Xbox music app in Windows 8.1 (and Xbox One) which is written in JavaScript. It is a large app with 500,000  lines of code, and new features are now implemented in TypeScript (30,000 lines so far).

However, Hejlsberg did also talk about C# 6.0 at Build, during this Channel 9 Q&A, though you have to scroll through to reach the C# content (about 34 minutes in).

image

He confirmed that C# in Visual Studio 2013 is the same as before, but there will be new previews of the forthcoming “Roslyn” compiler soon, and that C# 6.0 will be in the “next Visual Studio after” which suggests Visual Studio 2014, presuming Microsoft sticks to its annual release cycle.

“We are at a point where the Roslyn compilers are done,” he said.

Roslyn, Hejlsberg explained, is the new compiler for “C#, and VB, and the language services in the IDE.”

Roslyn performance will be at least as good as the existing native compiler, says Hejlsberg. It is better suited to parallel processing so will take advantage of multi-core machines, “particularly for large projects.”

You can read more about Roslyn here. Microsoft describes it as “opening up the Visual Basic and C# compilers as APIs.” Practical benefits include features like instant porting of VB code to and from C#, and the use of C# and VB as macro languages within a .NET application.

Hejlsberg also says that Roslyn will enable a faster pace of evolution for C# in future.

Another aside: Xamarin, which provides a compiler for C# targeting iOS and Android, gets a nod of approval from Hejlsjberg. “I’m a great fan of their work,” he says.

Blogger (and former Microsoft Excel developer) Wesner Moise provides a transcript of the key points.

What’s coming from Microsoft in its next financial year: July 2013-June 2014

Noticed this slide shown by COO Kevin Turner at Microsoft’s Worldwide Partner Conference under way in Houston.

image

What caught my eye in particular?

  • Common app platform between Windows and Windows Phone
  • Skype integration with Outlook.com and Office 365
  • Update to Surface RT and Surface Pro – does this mean updated hardware? That seems likely, given that both models will soon look obsolete without, especially the older Surface RT.

Adobe Creative Cloud giveaway at Microsoft Build: sign of a new alliance?

At Microsoft’s Build conference last week, one among a number of giveaways to all attendees was a year’s subscription to Adobe’s Creative Cloud. This was announced by Developer and Platform Evangelism VP Steven Guggenheimer during the day 2 keynote.

image

Creative Cloud costs $49.99 (or £39 + VAT) per month for an individual subscription.

Guggenheimer in effect said that the gift came from Adobe; he suggested that “you guys should send them a nice email”.

The stated purpose of the giveaway is to promote the Digital Publishing Suite (DPS). Creative Cloud comes with DPS Single Edition, which lets you create rich, interactive magazine content and publish it to the iPad and Android. Announced at Build was DPS support for Windows 8.1 in “late 2013”; a sign if nothing else that Adobe is taking Microsoft’s tablet platform seriously.

The odd aspect though is that Build is a developer conference and not quite the right target audience for DPS. On the other hand, there are numerous tools in Creative Cloud that are well suited to developers, including the Edge web content tools, PhoneGap Build, and of course the mighty Photoshop for image editing.

Adobe’s Adam Lehman was interviewed at Build about the Creative Cloud tools, especially Edge, here.

Microsoft is no longer trying to compete with Adobe on design tools. Expression Web and Expression Design have been discontinued. The Flash versus Silverlight wars are also consigned to history, making it easier for these two companies to work together.

Microsoft Build 2013: Love the platform?

The paradox of Microsoft: record revenue and profits, but yes, Windows 8 has been a disaster so far, and the company has lost developer and consumer mind share.

That might explain why there was no lack of availability for tickets to Build in San Francisco. With a smart PR move, Microsoft “sold out” of a limited first allocation, then made more available, and you could register right up to the day before. Attendance estimates are around 4,500.

image

The atmosphere was good though, and someone remarked to me that it felt a bit like an early Mix event, Microsoft’s web and design conference back in Silverlight days.

Blue was the colour; and for me Build 2013 was a Windows 8.1 event, though attention was also given to Windows Azure and Windows Phone.

Microsoft has two goals with Windows 8.1.

One is to placate users who essentially want Windows 7.1 and have been wary, confused, or worse, in their reaction to the Windows 8 Modern (or Metro, or Windows Store) user interface.

The other is to establish a new tablet platform, something which has yet to happen despite significant numbers of Windows 8 installations out there since the launch.

There was solid progress on both these fronts at Build, though whether it was enough is of course open to debate. Windows 8.1 is a nicer experience, especially for desktop users, and the user interface feels more elegant and refined than Windows 8.0.

No matter what you may have read elsewhere though, Microsoft is not backtracking. The focus at Build was on the new app platform and its improvements. Developers I spoke to were generally happy with these. “It’s caught up with Silverlight”, one told me.

At Build 2011 and 2012 there was some disappointment among developers, that Microsoft seemed to be pushing HTML and JavaScript above C# and .NET, for its new app platform. There was a perception at Build 2013 that this is no longer the case, though C# architect Anders Hejlsberg spoke on TypeScript (which compiles to JavaScript) rather than C# at his session; and a Microsoft engineer I spoke to denied that there had been any change of direction internally; the official line is that this is developer choice.

In practice, the developer choice tends to be C#, which dominated the session examples, and there was no more gossip about Microsoft abandoning .NET.

Windows seems to be on a one-year refresh cycle now. No date has been announced, but the signs are that Windows 8.1 will follow one year after Windows 8.0, which means RTM (the release build) no later than August and machines on sale in time for the winter season.

Much was already known about Windows 8.1, so were there any surprises? The main one was the evolution of Bing. The key phrase is “Bing as a platform”.

Bing is much more than just a search engine. We’re always a platform company. As we’ve been building this great search experience, we’ve actually been building this rich platform.

said Program Manager David Robinson in this session. Bing services are not just search, but also speech recognition (as seen on Xbox) so that developers can create “natural user interfaces” with voice control, text to speech, and 2D and 3D mapping with driving directions.

The other twist on this is the new search app in Windows 8.1. The way search works in Windows 8.1 has changed quite a bit. Search within an app should no longer rely on the Charms menu, and developers are expected to put a search box into their user interface. Search in the Charms menu is a system search, that integrates local and web results. Thus, if I search for Build, I get the Build apps, local documents mentioning Build, my own photos, web results relating to the building industry, word definitions, and so on. If I search for “Event viewer”, I get the control panel applet, a Wikipedia entry, a couple of Microsoft support articles, and then a general web search with infinite scrolling to the right. If I search for a celebrity, I get a rich multimedia view.

image

The search engine here is not pluggable; only Bing will work. This is smart strategic thinking, since it is at once a compelling app, an easy way to navigate Windows, and a way of building search share for Bing.

There are some details of search yet to be revealed. In particular, I asked how an app can integrate its own content into an “Everywhere” search, and was told it has yet to be announced (even though Windows 8.0 has a search contract that you would have thought would fit perfectly here).

My own experience of Windows 8.1 is positive, though since I have little difficulty with Windows 8.0 I am not a good test case as to whether it will win over those sticking with Windows 7. The Start button is mostly cosmetic, but I suspect I will find myself right-clicking it frequently to bring up the Win-X menu, now complete with Shutdown option.

Surface RT is greatly improved by the update. There is some performance gain, and the addition of Outlook to the RT desktop makes it twice as useful for businesses using Exchange or Office 365. Windows 8.1 also comes with Internet Explorer 11 with WebGL and some user interface improvements.

Microsoft does feel somewhat diminished these days, thanks to the decline of the PC and its smaller area of dominance, despite its continuing healthy financials. Can the company recover any of that ground? To do so it has to drive adoption of the tablet personality in Windows 8. Microsoft has made a poor start, but it may yet come together.

At a sparsely attended session on The Story of Bringing Nokia Music from Windows Phone to Windows 8 the Nokia Design Principles caught my attention:

image

The speakers conveyed real enthusiasm for the last of these, “Love the platform”, which is something I have not often encountered in the context of Windows 8.0, especially as the first release felt rough and not-quite-ready from a developer perspective. There is no doubting its potential though, and if Microsoft can win a bit more developer love with the 8.1 release, then we may see growth. 

Visual C++ will implement all of C++ 11 and C++ 14, some of C99 says Microsoft

Microsoft’s Herb Sutter spoke at Microsoft Build in San Francisco on the future of C++.

image

Microsoft has been criticised for being slow to implement all the features of ISO C++ 11. Sutter says most features are now included in the public preview of Visual Studio 2013 – which has a “Go Live” license so you can use it in production – including the oft-requested variadic templates. The full list:

  • Explicit conversion operators
  • Raw string literals
  • Function template default arguments
  • Delegating constructors
  • Uniform int and initializer_lists
  • Variadic templates

More features are coming in the RTM (final release) of Visual Studio 2013 later this year:

  • Non-static member initializers
  • =default
  • =delete
  • ‘using’ aliases

A technical preview will then follow and Sutter listed possible features of which there will be a subset. Full conformance will follow at an unspecified time.

Microsoft is also promising a full implementation of C++ 14, the next update to the standard, even though the exact specification is not yet fully agreed. Some C++ 14 features will be implemented ahead of C++ 11 features, if they are considered to add high value.

Two other points of interest.

Async/await (familiar to C# developers) will be implemented in the post-RTM CTP because it is such a useful feature for Windows Runtime app developers, even though it is not part of the ISO standard.

Finally, Microsoft will also several C99 features in the RTM of Visual Studio 2013:

  • Variable decls
  • C99_Bool
  • compound literals
  • designated initializers

The reason for implementing these is that they are needed to compile popular open source libraries like FFmpeg.

I asked Sutter why Microsoft is not planning full conformance to C99. He said it was a matter of priorities and that work on C++ 11 and C++ 14 was more important. If there are particular additional features of C99 developers would like to see implemented, contacting Sutter with requests and rationale might eventually yield results.

image