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. Long running scripts

    in Windows 10 Customization
    Long running scripts: Keep getting message program wont respond due to long running scripts and locks up https://answers.microsoft.com/en-us/windows/forum/all/long-running-scripts/fd5b706d-50e8-405d-9921-f46d1eab1bef
  3. application run as admin

    in Windows 10 Customization
    application run as admin: Hi Team, i have windows10 pro 64 bit operation system and part of domain account. i facing below mentioned issues while open the application. 1. i have installed that application using local administrator profile 2. but when my user login with domain user profile and...
  4. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531
  5. Run PowerShell Script As An Administrator

    in Windows 10 Support
    Run PowerShell Script As An Administrator: Hi. So I've been searching online on a way to do this yet I cannot find a way to do it. _______________________________________ I need this in specific: I want to double click a PowerShell script file (which will run as an administrator) from Windows Explorer that has...
  6. 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...
  7. Running the SFC and DISM commands

    in Windows 10 BSOD Crashes and Debugging
    Running the SFC and DISM commands: The picture below shows how I run the sfc & dism cmds --- sfc should be run before & after the dism cmd --- [IMG] It works for me. https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/running-the-sfc-and-dism-commands/3d325608-c97d-401a-8cbf-9d0a7f499bcb
  8. Task Scheduler is running script On workstation unlock and At log on..

    in Windows 10 Support
    Task Scheduler is running script On workstation unlock and At log on..: I have a task scheduled to play a sound when I unlock my computer, but after a restart or boot it also plays at log on. How do I make Task Scheduler stop running this script 'at log on'? 114049
  9. 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...
  10. Running Commands as an Administrator

    in Windows 10 Support
    Running Commands as an Administrator: I've just downloaded my Windows 10 upgrade and can't send mail through Outlook 13. On a forum I was told to run the sfc command but when I tried, I was told that I'm not an administrator. Mine is the only account on my PC, so surely I must be. Help please! 16164