Windows 10: cmd Scripts ask for elevated prompt

Discus and support cmd Scripts ask for elevated prompt in Windows 10 Support to solve the problem; Hello, again *Smile I made a script to run a mmc console for de "Users & Computers of the domain" (DSA.EXE) Code: @Echo Off... Discussion in 'Windows 10 Support' started by fmartel, Mar 28, 2018.

  1. fmartel Win User

    cmd Scripts ask for elevated prompt


    Hello, again *Smile
    I made a script to run a mmc console for de "Users & Computers of the domain" (DSA.EXE)

    Code: @Echo Off C:\Windows\System32\runas.exe /netonly /user:domain\user "mmc dsa.msc"[/quote] It was working fine until I ran into this issue :

    Erreur de RUNAS : Impossible to execute - mmc dsa.msc
    740 :The requested operation requires elevation.

    Why now ?

    is it because I got tired of UAC and put my "normal" account into the local computer admin group ?

    :)
     
    fmartel, Mar 28, 2018
    #1

  2. 0x800705b4 error on windows update.

    1.You are not running CMD with administrative privilages thus no cache is cleared.This script is useless if not run in elevated Command Prompt.

    2.To run elevated CMD, download the script, right click the wureset.bat file and select run as administrator.

    3.Press yes if prompted.
     
    Sumit Dhiman2, Mar 28, 2018
    #2
  3. Windows 10 Run DLL error message at startup

    Hi Virginia, I tried to use PowerShell and the CMD prompt and it asks for an 'elevated' command prompt. What is that? It did not give me the option of clicking on administrator.
     
    CynthiaGood, Mar 28, 2018
    #3
  4. fmartel Win User

    cmd Scripts ask for elevated prompt

    I've tried this command also, with the same results :
    Code: runas /netonly /user:"domain.local\user.admin" c:\Windows\System32\dsac.exe[/quote]
     
    fmartel, Apr 2, 2018
    #4
  5. Samuria Win User
    You need to be admin to run console
     
    Samuria, Apr 2, 2018
    #5
  6. cereberus Win User
    Right click on .cmd file, select run as administrator.
     
    cereberus, Apr 2, 2018
    #6
  7. fmartel Win User
    My point is to make it run as an admin without having to do this step *Wink
     
    fmartel, Apr 2, 2018
    #7
  8. fmartel Win User

    cmd Scripts ask for elevated prompt

    I solved my problem with Display fusion.
    I created a shortcut directly to DSA.exe and forcing it to "Run as an admin"

    cmd Scripts ask for elevated prompt [​IMG]
     
    fmartel, Apr 4, 2018
    #8
Thema:

cmd Scripts ask for elevated prompt

Loading...
  1. cmd Scripts ask for elevated prompt - Similar Threads - cmd Scripts ask

  2. Cmd prompt randomly opens runs a script and closes

    in Windows 10 Network and Sharing
    Cmd prompt randomly opens runs a script and closes: When Im doing stuff like school work or playing video games command prompt randomly opens up and closes. Its really annoying and im scared theres something wrong with my pc and i really hope its not messed up. Once i caught it and it says it was "terminating damaged files"...
  3. Cmd prompt randomly opens runs a script and closes

    in Windows 10 Gaming
    Cmd prompt randomly opens runs a script and closes: When Im doing stuff like school work or playing video games command prompt randomly opens up and closes. Its really annoying and im scared theres something wrong with my pc and i really hope its not messed up. Once i caught it and it says it was "terminating damaged files"...
  4. Cmd prompt randomly opens runs a script and closes

    in Windows 10 Software and Apps
    Cmd prompt randomly opens runs a script and closes: When Im doing stuff like school work or playing video games command prompt randomly opens up and closes. Its really annoying and im scared theres something wrong with my pc and i really hope its not messed up. Once i caught it and it says it was "terminating damaged files"...
  5. CMD Prompt

    in Windows 10 Gaming
    CMD Prompt: Hi,I have several strange things happening recently. I am running Windows 11 and have not had a problem until the last week or so. I tried running DISM and SFC but I can't launch the Command Prompt with Admin rights from Search. It seems to launch via Task Manager but the App...
  6. Cmd prompt and cmd prompt csscript.exe

    in Windows 10 Ask Insider
    Cmd prompt and cmd prompt csscript.exe: Hello Lovely people,Im from the Netherlands so my english isnt that very good,But couple of days when i start my up i got an cmd prompt but its empty so it doesnt say anything it stays a few sec and then it goes away and then i get the cmd prompt but with cscript.exe and then...
  7. How to elevate to administrator from Cmd prompt?

    in Windows 10 Installation and Upgrade
    How to elevate to administrator from Cmd prompt?: I'm having difficulties with Windows repair disk not repairing my MBR. I've tried different starup disks and nothing is working! My only hope at this point is to use command prompt to repair it, but I am not sure how I can elevate to administrator! I've tried the runas...
  8. UAC Elevation prompts?

    in AntiVirus, Firewalls and System Security
    UAC Elevation prompts?: Which is more secure regards to the UAC Elevation prompt? And which one should I select for the Admin account? Prompt for Credentials on the Secure Desktop or Prompt for Credentials? 137776
  9. Cmd prompt

    in Windows 10 Installation and Upgrade
    Cmd prompt: My cmd prompt isn't opening for my file (use for Minecraft modding) The option doesn't even show up to use it all that shows up is powershell https://answers.microsoft.com/en-us/windows/forum/all/cmd-prompt/5f084111-fa7d-4cdd-b450-68c430dcd7b0
  10. Switch to non-elevated program from elevated prompt

    in Windows 10 Support
    Switch to non-elevated program from elevated prompt: Hi, I use an administrative mode (elevated) command prompt to maneuver through most of my day. I have a code editor (in this case, Crimson Editor) open at all times, and when I need to edit a file quickly, I simply type cedt <filename> at the command prompt. What is...