To run the Command line/command prompt as administrator in Windows 10 :
1. Click search icon.
2. Type Command in the search box.
3. You will see the result: Command Prompt at upside, right click on it.
4. Choose/click Run as administrator.
5. The command line/ command prompt with administrator rights will appears.