slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Of course, replace your product key here.

This didn't work for me for some reason. I had to go traditional gui route and that worked. Same product key.