Ever run into a situation where you need to run a program as admin and Windows is not allowing you because you're in a screenshare with someone and UAC is prompting you but not let you type in your administrator credentials? Give the following a try!
- Open a command prompt.
- Type in the following command.
- runas /user:Administrator cmd
- type in your Administrator password
- Another command prompt will open up but this time, its run under the Adminstrator account.
- Navigate to the executable file you want to run, if its not in the environment path and type in the name and hit enter.
- Note: for some reason, you can't open the control panel by running control.exe from this. If anyone knows why, please let me know.