elevate command

About this tag
The elevate command tag covers discussions about running commands with administrative privileges in Windows, particularly through the command line. Users often seek methods to elevate a command via cmd.exe, such as using runas or other techniques, and encounter errors like incorrect password prompts or access denied. Common troubleshooting includes verifying admin credentials, understanding User Account Control (UAC) settings, and exploring alternative elevation methods like creating scheduled tasks or using PowerShell. The tag is relevant for IT professionals and power users managing Windows systems who need to execute elevated commands for scripting, system administration, or software installation.
  1. metulburr

    Windows 8 how to elevate a command via cmd.exe

    I am trying to elevate a command given (in this case just another cmd.exe) if the user is not admin. However i get the error: C:\Users\metul_000>runas /user:administrator cmd.exe Enter the password for administrator: Attempting to start cmd.exe as user "WINDOWS8\administrator" ... RUNAS ERROR...
Back
Top