How to use RunAs without password prompt?

Discus and support How to use RunAs without password prompt? in Windows 10 Support to solve the problem; Hi! I tried to use RunAs to start and program as admin. After entering this command: RunAs.exe /user:Administrator "regedit.exe" it shows prompt to... Discussion in 'Windows 10 Support' started by MIRKOSOFT, Jun 10, 2018.

  1. MIRKOSOFT Win User

    How to use RunAs without password prompt?


    Hi!

    I tried to use RunAs to start and program as admin.
    After entering this command:

    RunAs.exe /user:Administrator "regedit.exe"

    it shows prompt to enter password.

    Is possible to override password prompt by any way?
    Or enter password in command?

    Thank you for help.
    Miro

    :)
     
    MIRKOSOFT, Jun 10, 2018
    #1
  2. Nachappa C K Win User

    runas command for username with spaces

    Hi,

    Thank you for posting your query in Microsoft Community.

    I understand the issue that you are currently facing, we will try the best we can to resolve your issue.

    Since this command may run under both elevated and non-elevated privileges. I would suggest you do a SFC Scan and see if everything is working properly in your system.

    Follow the steps to run the System File Checker

    • On the Search bar type “cmd” and click ctrl + shift + Enter to open the Elevated Command Prompt. (If prompted for a password, type the password and click Allow)
    • Type “sfc /scannow” and hit Enter.
    • Exit Command Prompt.
    For more information about SFC Scan click on the link below:

    https://support.microsoft.com/en-us/kb/929833

    Hope the information helps. Please let us know if the issue persist and we will be happy to assist you further.
     
    Nachappa C K, Jun 10, 2018
    #2
  3. OliverHaus Win User
    Windows 10 still accepting my old password at logon

    If you have changed your password through live.com (aka outlook.com) and it isn't synchronized with your local Windows account, do the following:

    • Open a command prompt and type:
      runas /u:[my account]@outlook.com cmd.exe
      *replace [my account] here with your own username - change @outlook.com to whatever domain your MS account uses
    • Type your new MS account password and hit Enter

    The above steps will synchronize your Microsoft password to your local machine. This worked for me as I had the same issue reported here.
     
    OliverHaus, Jun 10, 2018
    #3
Thema:

How to use RunAs without password prompt?

Loading...
  1. How to use RunAs without password prompt? - Similar Threads - RunAs without password

  2. How to disable the HOME key?

    in Windows 10 Customization
    How to disable the HOME key?: I want to change the registry entry 'Scancode Map' to disable the HOME key. I have already disabled the Caps Lock key and I want to add the Home key to the string but cannot find the changes to make. I DO NOT want to use 'Disable Key' program. Thanks....
  3. what are "hanging or crashing apts"? And how do I fix it?

    in Windows 10 Software and Apps
    what are "hanging or crashing apts"? And how do I fix it?: What are "hanging or crashing apps" and how do I fix it? https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_music/what-are-hanging-or-crashing-apts-and-how-do-i-fix/4a7981fa-d3e1-435f-8aef-b34ee727a26c
  4. All my emails prior to yesterday are missing. Where did they go and how do I restore them?

    in Windows 10 Customization
    All my emails prior to yesterday are missing. Where did they go and how do I restore them?: All my emails prior to yesterday are missing. Where did they go, and how can I restore them? https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/all-my-emails-prior-to-yesterday-are-missing-where/caac2dbf-a663-452b-b9a8-22484857589b
  5. how to open mix file in windows 10

    in Windows 10 Customization
    how to open mix file in windows 10: I have *.mix files which I can't open them in Windows 10. Is any application can be downloaded to open mix files? https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/how-to-open-mix-file-in-windows-10/495dc746-1b7e-4166-941a-809b409b6c44
  6. my file is not readable. how do I change it so I can read it?

    in Windows 10 Software and Apps
    my file is not readable. how do I change it so I can read it?: my file is not readable. how do I change it so I can read it? https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_books/my-file-is-not-readable-how-do-i-change-it-so-i/da93c09e-466e-427a-bf5d-b811c82224bb
  7. How drag an icon to the quick start area of the Taskbar

    in Windows 10 Support
    How drag an icon to the quick start area of the Taskbar: I have a program icon on my Desktop and would like to drag it to the Quick Start area of the Taskbar (the area second from the right of the screen / to the left of the system tray or notification area.) I've tried left clicking and dragging - and right clicking and dragging -...
  8. computer has password bug not recognising

    in Windows 10 Customization
    computer has password bug not recognising: my computer is not recognising my password...is profile compromised? https://answers.microsoft.com/en-us/windows/forum/windows_10-start-win_general/computer-has-password-bug-not-recognising/04572c79-dc6e-4779-b035-4d58e431a9b7
  9. how do you block a contact

    in AntiVirus, Firewalls and System Security
    how do you block a contact: I need to block a contact https://answers.microsoft.com/en-us/windows/forum/windows_10-security/how-do-you-block-a-contact/5093fa95-5615-4b8f-adac-be5843ceb763"
  10. how do i show that i am the security administrator

    in AntiVirus, Firewalls and System Security
    how do i show that i am the security administrator: how do i show that i am the security administrater https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_start-protectwindows8_1/how-do-i-show-that-i-am-the-security-administrator/0f39757f-97ae-45eb-aaf8-d9e4ec47ec9f