So my Surface pro 3 running the anniversary update and latest updates got hot. So hot that I got the white thermometer of death.

I borrowed this picture from this topic on Microsoft Community. I could not take my own picture, because I was too upset.

So I contacted the store where I bought the device and there has been a change with the return policy in the Netherlands. So I could not send it in for repair at the store. I had to contact Microsoft myself. After logging in with my Microsoft account I could register the issue without any issues. Microsoft mailed me an UPS label for the box and within a few days I got a mail with a trackingcode that a similar device was heading my way.

My SP3 was over 1,5 year old and like a lot of overheating sp3’s equiped with an i7 cpu.

Windows Store

Having a lot of applications in the store, made it easy for me to get back to work fast. Open live writer is now a store app too so that is nice! The only applications I had to download outside the store were:

  • Visual Studio
  • FileZilla
  • Skype (I know there is a preview uwp app in the anniversary update…)
  • Sql Server Management Studio
  • Office 365
  • Notepad++
  • Adobe cloud (and Photoshop)
  • Chrome
  • Firefox (and mozbackup)
  • Github for Windows
  • TeamViewer
  • Snip (office mix)


It would save me even more time if those were in the store. And if Visual Studio had some kind of installed extension restore option.

So I was supprised how fast and good the service for the surface is and how fast people can get back to work with all the latest software on Windows 10. Could be even faster if I would do a system restore. But I wanted a clean install with all the legacy sql, mvc, azure installers etc. Maybe it will be even faster in the future with using chocolatey or oneget and restore settings stored in the cloud (onedrive)


I hope this will cheer up people who have Surface heating issues. I was only a week without the surface.

Good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn

I have finished migrating from an “old” virtual private server (VPS) running Windows Server 2008 to a server running 2012 r2 which includes IIS 8.5

At this time the 1.9.1 is the latest

After extracting the zip you need to move the content to a permanent folder from where you can keep running the Automated Certificate Management Environment (ACME) which can renew the certificates



If you run it as admin, it will ask you for your e-mail. It will stay private, it’s just to notify if a renewal failed.

Will you agree on

next is a list, not of the websites but the bindings. Mine was rather big (100 entries) and contained multiple pages. After the bindings there are more options:



After selecting a “website” number you can specify the user which will be used to run the renewal process.

The last step is to make an entry in your calendar to verify that the renewal succeeded.

I have also installed Certify to view the certificates 

I used version Alpha V0.9.85

All that was left was to test the website with https and if it succeeds, make an IIS redirect to route all traffic to the https version:



Good luck and enjoy the free SSL certificates!

Pin on pinterest Plus on Googleplus Post on LinkedIn
  •   Posted in: 
  • IIS

It has been a while since my last blog. But here is a small snippet to redirect traffic to an other place. I needed it because we have 2 domains on shared hosting. Both containing mail accounts. I could not simply add a hostheader for the 2nd domain, because it would remove all mail accounts. So I used this web.config file:

<?xml version="1.0" encoding="UTF-8"?>
        <rule name="Domein doorsturen naar andere website" stopProcessing="true">
          <match url="(.*)" />
            <add input="{HTTP_HOST}" pattern="^(?:www.)olddomain\.com$" />
          <action type="Redirect" url="{R:1}" />


ps. I used precode from codeplex to insert the xml code in an open live writer post.

Pin on pinterest Plus on Googleplus Post on LinkedIn

We have recently moved from hosted mail (pop3/imap) to Office365. This works perfectly with Outlook 2016 on Windows. The 2016 mac version of Outlook is also really good. However it just does not auto display the shared mailboxes. This can be easily solved.

just a simple, file –> open –> other users folder. and select the shared mailbox.


No outlook

It is a lot harder to add a shared mailbox to the default in Mac OS X. This manual configuration did not work. It suggests to use your main account and a slash and then the shared name or alias.

Here are the configuration details (which did not work for me)




password: personal-password

(if necessary: Port 993, SSL = ON and Password authentication)




password: personal-password

(if necessary: Port 587, SSL = ON and Password authentication)


I could not get it to work.

but this did work:

login as admin in office365 go to “users” and not the shared mailboxes.



There are users for shared mailboxes, but no one uses the user account. It is just internally needed for the mailboxes. Click the one that is corresponding with the shared mailbox and reset the password.

You can now use the credentials as above. Just use the pseudo user from the user list and the new password and as mail address the one from the shared mailbox

and as server. You can use the default in Mac OS X (10.10 or 10.11) It is a lot more work then with outlook, but if you are really fond of the default application, this is a solution to keep using it without moving to outlook.


Enjoy and good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn

We have a lot of customer data in our system and I wanted to have a shared contact list with all the customer data for my co-workers.

I looking into some Office365 docs and found this walkthrough to create the folder:


So afterwards you have an empty but shared contact folder. I thought that I needed the Microsoft Graph to access these contacts. Which would require my app to be in azure and it cannot have a command line only because of the authentication. More about that approach can be found here

But it seems that this is not needed for my simple one time import

I thought that it might be a job for a PowerShell script and found this

But there is an other option. Use Interop, because I as an Office365 user have Outlook 2016 on my Windows 10 machine and Visual Studio 2015. So create a new (console) application and add a reference to Outlook Interop:

I used this code to get to the “customers” address book:

using System;
using Outlook = Microsoft.Office.Interop.Outlook;

namespace UploadContactsToOffice365
    class Program
        static void Main(string[] args)
            var ap = new Outlook.Application();
            foreach(Outlook.Folder f in ap.Session.Folders)
                if (f.Name.ToLower().Contains("openbare")) // jp openbare mappen (public folders)
                    foreach (Outlook.Folder f2 in f.Folders)
                        if (f2.Name.ToLower().Contains("alle")) // alle openbare mappen (all public folders)
                            foreach (Outlook.Folder f3 in f2.Folders)
                                if (f3.Name.ToLower().Contains("klanten")) // customers (folder name)
                                    foreach (Outlook.Folder f4 in f3.Folders)
                                        if (f4.AddressBookName.ToLower().Contains("customers"))

                                            /// display current items:
                                            //Outlook.Items oItems = f4.Items;
                                            //for (int i = 1; i <= oItems.Count; i++)
                                            //    Outlook._ContactItem oContact = (Outlook._ContactItem)oItems[i];
                                            //    Console.WriteLine(oContact.FullName);
                                            //    oContact = null;
                                            // add test item:

                                            Outlook.ContactItem newContact = (Outlook.ContactItem)ap.CreateItem(Outlook.OlItemType.olContactItem);
                                                newContact.FirstName = "Jo";
                                                newContact.LastName = "Berry";
                                                newContact.Email1Address = "";
                                                newContact.CustomerID = "123456";
                                                newContact.PrimaryTelephoneNumber = "(425)555-0111";
                                                newContact.MailingAddressStreet = "123 Main St.";
                                                newContact.MailingAddressCity = "Redmond";
                                                newContact.MailingAddressState = "WA";
                                            catch (Exception ex)
                                                Console.WriteLine("The new contact was not saved. " + ex.Message);


This is not the prettiest code I have written. So there must be a better way. But this is just a one time application to loop through some database records and add contacts. So I will just leave it like this. Please let me know in the comments if you have suggestions to improve readability. The code snippet will give this contact in your (and the rest of the companies) outlook:

If you are looking how to import a folder full with vcf cards you should take a look at this MSDN article.

This should give you enough pointers to bulk add contacts to a shared folder in Office365 (Outlook 2016)

Good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn