Issue upgrading to Windows 11 from Windows 10

Brian Liu 115 Reputation points
2023-11-13T16:25:58.24+00:00

Hi,

I've been having some real issues upgrading to Windows 11. After some searching it seems that the issue was down to a Task Name called "Microsoft Compatibility Appraiser" the path is Task Scheduler Library -> Microsoft -> Windows -> Application Experience.

When I run the task the upgrade works, but if the status is "Ready" the upgrade won't work.

I've want to created a Powershell command to start this task and have found the below:

start-scheduledTask -TaskName "Microsoft Compatibility Appraiser" but this gives me this error Start-scheduledTask : The System cannot find the file specified

Get-ScheduledTask - TaskPath "\Microsoft\Windows\Application Experience" Start-ScheduledTask but this will run all the tasks with the Application Experience folder.

Is there a command to just start the Microsoft Compatibility Appraiser task?

Thanks,

Brian

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,988 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,328 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 20,500 Reputation points
    2023-11-13T16:41:34.83+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    You can use the Get-ScheduledTask cmdlet along with a filter to specifically get the "Microsoft Compatibility Appraiser" task and then use Start-ScheduledTask to start it.

    # Get the task with the name "Microsoft Compatibility Appraiser" in the specified path
    $task = Get-ScheduledTask -TaskPath "\Microsoft\Windows\Application Experience" | Where-Object { $_.TaskName -eq "Microsoft Compatibility Appraiser" }
    
    # Check if the task is found
    if ($task) {
        # Start the task
        Start-ScheduledTask -Task $task
    } else {
        Write-Host "Task not found."
    }