Windows 10: Task scheduler asking users for admin credentials

Discus and support Task scheduler asking users for admin credentials in Windows 10 Software and Apps to solve the problem; I'm a system administrator and have an application .exe that I need to run when a standard user logs in, but with elevation. I have tried doing this... Discussion in 'Windows 10 Software and Apps' started by RandyHoffman, May 18, 2022.

  1. Task scheduler asking users for admin credentials


    I'm a system administrator and have an application .exe that I need to run when a standard user logs in, but with elevation. I have tried doing this with both Powershell and the Windows Task Scheduler using tips I've found online, however when I log in as a standard user I keep getting prompted for my admin password in order for the task to run. I'm assuming at this point that the online suggestions only apply for older versions of Windows, as I am using Windows 11 currently.Can someone point me in the right direction?

    :)
     
    RandyHoffman, May 18, 2022
    #1

  2. Scheduled tasks run with elevated privileges can't access stored Windows credentials

    It seems that after Creators update scheduled tasks run with elevated privileges ('run with highest privileges' option) can't access stored Windows credentials. Is that a bug or an intentional change and is there a recommended workaround?

    Here's one way to reproduce the behaviour:

    • Start Credential Manger and add some Windows share credentials.
    • In a console window type 'cmdkey /list', which should list the added credentials
    • Create a task in a task manager:
      • Trigger: on user logon
      • Action: run cmd.exe
      • Tick the 'run with highest privileges' option
    • Reboot the machine and log in
    • In the console window (let's call it 'console 1') opened from the scheduled task type 'cmdkey /list'. This most likely won't display the credentials added in step 1 and properly listed in step 2. ->
      This looks like a bug
    • Now, without closing 'console 1' open another console window as an administrator (let's call it 'console 2') and type 'cmdkey /list'. This will properly list credentials added in step 1.
    • Switch to 'console 1' and type 'cmdkey /list' again. This time the credentials are listed properly, unlike in step 5. It looks like an access to Windows credentials was somehow 'unlocked' by step 6.
     
    MarcinMrowiec, May 18, 2022
    #2
  3. Task scheduler user account list includes user accounts that have already been deleted from the computer.

    Thanks for providing the results of the troubleshooting steps we provided. Since the credentials are still showing up in task scheduler, we suggest that you follow the steps below to check the entries in the credential manager and delete the entries manually:

    • Type the words Credential Manager in Cortana or the search box.
    • From the list of results select Credential Manager
    • From this screen, you can manage Web Credentials and
      Windows Credentials
      .

    Once you have the screen open verify if any of the credentials you saw in task scheduler is present and manually delete them.

    Regards.
     
    Jordan Dom, May 18, 2022
    #3
  4. Task scheduler asking users for admin credentials

    Windows 10 Task Scheduler not finding Admin

    Hi Bryan,

    Thank you for posting in Microsoft Community, we appreciate your interest in Windows 10.

    I understand the inconvenience that you are unable to perform Task Scheduler on Windows 10, we will help you to resolve this issue.

    Step 1: I suggest you to log out from the standard account and log-in with an Admin account on Windows 10.

    Try to perform Task scheduler from Admin account and check if the issue persists.

    Kindly update the status of this issue, we will be happy to help you.
     
    Deepika Gowda, May 18, 2022
    #4
Thema:

Task scheduler asking users for admin credentials

Loading...
  1. Task scheduler asking users for admin credentials - Similar Threads - Task scheduler asking

  2. Task scheduler asks for password

    in Windows 10 Gaming
    Task scheduler asks for password: Hi there!When I create a task and select the option 'Run whether user is logged on or not' it asks for an admin user and password, which I don't know.I am the only user for my computer....
  3. Task scheduler asks for password

    in Windows 10 Software and Apps
    Task scheduler asks for password: Hi there!When I create a task and select the option 'Run whether user is logged on or not' it asks for an admin user and password, which I don't know.I am the only user for my computer....
  4. Task scheduler asks for password

    in Windows 10 Customization
    Task scheduler asks for password: Hi there!When I create a task and select the option 'Run whether user is logged on or not' it asks for an admin user and password, which I don't know.I am the only user for my computer....
  5. Task Scheduler Asking for a Password

    in Windows 10 Gaming
    Task Scheduler Asking for a Password: I'm just putting this here as a new question because I couldn't find a way to respond to the previous questions involving this same issue task scheduler asking for a password; for me, they all seemed to be locked from additional responses. To clarify, this isn't a question,...
  6. Task Scheduler Asking for a Password

    in Windows 10 Software and Apps
    Task Scheduler Asking for a Password: I'm just putting this here as a new question because I couldn't find a way to respond to the previous questions involving this same issue task scheduler asking for a password; for me, they all seemed to be locked from additional responses. To clarify, this isn't a question,...
  7. Task Scheduler Asking for a Password

    in Windows 10 Customization
    Task Scheduler Asking for a Password: I'm just putting this here as a new question because I couldn't find a way to respond to the previous questions involving this same issue task scheduler asking for a password; for me, they all seemed to be locked from additional responses. To clarify, this isn't a question,...
  8. Task scheduler asking users for admin credentials

    in Windows 10 Gaming
    Task scheduler asking users for admin credentials: I'm a system administrator and have an application .exe that I need to run when a standard user logs in, but with elevation. I have tried doing this with both Powershell and the Windows Task Scheduler using tips I've found online, however when I log in as a standard user I...
  9. Windows Task Scheduler Asks for User Name and Password

    in Windows 10 Customization
    Windows Task Scheduler Asks for User Name and Password: Hi, I'm trying to run a node.js script on a regular basis. I'm following a tutorial on how to do so and everything was going well until I got an unexpected popup. From further deduction, when I check this box: [ATTACH] I am then prompted with this message when trying to...
  10. Task Scheduler asking for password ?

    in Windows 10 Customization
    Task Scheduler asking for password ?: I wanted to change a property of a task in Task Scheduler but I was asked to input user name and password. [ATTACH] I only have one machine and I am the administrator so I don't understand. However i did try and use the email address and password for my User account but...