Windows 10: Running a Command script with Run As despite logged on as Admin?

Discus and support Running a Command script with Run As despite logged on as Admin? in Windows 10 Support to solve the problem; I have two accounts. One being Admin and one being Standard. How come some program installers or command scripts need for the Run As Admin even if I... Discussion in 'Windows 10 Support' started by win10freak, Jan 2, 2019.

  1. Running a Command script with Run As despite logged on as Admin?


    I have two accounts. One being Admin and one being Standard.

    How come some program installers or command scripts need for the Run As Admin even if I am logged on as my Admin account?

    I thought that being logged on as a Standard account, then there would be always the case to Run As Admin.

    But like mentioned, I signed in as the Admin account and some command script gave an error that I need to run it as elevated rights.

    :)
     
    win10freak, Jan 2, 2019
    #1
  2. Try3 Win User

    Run PowerShell Script As An Administrator


    Of course, there is always the elevating shortcut method. This requires one extra step compared to setting up such a shortcut for a batch file.

    1 Create a shortcut to your PS1 file [by, for example, dragging it with the Alt key pressed]
    2 Right click on the shortcut & select Properties
    2.1 At the start of the target field, type in powershell.exe then a space to separate it from the script's path-name
    2.2 Click on the Advanced button & set the Run as Admin checkbox.
    2.3 OK, OK
    {you will notice the shortcut's icon change when you do this}

    You can now double-click on the shortcut instead of your original script and it will run as Admin [after the normal Admin challenge].

    The extra step compared to doing this for batch files is 2.1. Batch files can be set to run as Admin without having to job the Target field.

    Denis
     
    Try3, Jan 2, 2019
    #2
  3. long running script in email account

    Hi,

    The long-running script error usually occurs when there are issues with Internet Explorer.

    To resolve your concern, we suggest turning off the scripting debugger in Internet Explorer 11. Please follow these steps:

    • Open Internet Explorer.
    • Click the Settings icon at the top-right corner, then select Internet Options.
    • On the Advanced tab, uncheck Disable script debugging (Internet Explorer) and
      Disable script debugging (Other).
    • Click Apply, then OK.

    Once done, check if the issue will still persist.

    Update us with the outcome so we can provide further assistance.
     
    Ronalene Mat, Jan 2, 2019
    #3
  4. Running a Command script with Run As despite logged on as Admin?

    'long running script' error

    Hi Sandi,

    The issue may occur due to setting configuration of your IE11. In order for us to assist you, please answer the questions below:

    • Were there any changes made prior to the issue?
    • What troubleshooting steps have you done so far?

    In the meantime, we suggest to check this thread:
    Message that website is not responding due to a long running script
    . Look for Don Varnau answer. It contains troubleshooting steps pertaining to the issue.

    We look forward to your response.
     
    Phillip Pio, Jan 2, 2019
    #4
Thema:

Running a Command script with Run As despite logged on as Admin?

Loading...
  1. Running a Command script with Run As despite logged on as Admin? - Similar Threads - Running Command script

  2. Command Prompt and Powershell will ONLY Run as Admin

    in Windows 10 Gaming
    Command Prompt and Powershell will ONLY Run as Admin: I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I...
  3. Command Prompt and Powershell will ONLY Run as Admin

    in Windows 10 Software and Apps
    Command Prompt and Powershell will ONLY Run as Admin: I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I...
  4. Stop running this script?

    in AntiVirus, Firewalls and System Security
    Stop running this script?: i recieved a popup saying: Stop running this script? A script on this page is causing your web browser to run slowly. If it countinues to run, your computer might become unresponsive. Yes No i had no browsers...
  5. windows admin center- Unable to run custom scripts

    in Windows 10 Customization
    windows admin center- Unable to run custom scripts: When I run custom script Application items not being listed when reviewing from WAC. Im not sure if it not configured correctly or if I am missing an extension. Additional information: SCCM host is running on Windows Server 2019 version 1809 OS build 17763.1518 WAC is...
  6. Stop running this script?

    in Windows 10 BSOD Crashes and Debugging
    Stop running this script?: I keep getting a box up with a yellow triangle with an exclamation mark with the above heading. it also says "a script on this page is causing your browser to run slowly. If it continues to run your computer might become unresponsive." As many as a dozen of these come up...
  7. long running scripts-

    in Windows 10 BSOD Crashes and Debugging
    long running scripts-: how do you get rid of them https://answers.microsoft.com/en-us/windows/forum/all/long-running-scripts/3caf0be8-dca2-4062-bbd4-93ce3c3b1fa4
  8. Script running

    in Windows 10 BSOD Crashes and Debugging
    Script running: Every so often my computer will freeze on a page. I get a message push this button to stop the script, when I do this the page will unfreeze. https://answers.microsoft.com/en-us/windows/forum/all/script-running/95442ea7-9470-4cf6-815a-b9a626b9af61
  9. Can't run command prompt as admin... Even when opening as admin.

    in Windows 10 BSOD Crashes and Debugging
    Can't run command prompt as admin... Even when opening as admin.: To keep my problem succinct: [ATTACH] Click "yes" on the security pop up (doesn't ask for my password, this is the only account on this laptop). Try to type in command I want to do, get this: [ATTACH] ... Just wanted to know why my network adapter keeps crashing every...
  10. Running Script

    in Windows 10 Support
    Running Script: I am running Windows 10 / IE 11 and I keep getting a running script error (“Do you want to continue running scripts on this page”?) and it is driving me crazy. I am not real tech savvy so I don’t know where to look on how to. It just started doing it and I have been using...

Users found this page by searching for:

  1. can i script a command to run despite windows updates being applied