Run command prompt as admin

Run command prompt as admin
Photo by Nathana Rebouças / Unsplash

When remote to a client computer that doesn't have administrator permission.
You can use "runas" command in the command prompt to run the command as admin.

runas /user:yourcomordomainname\youruser cmd

Enter the admin password, and a new command prompt window will open.

To open

  • compmgmt.msc
  • printmanagement.msc
  • control