I want to open an elevated cmd while logged in to a standard user account. I'm using this command to open an elevated command-line. The user specified in the command is in the local admin group on my computer.
runas /user:DOMAIN\USER cmd.exe
The command prompts me to enter a password. Once I've entered the correct password, another instance of the command-line opens. Next, I use a command like net stop "service", but I get an Access Denied error.
Ultimately I want to use this command to run an automated batch script on accounts without admin rights, but I can't get the runas command to even open the cmd with elevated permissions.
OS: Windows 7 Pro 64-bit
Computer is connected to Domain
No GPO stopping this command
Secondary Logon Service - Started