There are times when you need administrator rights to run an application, often something as useful as a command prompt needs administrator rights to perform system tasks.
A quick way to do this if you have Cortana on your taskbar is to quickly type CMD into Cortana and you will be presented with a dialog like this:
Select Run as Administrator and you are good to go