About 56 results
Open links in new tab
  1. using "runas" with "Administrator" account versus other admin accounts

    On my computer, I have two admin accounts. The default admin account named "Administrator", and a new admin account named "testadmin." If I run the following commands: runas /user:testadmin cmd.exe

  2. Enter Admin password when prompted by RunAs cmd - Super User

    Mar 10, 2022 · runas /user:localadmin "c:\users\localuser\desktop\control.exe" < password.txt What this does is use password.txt as input as if these are entered in console by a user. Every keypress you …

  3. Running a command as an administrator with Runas.exe

    Feb 3, 2016 · I've read several threads about using the runas.exe command to start an elevated process. However, when I type try to use the command runas.exe /user:BruceWayne\\Administrator …

  4. windows - Running runas cmd in Powershell - Super User

    Jan 1, 2015 · I am a beginner and am trying to understand how to use the runas command in Windows Powershell. When I type the following command into Powershell: runas …

  5. powershell - "Parameter is incorrect" when using runas with trustlevel ...

    Oct 26, 2022 · I had a script that needed to run as an administrator but then run a single command in a non-elevated context. I was previously doing it with runas /trustlevel:0x20000 program.exe, but after …

  6. Command line runas to really, really run as administrator

    Nov 30, 2022 · Or "runas /user:administrator cmd.exe" - it does run a command prompt, it says "running as administrator" - but in reality it is not. I can right-click mybatch.cmd and "Run as administrator" : …

  7. administrator - Runas not working on Windows 10 - Super User

    Mar 17, 2016 · runas works just like it always did on Windows 10, that functionality, has not changed in several versions of Windows. There is something else going on. I wasn't able to reproduce the …

  8. after upgrade to win11 runas.exe no longer passes windows credentials ...

    Dec 4, 2023 · I've been running SQL Server Management Studio (SSMS) using runas.exe (in a shortcut on my taskbar) with no problem under Win10. Since the upgrade, however, while SSMS will run …

  9. windows - Run as different user and elevate - Super User

    Oct 18, 2013 · I don't think such an option exists. As a work around you could start the command line as an admin and execute the following command to run the command line with admin privileges as the …

  10. windows runas command with elevated privileges, user in admin group

    I tried the runas command, but it doesn't seem to work: >runas /user:me "cmd" and it asks for a password, and then the command is executed with normal privileges. I know I could use …