New
#1
CLI runas admin
MembersCode:net localgroup administrators
-----------------------------
Administrator
user
<enter user, which should be administrator, pass>Code:runas /user:Administrator "chkdsk c:"
user name or password is incorrect
<enter user pass>Code:runas /user:user "chkdsk c:"
attempting to start chkdsk c: as user ...
Fails to run.
What am I missing here? Is there a way to give Administrator member its own password. It appears as though my user pass doesn't work even though it's supposedly admin. To be clear, I'm not asking how to right click. How do I elevate to admin privilege and run a program through cli?