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
The below detection script can tell you if KB5077744 is installed or not.
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
}