If I'm using command prompt on a Windows machine, there is a 99% chance that whatever I'm using it for needs to be run as administrator. Which frustrates me, since I need to right click the program each time and run it specially as an administrator. So instead, here's how to fix that on a 2012r2 machine. It will still prompt for UAC, unless you shut UAC off completely, but I would never do that.
Search for cmd, right click it, and click "Open file location"
Mine already took me to the shortcut version. So, right click it, click Properties, click the Shortcut tab, click Advanced in the lower right, and then check the box "Run as administrator". Click Ok, Apply. Now just toss that shortcut wherever you want, and it'll always run as administrator when you use it. I right click mine and put it in the taskbar, for quick access.
If yours doesn't take you to a shortcut version, it might take you right to the actual file in C:\Windows\system32. In that case, right click the file, and click Create Shortcut. It will prompt you to put the shortcut on your desktop. Click yes. When you find the shortcut on your desktop, simply follow the steps from above.