From http://open.silverstripe.org/ticket/6005 I had to add "windows phone" to agent detection ``` public static function is_windows() { return (preg_match('/(windows ce; ppc;|windows ce; smartphone;|windows ce; iemobile|windows phone)/i', $_SERVER['HTTP_USER_AGENT'])) ? true : false; } ```