PSP Kick

All about the tech

Deploy the scheduled task for Win10 with the user who needs

Aria-label=”Content

This article provides a solution to fix error 0x80041323 that occurs when training a large number of scheduled tasks.

Used to provide you with: cronauthority.com 7 Service Pack i, Windows Server 2012 R2
Source group KB: you 2696472

Symptoms

  • I have a Windows laptop or PC running a large number of scheduled tasks under the same user account.

  • The job fails intermittently, and in the LastRun main parameter, you can see the message immediately after

    The Task Scheduler service may be too busy on error 0x80041323


  • The following specific event may be logged in the Task Scheduler work log:

    Log name: Microsoft-Windows-TaskScheduler
    Id microsoft-windows-taskscheduler/operational
    Source: events: 706
    Task Category: Compatibility Module Task Status: Failed
    Description: Upgrading the task compatibility heap failed to update task ‘‘ to the required one withstatus 0. Additional data: errors: value 2147942405.
    Error usually means more:

    for decimal -2147216605 / hex 0x80041323
    SCHED_E_SERVICE_TOO_BUSY

    The Task Scheduler service is too busy to serve you

  • In addition, you may even notice the following events appearing in the subscribed task scheduler operation log when the task queue quota or kernel allocation is exceeded:

  • If the task queue quota is exceeded:

    Event ID 131
    Description: Failed to start task scheduler for target ‘‘; because the number of vacancies in the task queue exceeds most of the currently configured quota by .
    Reduce the number of user actions: increase the number of running quests or run the configured row quota.
    Event ID 132
    Description: The task scheduler releasing the queue quota is approaching the predefined task limit, which is currently set to . .Action .
    reduce .user: .increase .number of .running .tasks or allocated queue quota.

  • If engine limit is exceeded:


    Can cron be used in Windows?

    In Microsoft, windows cron jobs are called scheduled jobs. They can be added through the Windows Task Scheduler UI, simply using PowerShell, or using the included Schtasks helper.exe. Running a task at a specific time or on a recurring basis is one of the most common administrative tasks in any operating system.

    Event ID 133
    Description. The Task Scheduler may run TaskEngine on periodically to obtain user .
    User Response: Reduce the number of initiatives that run in a given user context.
    Identifier 134
    Description: The Task Engine User event for is approaching a predefined task limit.
    Reduce the number of users: process the number of running tasks or increase the configured queue, quota if necessary.

    Note

    Event id 132 and event id 134 can only indicate the impending nature of the problem, not the actual problem. The problem may or may not occur after these events.

  • Reason

    According to the sched_e_service_too_busy mode, this is logged when the queue is full. The above condition occurs when:

    1. The task queue summer quota has been exceeded.
    2. ExceedsEngine quota price.

    Resolution

    To solve this unique problem, set our quota to the maximum value of the la key.

    1. Click start, select and again then edit, press ENTER. Then
    2. find, press the following laptop or computer key:
      HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Configuration
    3. Right click on TasksInMemoryQueue, select Edit and look at Edit.
    4. In the data package, enter the value 1000 (decimal). You
    5. right click on TasksPerHighestPrivEngine, click Edit, then click Edit.field
    6. In “Value (decimal)”, enter 1000.
    7. Right-click TasksPerLeastPrivEngine, select Edit, then click Edit.field
    8. For Value, enter 1000 (decimal).of
    9. Exit Registry Editor and restart the host computer.

    Read More

    The task queue quota is controlled by the “TasksInMemoryQueue” value, and the per-core quota is controlled by the “Tasksperhighestprivengine” and “TasksPerLeastPrivEngine” registry values ‚Äč‚Äčlocated in the following registry key:

  • TasksInMemoryQueue [default = max. 75, 1000]

  • Sets = the maximum number of assemblies that can be queued in the main session manager. Once this safe limit is exceeded, any new task instances to run will be rejected and you will receive event ID 131.
  • this queue applies to most tasks.
  • TasksPerHighestPrivEngine [default=100, best=1000]

  • Specifies the maximum number of Large Enterprise Instances that can be running for a “high” task (taskeng.exe) at any time due to time constraints.
  • There is one engine task per session client (for example, SYSTEM, LOCAL SERVICE, Admin, user1, USER2, etc.)
  • Here, “high” corresponds to the tasks most likely to be selected with “execute with” privileges.[by
  • tasksperleastprivengine defaults to 50, max. = 1000]

  • Similar to TasksPerHighestPrivEngine, except it matches non-elevated tasks.
  • Link

    Event ID 131: Job service quotas
    Event Scheduler ID 132 – Service Quotas pTask Scheduler

  • 3 minutes if you must read
  • Event ID 132 and Event ID 134 are only an indicator of an impending problem, not the individual’s problem itself. The problem may not occur or occur after most of these events.

    This section provides buyers with instructions on how to modify their listing. However, serious problems can occur if you change the registry incorrectly. So be sure to follow these precautions carefully. To protect yourself, re-add the registry before editing the file. You can then restore your laptop or computer if something goes wrong.

    </p> <div> <div> <p> <element></p> <p>So I’m stuck in a huge no-win situation…</p> <p></p> <div style="box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;padding:20px 10px 20px 10px;"> <p><h2 id="1"><span class="ez-toc-section" id="How_do_I_fix_permissions_denied_in_Windows_10"></span>How do I fix permissions denied in Windows 10?<span class="ez-toc-section-end"></span></h2> <p>Right-click someone’s file or folder, then click Properties. Click Deny security. Under Group or User Names, click your name to view the permissions you have. Click Change, basically your name, check the Basic box for the permissions you have, then click OK. </p> </div> <p>I’m trying to correctly set up a GPO deployment for a configured task.</p> <p>Problems:</p> <ol> <li>Windows 10 simply refuses to similarly apply scheduled tasks if the provider is using y to execute this event, not </li> <li> NT-Authority\SYSTEM nt-authority\system does NOT have network access, so I can’t script to run the copy product from the network.</li> <li>There are new credit accounts such as NT-Authority\NETWORKSERVICE and nt-authority\network but no problems. 1 save……</li> </ol> <p>Happiness? Is there a way out of this vicious circle of advice? I’ll bet telling the script to run more scripts other than the user showing network access will work, but after that I’ll have to type it in as it’s about the clear text of the password…. </p> <p> </item></p> </div></div> <div> <div> <p> test<br /> best answer </p> <div> <li> <div> <div> <div> <p>Why not just run a forum task to call a script that will replicate the files to the appropriate folders on your workstations? You can create the latest service account with the appropriate permissions. The script can often be applied to a list of associated computers. You can even write this tool to check if my computer is connected. Cher to the network, and print all the operations, the results to run the operation, which you can check to make sure it was successful.</p> <div> <p> 1 found this helpful<br /> <a aria-label="Was this post helpful again? Vote up."%2ftopic%2f2169521-expand-scheduled-task-to-10-with-network-login-access-user%23 - 8020572 ">thumb_up</a><br /> <a aria-label="Was this post helpful? Please don't downvote."%2Ftopic%2F2169521-expand-scheduled-task-to-10-with-user-who-is-logged-in-to-network-access% 23-8020572 " >thumb_down</a></p> </div></div> </div></div> </li> <p> Check out the best answer in the answers below </p></div> </div></div> </p></p> <footer class="camp-post-footer"> </footer> </div> <nav class="camp-paging"> <div class = "camp-prev-post-link" ><a href="https://www.pspkick.com/how-to-fix-a-computer-firewall-fun/" rel="prev">Next post →</a></div><div class = "camp-next-post-link" ><a href="https://www.pspkick.com/fix-computer-cache-authority/" rel="next">← Previous post</a></div> </nav> </div> <!-- #content --> <aside> <li id="search-2" class="widget widget_search"><form class="camp-search-form" action="https://www.pspkick.com" method="get"> <input class="camp-search-txt" type="text" name="s" id="s" value="" placeholder="Enter search keyword" /> <button class="camp-search-btn" type="submit"> <img src="https://www.pspkick.com/wp-content/themes/camp/images/search-button.jpg" /></button> </form> </li> <li id="pages-2" class="widget widget_pages"><h2 class="widgettitle">Menu</h2> <ul> <li class="page_item page-item-3"><a href="https://www.pspkick.com/about/">About</a></li> <li class="page_item page-item-4"><a href="https://www.pspkick.com/contact/">Contact</a></li> <li class="page_item page-item-18"><a href="https://www.pspkick.com/fix-driver_power_state_failure-0x0000009f-issues/">Fix DRIVER_POWER_STATE_FAILURE 0x0000009F Issues</a></li> <li class="page_item page-item-37"><a href="https://www.pspkick.com/fixing-0x00000113-video_dxgkrnl_fatal_error-solved/">Fixing 0x00000113 VIDEO_DXGKRNL_FATAL_ERROR (Solved)</a></li> <li class="page_item page-item-22"><a href="https://www.pspkick.com/how-to-fix-0x00000108-third_party_file_system_failure/">How To Fix 0x00000108 THIRD_PARTY_FILE_SYSTEM_FAILURE</a></li> <li class="page_item page-item-5"><a href="https://www.pspkick.com/privacy/">Privacy</a></li> </ul> </li> </aside> </div> <!-- .camp-main --> <footer> <script type='text/javascript' src='https://www.pspkick.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js' id='regenerator-runtime-js'></script> <script type='text/javascript' src='https://www.pspkick.com/wp-includes/js/dist/vendor/wp-polyfill.min.js' id='wp-polyfill-js'></script> <script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/www.pspkick.com\/wp-json\/","namespace":"contact-form-7\/v1"}}; /* ]]> */ </script> <script type='text/javascript' src='https://www.pspkick.com/wp-content/plugins/contact-form-7/includes/js/index.js' id='contact-form-7-js'></script> <script type='text/javascript' src='https://www.pspkick.com/wp-content/plugins/easy-table-of-contents/vendor/smooth-scroll/jquery.smooth-scroll.min.js' id='jquery-smooth-scroll-js'></script> <script type='text/javascript' src='https://www.pspkick.com/wp-content/plugins/easy-table-of-contents/vendor/js-cookie/js.cookie.min.js' id='js-cookie-js'></script> <script type='text/javascript' src='https://www.pspkick.com/wp-content/plugins/easy-table-of-contents/vendor/sticky-kit/jquery.sticky-kit.min.js' id='jquery-sticky-kit-js'></script> <script type='text/javascript' id='ez-toc-js-js-extra'> /* <![CDATA[ */ var ezTOC = {"smooth_scroll":"1","visibility_hide_by_default":"","width":"auto","scroll_offset":"30"}; /* ]]> */ </script> <script type='text/javascript' src='https://www.pspkick.com/wp-content/plugins/easy-table-of-contents/assets/js/front.min.js' id='ez-toc-js-js'></script> <div class = "camp-footer"> <div class = "camp-cpy"> © 2022 PSP Kick </div> <div class = "camp-author"> Powered by <a href = "http://bestweblayout.com/">BestWebLayout</a> and <a href = "http://wordpress.org/">WordPress</a> </div> </div> <!-- .camp-footer --> </footer> </div> <!-- .camp-page --> </body> </html>