troubleshooting Question

Method to launch program such as Command Prompt, PowerShell, or other app from Command prompt with admin rights

Avatar of IT Guy
IT GuyFlag for United States of America asked on
PowershellWindows OSWindows 10* commandlineMicrosoft Server OS
14 Comments3 Solutions39 ViewsLast Modified:

What is the command-line syntax to launch a program such as the Command Prompt, PowerShell, or other apps from Command prompt using local Administrator username and password from Command line command that includes local administrator username & password?


I often remotely connect to a user's computers who don't have administrator rights and then I need to be able to launch the  Command Prompt, PowerShell, or other apps (running with administrator rights) from the Command prompt.


What's the command-line syntax for such a command?

ASKER CERTIFIED SOLUTION
David Johnson, CD
The More I know, the more I don't know
Join our community to see this answer!
Unlock 3 Answers and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros