Stuck @ "Waiting for user logon"

This may or may not be something that you would commonly see in your environment. We only see it occasionally but it used to be a pretty common problem. One of my teammates found a technet forum post that addressed this specifically. Pretty interesting read if you are fighting this issue on a particular client.

https://social.technet.microsoft.com/Forums/en-US/1569e1e2-91bc-435d-8998-beb817d5b453/waiting-for-user-logon?forum=configmanagergeneral

Here is the meat and potatoes of the forum discussion.


$CITask = get-wmiobject -query "select * from CCM_CITask where TaskState != ' PendingSoftReboot' AND TaskState != 'PendingHardReboot' AND TaskState != 'InProgress'" -namespace root\ccm\CITasks
if ($CITask -ne $NULL)
{
$CITask | remove-wmiobject -Whatif
$CITask | remove-wmiobject
}
ELSE
{
"CCM_CITasks is empty. Nothing to do"
}

Comments

Popular posts from this blog

Intune Hybrid - NDES Cert Issue

Triggering a software update install via Powershell