sync: auto-sync from HOWARD-HOME at 2026-07-17 14:14:41

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-17 14:14:41
This commit is contained in:
2026-07-17 14:15:18 -07:00
parent 3a7b6a1cc1
commit 8d2ca14cac
47 changed files with 1025 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Write-Output "=== Clearing stale token broker cache ==="
$aadBroker = Get-ChildItem "C:\Users\*\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy" -Directory -ErrorAction SilentlyContinue
foreach ($p in $aadBroker) {
$ac = Join-Path $p.FullName "AC\TokenBroker"
if (Test-Path $ac) {
Remove-Item "$ac\*" -Recurse -Force -ErrorAction SilentlyContinue
Write-Output "Cleared: $ac"
}
}
$msAccount = Get-ChildItem "C:\Users\*\AppData\Local\Packages\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy" -Directory -ErrorAction SilentlyContinue
foreach ($p in $msAccount) {
$ac = Join-Path $p.FullName "AC\TokenBroker"
if (Test-Path $ac) {
Remove-Item "$ac\*" -Recurse -Force -ErrorAction SilentlyContinue
Write-Output "Cleared: $ac"
}
}
Write-Output ""
Write-Output "Cache cleared. Reboot the machine, then log in as cascades\pilot.test."
Write-Output "The fresh login should acquire a PRT and Edge will SSO into ALIS automatically."