Windows 10: gMSA account with Task Scheduler does not work

Discus and support gMSA account with Task Scheduler does not work in Windows 10 Gaming to solve the problem; Hello,I'm trying to run a PowerShell script through a scheduled task on my domain controller. The script is configured to run with a gMSA service... Discussion in 'Windows 10 Gaming' started by SEWAN BOOKMYNAME, May 1, 2025 at 9:07 AM.

  1. gMSA account with Task Scheduler does not work


    Hello,I'm trying to run a PowerShell script through a scheduled task on my domain controller. The script is configured to run with a gMSA service account.The scheduled task was created via a script so that it could be registered with a gMSA account.I've added the gMSA account as a member of the administrator group and I've also added the account to the ‘User Right Assignment’ and given it the ‘Log on as a batch job’ permission.Despite this, I can't run the job. I get this error : "The Task Scheduler did not run the task ‘\Task-Name’ because the user ‘domain.local\gMSA-Account$’ was no longer l

    :)
     
    SEWAN BOOKMYNAME, May 1, 2025 at 9:07 AM
    #1

  2. GMSA Account in Java Application

    This questions is in relation to : Group Managed Service Accounts Overview (Group
    Managed Service Accounts)

    Use Case: We have customers who have configured GMSA Account for running services and also connecting to SQL Sever and we have a Java Based Authentication Facade that connects to Active Directory to Search User/Authenticate Users

    Customer requesting that we use the GMSA Account to do LDAP Bind when connecting and searching for users in Active Directory instead of provisioned Service Account and Password to do LDAP Bind.

    Question/Assistance/Help:

    Can GMSA Account be use in Java Application ? We have a C# utility which requests the GMSA password however our Java Bind does not work with the GMSA Account and Retrieved GMSA Password.

    We used steps similar to Retrieving Cleartext GMSA Passwords from Active Directory to get GMSA Password, If I have a C#
    program I can bind to LDAP and Search Users using GMSA Account and GMSA Password retrieved from above step - All running on the same machine which is pensioned to retrieve GMSA Password.

    However using the same GMSA Account and Retrieved GMSA Password does not work with Java - Simple Bind and also Bind via Kerberos GSSAPI

    Example: LDAP Authentication or

    GSS-API/Kerberos v5 Authentication

    Any pointers much appreciated - Thank you.
     
    MalcolmPereira, May 1, 2025 at 9:09 AM
    #2
  3. Task scheduler not working anymore.

    Hello,

    System file corruption is one of the possible reasons why you are encountering issues with the Task Scheduler in Windows 10. To better assist you, we need the answers to the following questions:

    • Have you tried setting a schedule to
      defragment
      your hard drive?
    • Did you make any changes on your computer prior to this issue?

    In the meantime, we suggest creating a new user account and see if you will still encounter the same issue with the Task Scheduler. To do this, simply follow the steps below;


    • Select the Start button, then select Settings > Accounts > Family & other people > Add
      someone else to this PC
      .

    • Type a user name, password, password hint, and then select Next.

    We are looking forward to your response.
     
    Jefferson Ore, May 1, 2025 at 9:09 AM
    #3
  4. gMSA account with Task Scheduler does not work

    Task Scheduler with error message The selected task »CreateChoiceProcessTask« no longer exists

    Hi,

    Thank you for posting your query on Microsoft Community. Let me assist you.

    I suggest you to clear the task from Task Scheduler using the below steps and check if the issue still persists.

    Steps:-

    • Type Task Scheduler on Search bar.
    • Click on Task Scheduler Library.
    • Select the particular task and right click on it.
    • Select End.

    Hope this information is helpful. Please do let us know if you need further assistance, we’ll be glad to assist you.
     
    Pawan Dhondiyal, May 1, 2025 at 9:09 AM
    #4
Thema:

gMSA account with Task Scheduler does not work

Loading...
  1. gMSA account with Task Scheduler does not work - Similar Threads - gMSA account Task

  2. gMSA account with Task Scheduler does not work

    in Windows 10 Software and Apps
    gMSA account with Task Scheduler does not work: Hello,I'm trying to run a PowerShell script through a scheduled task on my domain controller. The script is configured to run with a gMSA service account.The scheduled task was created via a script so that it could be registered with a gMSA account.I've added the gMSA account...
  3. Task Scheduler Trigger not working.

    in Windows 10 Gaming
    Task Scheduler Trigger not working.: I am scheduling some jobs to get the reports from Citrix using PowerShell command. In Task scheduler server we have all required PowerShell Module Task run when I execute manually without any issue. When I set time in trigger it wont execute and not history available for...
  4. Task Scheduler Azure Account

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler Azure Account: I am trying to run a basic task on the task schedule, open a file on my OneDrive, overnight, so the PC will be asleep and I will need to run if not logged in. I sign into this PC using an organization Azure account admin. However I can't get my username recognized, I keep...
  5. Task Scheduler Azure Account

    in Windows 10 Gaming
    Task Scheduler Azure Account: I am trying to run a basic task on the task schedule, open a file on my OneDrive, overnight, so the PC will be asleep and I will need to run if not logged in. I sign into this PC using an organization Azure account admin. However I can't get my username recognized, I keep...
  6. Task Scheduler Azure Account

    in Windows 10 Software and Apps
    Task Scheduler Azure Account: I am trying to run a basic task on the task schedule, open a file on my OneDrive, overnight, so the PC will be asleep and I will need to run if not logged in. I sign into this PC using an organization Azure account admin. However I can't get my username recognized, I keep...
  7. Task Scheduler not Working

    in Windows 10 Support
    Task Scheduler not Working: Hi My problem is that when I attempt to run a task such as the W7 backup or one of my own scripts via Task Scheduler, it doesn't work. I have an external hard drive attached for the backup location. I close my laptop lid and verify that both the laptop and XHD are asleep. I...
  8. Task Scheduler not working

    in Windows 10 Network and Sharing
    Task Scheduler not working: Hi, I've set up a scheduled task to transfer files using WinSCP using a batch file .bat. The task works as intended when I run the task manually by clicking the run option inside Task Scheduler. When I allow the task to run automatically using the daily trigger, the error...
  9. Task Scheduler not working

    in Windows 10 Ask Insider
    Task Scheduler not working: Hi everyone, I'm having issues with the Task Scheduler since a time ago. A message saying "The remote computer was not found" when I try to open it. I've searched for this problem and tried to run the command line "DISM.exe /Online /Cleanup-image /Restorehealth" but it...
  10. Task Scheduler DOES WHAT... ?

    in AntiVirus, Firewalls and System Security
    Task Scheduler DOES WHAT... ?: Hello Community Members... I want to restore points on My laptop EVERY 24 hours Can I get Task Scheduler to do that ? and then to check it has ? Am sure asked the SAME THING for Windows Defender but DID - NOT work ? Why Not ? Some months ago Say at 17:00 hours...