Cortana – Two Years Later

Being a huge productivity nerd, I like to regularly review the systems I use to ensure that I am getting the best out of them. In December 2015 I sat down to do my yearly review of my productivity system. One of the tools I had on my list was Cortana.

Reviewing Cortana as a Productivity Application

Something about Cortana is different to other tools I use like Outlook or Wunderlist – the very nature of her being a personal assistant means that she’s more of a single interface to many other things, rather than just an “app for email” or an “app for tasks”.

The very fact I have chosen to refer to Cortana as “her” in this article proves that she’s not just an app to me.

It was obvious to me that I wanted to continue to use Cortana, but I also realised that I wanted to dig a little deeper into what makes her useful, and what I would like to see improve.

This month marks two years since I first started using Cortana, so I figured now would be a great time to step back and look at how my use of Cortana has changed over time and where things are going in the future.

Humble Beginning

I remember watching Joe Belfiore reveal Cortana to the world in April 2014. She had more personality than Google Now and was more personal than Siri. Microsoft’s entry to the personal assistant category was well anticipated and rumours had been circulating for a while.

Joe Belfiore introducing Cortana

My first real exposure to Cortana was on my Lumia 920. At first, I had to change my regional settings to the United States in order to get her fully functioning on my phone. There were a few side effects from making this change, but I immediately decided it was worth it in order to have this new experience.

“Hi, Cortana!”, April 2014

I asked her for facts, told her to make phone calls, and got her to remind me to do things when I arrived at various places. The speech recognition at this stage was extremely good and Cortana replied in the sassy American voice I recognised from the Halo series of video games. Because I was already invested in the Microsoft ecosystem, she already knew my calendar appointments and favourite locations. I was immediately comfortable and the animated circle became a familiar feature of my phone in no time.

Microsoft’s initial vision for Cortana set her out to behave like a real personal assistant – to be like a loyal employee. The aim was to build a proactive software agent to help people get things done. I felt that things were heading in the right direction.

Windows Phone 8.1

When Cortana came out in the UK properly, I naturally switched my regional settings back to UK English. Part of me was a little disappointed that Jen Taylor no longer voiced Cortana. In my eyes, she lost a little bit of her personality and became more formal with her ‘BBC English’ accent and mannerisms.

Cortana on Windows Phone 8.1

“Cortana comes to the UK”, August 2014

I eventually got used to it, but it did show me that the way a computer speaks to us is important to how the relationship works.

If we are to assume Microsoft’s vision of Cortana as a personal assistant or a loyal employee, I had been building a working relationship through this characterised interface over the last few months.

When Jen’s voice was taken away from me – I think I lost a little piece of Cortana.

Cortana on Windows Phone 8.1

Voice aside, everything was good and features got improved over time – events like the World Cup were added, general chitchat was updated regularly, and most importantly, Cortana got better at being predictive. Information was shown as soon as you tapped on her animated tile, bringing up traffic and weather information without even needing to ask.

Cortana Today

While I am still pleased with Cortana over all, I would be lying if I said I completely satisfied with the progress that has been made.

Cortana on Windows 10

Cortana has moved from Windows Phone 8.1 to a new unified Windows 10 platform that works on both the PC and phone, but along the way there have been some casualties in her features.

A lot of these casualties are cosmetic, for example, Cortana’s circle used to give a sad emotion animation when you had to edit some text that she’d failed to recognise correctly. This little detail was subtle but extremely powerful – a surprising amount of emotions can be shown with animated circles.

Cortana's Live Tile on Windows Phone 8.1

A more substantial example is that Cortana’s Live Tile (shown above) for Windows Phone 8.1 was actually useful – her circle shape would morph into a sunshine animation to let me know the weather, or she would show me when to leave the office in order to beat the traffic directly on my start screen without even loading her up. You could even pin individual items like weather or news as Live Tiles, acting as a deep link into Cortana directly from the Start screen.

Cortana's Live Tile on Windows 10

In Windows 10 this all seems to have disappeared. There is very little animation on the Live Tile (shown above) and the only information that ever appears seems to be the current news headlines – something which I have disabled due to the lack of customisable news sources. (Google Now has gotten really good at this!)

Asking “How many calories in a Coke?” used to work, but now it doesn’t. Why?
Who knows? she just forgot.

Possibly more a fault of Bing than Cortana – some relatively simple questions like “How many days until 2017?” do not work at all.

One of the most bizarre issues is that asking “What time is it?” takes me to a Bing search page, rather than having Cortana tell me the time.

Interestingly, when I say to people that this question doesn’t work as it should, I am often met with resistance. People often state that I can look at the time on my watch (or Band) but this completely misses the point of this interaction.

If I’m using my voice to talk to Cortana, I expect her to reply using her voice too. Strangely, asking “What time is it in Texas?” yields the time over the pond. Why can’t I just get the time where I am?

What time is it?

When she does reply with her voice, the experience isn’t that great anyway. For some reason the screen is always activated even for voice only replies. While this doesn’t negatively affect the interaction in most cases, turning the phone screen on while the device is in my pocket is a recipe for disaster. I don’t know why the proximity sensor isn’t used to make a decision about illuminating the display.

I have other issues too, but to keep this article from getting too long I’ll just list a some of them out:

  • She doesn’t understand how to spell my girlfriend’s name, there is no way to correct her.
  • I don’t work on public holidays! Stop telling me it’s time to go to work!
  • Saying “Hey Cortana” doesn’t always work. This needs to always work.
  • Microsoft Health integration is only in the US for some reason.
  • Cortana is unusable from Microsoft Band when using Windows 10 Mobile.
  • You can’t set a default location if your device doesn’t have a GPS (unless you use a Fake GPS driver!)
  • She doesn’t sync her tasks or reminders with Wunderlist.
  • For some reason she asks me where I live and work over and over again. Anyone else get this?
  • People in the UK obviously don’t need parcel tracking.
  • There is no way to remove awful news sources like the Daily Mail from turning up, so I have to disable all news features.
  • How does she still not understand Formula 1? It’s a big sport with a world-wide audience!
  • She can shuffle all my music, but can’t play music by mood? Who shuffles 10,000 songs anyway?

Okay, so this may sound like a long list of complaints but this is only because I want to see Cortana be truly great. I feel like the current iteration has been a step backwards in some ways.

Trip Planning

Cortana’s core functionality is still extremely useful and I regularly use her on my Lumia 950 XL and on my Surface running Windows 10.

Cortana in the Windows 10 Taskbar

I also use Cortana inside of Microsoft Edge. You can right click on an element and “Ask Cortana” about it. Note that she’s smart enough to take in the context of the whole page too. You can even do this for images.

Building Cortana directly into apps is one clear way that Microsoft can improve the platform and I’m looking forward to seeing more of this.

Cortana in Microsoft Edge

What we know is coming

Microsoft’s Build conference has just passed, and at it we saw a number of announcements on, what the company is calling, “Conversations as a Platform”. A big part of this strategy is improving Cortana.

Conversations as a Platform

Marcus Ash gave a great demo of some of the new features coming to the Anniversary update of Windows 10, including Cortana working on the lock screen, as well more Google Now inspired cards, and the ability to include more app integrations directly into actions which are surfaced directly in Cortana’s UI.

As part of his demo, Marcus showed some very interesting new experiences where Cortana was integrated into a previously unseen version of Outlook. Not only did Cortana have access to the calendar, she had access to email too – even surfacing tasks directly from email messages. I like the look of this proactive Cortana, and this is something that directly relates to my original task of trying to review what Cortana means for my productivity.

Cortana integrated in Outlook

Another useful feature was where Marcus asked Cortana “What toy store did I go to last year at Build?” and she found the toy store he visited last year when he was in San Francisco. The potential of this is really great and I like the idea of Cortana’s memory being improved.

The demonstrations shown in the keynote were only some of the upcoming Cortana features in the Windows 10 Anniversary Update. Other sessions throughout Build showed Cortana’s integrations in the Windows Ink Sticky Notes as well as the Action Center. Cortana will also manage some of the cross device features, like being able to do text messaging from a PC and getting notifications on the PC when the phone’s battery is low. She’ll also take on navigation duties in the Maps application – replacing the more generic sat-nav voice with her own.

Microsoft’s “Conversations as a Platform” strategy doesn’t just include Windows though, and there was a great demonstration of another application which is already commonly used for conversations – Skype.

Lili Cheng showed a demonstration of a future version of Skype which had Cortana directly built in. As part of this new integration, Cortana is always available and is able to keep track on conversations and contacts. This is similar to the proactive help offered using the Outlook integration mentioned above.

Cortana integrated in Skype

My favourite part of the demonstration was when Cortana was able to work alongside a third party bot in order to complete tasks. Using bots like this is something that interests me greatly – and there I will write more thoughts on this in the coming weeks – but I really like how Cortana can act as an agent in order to get things done.

Bots are going to be an important part of Microsoft’s “Conversations as a Platform”

What I’d like to see

In a lot of ways, the demonstration of Cortana working inside of Skype effected my thinking the most.

It’s now clear to me that the instant message-like conversation is a superior method for communication with Cortana. While I do like the proactive canvas which is launched when you open Cortana in Windows, having a single entry box and an answer that just disappears into the void is extremely unsatisfactory. Moving from the simple “Ask me anything and get a result” interface into a back and forth conversation will unlock so much potential in Cortana – it will be a lot more how you’d talk to someone (like a personal assistant) over Skype.

Conversations with Cortana

But just having a list of messages sent back and forth is not enough – Cortana has to remember the conversations we’ve had. That way, when I correct her on spelling my girlfriend’s name, she’ll remember it for next time. It’ll give her the context to make the best decision on the instruction I have given her via my voice.

When you think about it, it’s pretty crazy that Cortana can go through my calendar and look things up, but can’t remember things in the conversations we had.

I’d also like to see Cortana integrated into the Microsoft Band more deeply. There were hints at this kind of feature in the Microsoft Future Vision video from 2015. It depicted a future version of Cortana sensing that the user had gone “into the zone” and automatically blocked unwanted distractions.

“Future Vision Redux”, November 2015

It’s also pretty obvious to me now that the voice interface in Cortana needs to move into a more natural language model. When I talk to her through my headset I’d like her to be able to continue the dialog without me having to switch to my phone. All of this conversation should go into the same chat history which she’ll remember and can be used to improve conversations over time. This will also unlock completely voice only devices like Amazon’s Echo.

I’m still a fan

Overall, I do still enjoy using Cortana, but I feel like the upgrade from Windows Phone 8.1 to Windows 10 has not been kind to her.

I hold out hope that Windows 10’s position as the base version of Windows moving forward means that the days of the big platform changes are over, and the various teams working on Cortana can continue to do so without having to rewrite components over and over again.

Cortana will continue to be part of my daily workflow and will continue to be one of my main tools for productivity.

I wonder where we will be in another two years.

Highlights from Build 2016

Satya

Even though I have never attended a Microsoft Build conference in person I always learn so much from them.

Every year there are new platforms to try, lots of documentation to read, and many presentations and recoded sessions to watch.

I still have a lot of videos to watch, but here are some of top announcements from Build 2016 which matter to me the most as a developer.

Windows 10 as the best OS for Developers

A number of new features coming to Windows 10 in the “Anniversary” update were shown in the day-one keynote, and then even more features where shown at sessions throughout the conference. Solid improvements to the inking, biometrics, and the Action Center were all well received.

Windows Ink

Many of the features shown help fix minor annoyances in the system. For example, pressing on a live tile showing a preview of a news article can now take you directly to it, and notifications dismissed on the PC or tablet will automatically get dismissed on the phone too.

One of the most exciting new features was the addition of Bash (on Ubuntu) on Windows which is both technically very interesting and extremely useful for many development workflows. The new Ubuntu subsystem will allow any (command-line) Linux application to run natively on Windows. This instantly unlocks a massive amount of tools and utilities for developers, making common scenarios significantly easier from Windows.

Bash on Windows

As a huge fan of command line interfaces I’m going to go into this in more detail in a future article – but essentially Microsoft are positioning Windows to be the ultimate developer platform, no matter what operating systems you use for your solutions.

Azure is growing up with more data centres and services

Microsoft would prefer you use Azure when you deploy your applications though, and the day-two keynote showed that is still serious about the cloud.

Improvements which interested me the most included Azure Functions, Service Fabric, Containers, DocumentDB, and much, much more.

Azure

Azure is the future of Microsoft, and by the numbers they going strong. They’re expanding their datacentres and really betting big on the cloud. This is no surprise to Microsoft watchers, but it’s good to see steady improvements here. Many of which I will use.

Visual Studio keeps getting better

I spend absolutely huge amounts of time in Visual Studio so any improvements here have a very positive effect on my productivity.

Visual Studio 2015 Update 2 was released (with lots of improvements) and an early preview version of Visual Studio vNext was also shown. I’ve tried both and they’re definitely going in the right direction for me.

Visual Studio

I’m especially looking forward to some of the improvements coming in the Visual Studio installation experience moving forward. This should make setting up new development environments much faster, and the side-by-side installations means there’s much less risk when installing previews.

App development for Windows, iOS, Android

The mobile app development story from Microsoft is stronger than it ever has been. This year brings a number of improvements to the Universal Windows Platform (UWP) itself, and a more integrated store experience which now includes the apps on the Xbox One and HoloLens.

The Desktop App Converter lets you wrap up existing Win32 and .NET apps into UWP packages, allowing access to new features like UWP APIs – including Live Tiles. Even though I don’t currently develop any Win32 or .NET applications that I want to put in the store, this is an important step and I’m looking forward to the benefits of this as an app user.

Xamarin

For targeting non-Windows devices, the Xamarin platform is now the obvious choice. After recently purchasing Xamarin (and their amazing talent) they’ve decided to make Xamarin available for no extra charge with Visual Studio. And that includes shipping it with the free Community version. Very cool.

The combination of UWP and Xamarin means I can directly apply my C# and .NET skills to making applications for a wide range of platforms, sharing many code components. It’s really coming together nicely.

.NET and the continued move into Open Source

As well as making Xamarin’s development tools free to Visual Studio users, the folks over at Microsoft also announced their intention to open source the Xamarin SDK (including the runtime, the libraries, and command line tools), and give the governance of it over to the .NET Foundation.

Mono, the cross platform and open source sibling of the full .NET Framework has also been re-licenced to be even more permissive, and given to the .NET Foundation. (To be honest I actually thought this was already the case!)

.NET Core, the future replacement of both the .NET Framework and Mono, also saw steady improvements – my favourite of which was official F# language support:

$ cd hellofs/
$ ls
$ dotnet new --lang f#
Created new F# project in /home/julian/hellofs.
$ # I can now dotnet restore and run this F# app using .NET Core!

The Future of Cortana and Conversation as a Platform

So far everything I have mentioned has been mostly around solid updates to existing platforms, but this year’s Build included a slightly different way of thinking about productivity with the idea of Conversation as a Platform.

Conversation as a Platform

The Microsoft Bot Framework provides templates for creating bots with C# and JavaScript, as well as connectors to simplify their interaction with services like Slack and Skype. When linked with the new Cognitive Services, these bots can understand natural language and perform tasks for the user.

build-cortana

The demonstration of talking to Cortana through Skype was very interesting – where essentially Cortana can act as a broker between the user and other bots on the Internet which can act as experts in their field. I found this very compelling, and something I can see myself using.

As this is as subject that interests me greatly, I’ll be writing more about this over the next week or so.

And everything else…

Of course, there’s no way I could summarise everything I looked at so I have skipped a number of cool announcements ranging from Microsoft Graph to HoloLens.

The hard-working folk over at Channel 9 have videos for many of the events and topics, so be sure to check them out if you’re interested. I’m very thankful that these videos are all made available for everyone to watch, I really enjoy watching them.

Microsoft Future Vision 2015 – Redux

Back in April I wrote about the latest ‘Future Vision’ video from Microsoft and I was very pleased to see this video come back onto my radar.

Dave Jones and Anton Andrews

Larry Larsen at Channel 9 posted an interview with Dave Jones and Anton Andrews – a couple of the guys who worked on creating this fantastic (yet realistic) vision of the future.

Dave and Anton give us some context on the decisions and thoughts behind the various ideas, including a few extra details about my favourite concepts – the flexible digital notebook and the wrist device.

Future Vision

It’s well worth watching if you are interested in these forward looking concepts, but make sure you watch the Future Vision video first!

Something I had missed when watching the original video was the idea that the system itself had noticed Kat had gone into a flow state. The suggestion here is that the various devices would work together, taking sensor information like heart rate and galvanic skin response, to automatically switch into this mode.

Automatic Mode Switching

The system would then automatically block out any unwanted distractions like notifications and set her communication status to do not disturb.

A nice touch is that the earpiece also switches to red to show other human beings. Very cool.

In The Flow State

As a software architect and technology enthusiast I find myself bombarded with huge amounts of information – communication requests, push notifications, reminders, and much more.

Getting myself into the flow state is hard enough (music helps) but keeping it can be even more difficult. The idea of having the system automatically sense this and move things into a ‘do not disturb’ state is very attractive.

An important part of these Future Vision videos is that they are realistic, and all of this could be done today:

  • Notice high amounts of use in productivity apps (Office, Visual Studio)
  • Sense physical changes in the user (Band)
  • Set ‘Quiet Hours’ for notifications (Windows)
  • Change status to ‘Do Not Disturb’ (Skype)
  • Handle exceptions that can break through (Cortana)

Microsoft controls each one of those components, but the fact is that the most futuristic part of these videos is not the hardware or the software – it’s the integration.

Considering Microsoft reaffirmation as the productivity company, it’s probably something they should try to integrate in order to achieve their goal.

Being productive on Windows 10

I thought I’d write down some of my thoughts on how I’m productive on Windows 10 now that it has been out for a little while and all of my machines have been updated.

Including my phone and 7 inch tablet, I run Windows 10 on four machines:

The following discussion is only about the first two, which are both configured to be general purpose devices used for all sorts of tasks, including development and productivity. I’ll write about the phone and tablet another time.

Windows 10 Desktop

With Windows 10 the desktop is back on the PC and, as usual with my computers, there are no icons in sight. I use my desktop for temporary things, not as a place to keep anything for any extended amount of time. If I’m downloading a file to run it through a comparison tool or something like that, my desktop is fine.

I’m still using teal as the main colour for the user interface. I have used this on my workstations for a number of years now and, with Windows 10, the colour configuration is better than ever. You can choose to have it just as a highlight colour on top of black or have variations of the colour used throughout the Start Menu and Action Centre UI. I prefer the latter with this colour choice.

I feel like teal has worked really well for me, it’s fairly conservative and seems to fit into multiple uses really well:

  • It is not too bright, and offers good contrast with both black and white
  • It works well in both cool or warm lighting environments
  • It doesn’t become too saturated when used with high F.lux settings

For my Surface, I have selected a nice ultra-wide space wallpaper which fits nicely with the colours I choose. This has been a real favourite of mine since I first started using it, but I am unsure who the original artist is. I’d love to give them credit.

Windows 10 Taskbar

I have no applications pinned on my taskbar so I get a really clean environment when I have nothing open. I launch all of my applications from the Start Menu or PowerShell.

I’ve loved using live tiles since they were first introduced on the phone. I enjoy the benefits you get from the glanceable information and I find the grid based organisational structure is way more useful than just a menu. My initial thoughts were that having the Start Menu in the corner may not be as good as having it full screen like on Windows 8, but I quickly changed my mind as soon as I started using it on the insider previews.

Right now, I have grouped the tiles into four main sections with the bottom right configured slightly differently depending on which machine I’m using.

Windows 10 Start Menu

My current setup of tiles and most used applications is pretty much a snapshot in time though – I don’t feel like I have had enough time to really know what I want to have pinned here. At the moment I’m enjoying having a mixture of glancable information (Weather, Calendar, etc.) unread content counts (NextGen Reader, Mail, etc.) and launcher icons (Edge, Store, etc.).

I’m certain this will change quite a lot with use.

Windows 10 Cortana

Cortana has been a very welcome addition to the PC. I’ve been using Cortana on my phone since the original previe, and she’s very much a part of my computer use now. She has had numerous improvements over her first iteration and now that she’s available through all my personal Windows devices, using her for things like reminders and glanceable information has been easier than ever.

I use her on my Surface quite a bit, though I do sometimes have trouble with her listening to me when I say ‘Hey Cortana’, so I usually just press WIN + C to activate her, then she has no trouble understanding my requests.

All of my requests are typed when I use the Virtual Machine. Typing requests is as easy as pressing the Windows key. I find typing to be just as natural as speech, and really fast when I’m using a desktop keyboard. I also tend to use the VM when I’m in locations where speaking wouldn’t be very useful anyway.

I have had issues with using the location-based features on the VM, but I worked around it using a Fake GPS driver.

The Task View is a another new addition to the Windows task bar, and even though I regularly use the key combination WIN + TAB to activate it, I still like to have the icon on the task bar anyway. This screen also includes the ability to add a number of virtual desktops. Surprisingly, I don’t use virtual desktops as much as I thought I would – but I am really glad they there when I do use them.

I originally thought I would always split things out every time I used the computer. For example, I thought that all my communications apps would always be in one desktop and development apps would belong in another. It just didn’t really happen that way. As I was regularly switching between them, I quickly got confused when I had more than a few apps open.

Virtual desktops become useful for me when I really want to concentrate on one or two different activities. I move their windows around on the Task View and put them into their own desktop to get a distraction fee environment when I need it. Ad hoc desktops to help me focus have been much more useful than trying to set rules for myself.

CTRL + WIN + LEFT and CTRL + WIN + RIGHT are used to switch back and forth between desktops. (I’d like to see better support for this with a three finger swipe on the trackpad please Microsoft!)

Windows 10 Notification Area

The Notification Area has been shuffled around a bit in Windows 10. The keyboard icon is now integrated and right next to the clock, and there’s now an additional new notification icon for the Action Centre.

I only show the very minimum of icons here – Process Explorer, Power, Network, Sound. I often use a FuzzyClock application to change how the time is displayed down here too. I am not a fan of using the notification area as a place to minimize windows, or launch applications.

Process Explorer is Microsoft’s ultra-nerdy replacement for the Task Manager and something I always use on my Windows machines. I find it to be way more detailed than the built in version and it includes many features developers find useful. As you can see from the screenshot, you also get a glanceable indicator of CPU usage here too. I find that CPU usage is often the most important metric for how the machine is doing, as I don’t really care how much RAM is being used unless I am having problems with something. If I do have problem, full access to everything running on the machine is just a click away.

Windows 1`0 Action Centre

Action Centre is a welcome addition to Windows on the PC, and something I’m already well used to using, thanks to Windows Phone. The version that ships today is not perfect though. Over time I’d like to see better notification sync with the phone. I also find that the having a solid icon isn’t enough to really draw attraction to the fact there is a new notification pending. I’d like to see options here for flashing or some other more substantial indicator, though I have to admit, I probably wouldn’t want it to be like that all time.

In fact, when I’m trying to be super productive, I turn on Quiet Hours. I use this in combination with the Quite Hours feature on my phone to ensure I don’t get annoyed with notifications when I don’t need them. But they’re still a click away.

The utilities I have mentioned above, like FuzzyClock and Process Explorer, are tiny portable executables and don’t require some system-changing installation mechanism. All these small applications I use are stored in a Scripts folder I have been maintaining for years.

This folder lives in my profile under C:\Users\Julian\Scripts and is synchronised to a private Git repository hosted on Visual Studio Online. Inside there are a number of scripts to run automated tasks and setup my PowerShell profile to be exactly the same across machines. In addition to these scripts, there’s a Tools folder which contains all of these small utility applications as well as some larger applications which have been modified to work in a ‘portable’ way.

windows-10-powershell

I spend a lot of my time in PowerShell and this folder is absolutely fundamental to how I complete many tasks on my Windows machines including, but not limited to:

  • Scripting languages and runtimes – Ruby, Python, IKVM
  • Text editors and UNIX utilities- Vim, grep, wget, curl
  • Windows Tools – Process Explorer, Autoruns
  • General Utilities – FileZilla, Far, WinMerge, Putty
  • Plus years of PowerShell and F# scripts, registry files and more

I could probably go into more detail around this in the future. If you are interested, let me know in the comments.

Not everything is installed this way though. Some of the biggest applications I use require installation from the web through subscriptions, like Office 365 and MSDN:

  • Outlook, OneNote, Visio and the rest of Office (from Office 365)
  • Visual Studio Enterprise (from MSDN)
  • Visual Studio Code, Node and Git (free)
  • Wunderlist, Slack and Skype (free)
  • 7-Zip, F.lux, Paint.NET (free)

And finally, there are a number of applications which either are preinstalled on Windows or I have to install from the Windows Store. The ones I use the most are:

  • Groove Music, Film & TV, Photos and other entertainment apps
  • MSN apps like Weather and Sports
  • Audible, Netflix
  • NextGen Reader

Applications installed through the Windows Store are super painless. I wish more applications could be installed this way. I’d like to see more parity with the phone too, and I’m sure that’ll be coming when Windows 10 Mobile ships at the end of the year.

Overall, I feel like I’m more productive on Windows 10 than I have been on any other operating system. I feel like things are only getting better in general – with things like SSH and containers coming soon, the future is pretty bright for Windows 10.

Using Cortana with a fake GPS driver on Windows 10

I’ve mentioned before that I like to offload some of my development and productivity tasks to Virtual Machines running on Microsoft Azure. On these machines I like to run Visual Studio, Office and any other apps I need so I can be productive anywhere.

One of the apps that helps me be productive is Cortana, so I was pleased to get her up and running on my Windows 10 VM.

Cortana can helpfully give you reminders and recommendations based on location, but can you guess what the problem is when using Cortana on a VM in Azure?

Location in Redmond

The location services think I am currently located in Redmond, Washington. Oh dear.

The cross devices functionality of Cortana gets very confused because of this. When I’m using my phone she thinks I’m in Leeds, but if I switch to using the VM she thinks I have suddenly appeared in the United States.

I had a think about how best to approach this issue, and currently I’m trying out a solution which seems to work well: using a homemade Fake GPS driver.

FakeGPS Sensor Driver

I went through the code in the Windows DDK and found an example for creating a GPS driver. Rather than getting the data from a real hardware devices, I hard coded the latitude and longitude. Once I had it set up in exactly the way I wanted, it was just a matter of compiling the C++ for Windows 10 and getting it installed.

Location in Leeds

Now this Fake GPS driver simply returns the geolocation coordinates which I want, and Cortana thinks that I’m in Leeds. Sorted!

This isn’t a perfect solution. For example you have to switch your OS to run in Test Mode, and obviously the location doesn’t automatically change depending on where you are. However my initial use shows me it’s way more useful than just letting the OS guess the location from the IP address.

Cortana on Windows 10

If people are interested in trying out this solution for themselves, I’ll share the code on GitHub. It shouldn’t be too tricky to add an interface to set the location as required.

Let me know in the comments.

Update

It’s on GitHub at https://github.com/juliankay/FakeGPS