Refresh Group Policy Cache.XML

Kriptic Kaoz 0 Reputation points
2025-01-18T13:03:03.6733333+00:00

Hi,

I exported this file in Task Scheduler & I’m trying to import it back but I get the error “task scheduler service is not available task scheduler will attempt to reconnect to it”

Any help would be grateful.

Che

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,793 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Policht 35,360 Reputation points MVP
    2025-01-18T13:21:44.73+00:00

    Try the following

    https://www.makeuseof.com/task-scheduler-service-not-available-error-windows/


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


  2. MotoX80 35,501 Reputation points
    2025-01-18T19:33:02.58+00:00

    None of the above recommendations worked

    You marked an answer as accepted. Did that fix your problem or not?

    The title of this question matches your problem description.

    https://answers.microsoft.com/en-us/windows/forum/all/task-scheduler-service-is-not-available-task/cd3b2be4-4206-4ae1-81dd-ef29e3bc9ae1?page=1

    In that post user CaliDogg7 replied that he solved the problem by deleting an empty task file that he found.

    Open Powershell_ISE with "run as administrator" and run this script. See if it detects a mismatch or an empty file.

    $files = Get-ChildItem C:\Windows\System32\Tasks -file -Recurse
    "File count = {0}" -f $files.count
    $tasks = Get-ScheduledTask
    "Task count = {0}" -f $tasks.count
    if ($files.count -ne $tasks.Count) {
        $t = $tasks.taskname | Sort-Object
        $f = $files.name | Sort-Object
        ""
        "Here is whats different."
        Compare-Object -ReferenceObject $f -DifferenceObject $t 
    } 
    $sm = $files | Where-Object -Property Length -lt 1000
    if ($sm.count -gt 0) {
        ""
        "Here are the small files."
        $sm | ft -Property Length, FullName
    } else {
        ""
        "No small files detected."
    } 
     
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.