You can use the following two methods to run Command Prompt as administrator on Windows 10 computer.
Video guide on how to run Command Prompt as administrator in Windows 10:
Way 1: Make it via the Quick Access Menu.
Step 1: Press Windows+X to show the menu, and choose Command Prompt (Admin) in it.
Step 2: Select Yes in the User Account Control window.
Way 2: Make it via the context menu.
Step 1: Search cmd, right-click Command Prompt and choose Run as administrator on the menu.
Step 2: Tap Yes to allow CMD to run as administrator.