Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Pushing Update KB5077744 for Windows auth error 0x80080005

Harshit Pandey

Well-Known Member
Messages
305
Solutions
8
Reaction score
9
Points
18
Ok, so we have been dealing with this stupid auth error 0x80080005 and our users were not able to RDP to their cloud pc nor work with AVD session. To push the KB5077744 update via Intune, we have tried the below method and it worked.

Check the build number for Windows 11 devices

Code:
 $item = get-itemproperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
$build = "26100|26200"
$ubr = 7623
$buildmatch = $item.CurrentBuildNumber -match $build
$ubrmatch = $item.UBR -eq $ubr
if ($buildmatch -and $ubrmatch) {return $true}
return $false

The below detection script can tell you if KB5077744 is installed or not.

Code:
 $KB = "KB5077744"
# Get installed hotfixes
$HotFix = Get-HotFix -Id $KB -ErrorAction SilentlyContinue
if ($HotFix) {
Write-Output "$KB is installed."
exit 0 # Detected
}
else {
Write-Output "$KB is NOT installed."
exit 1 # Not Detected
}
 

Forum statistics

Threads
7,178
Messages
28,005
Members
18,311
Latest member
GregorianG

Trending content

Back
Top