chore: Update generated dev docs (#4621)

This commit is contained in:
Chris Titus
2026-06-03 13:09:04 -05:00
committed by GitHub
parent 614eb949db
commit b5160d9e24
47 changed files with 53 additions and 46 deletions
@@ -19,13 +19,20 @@ description: ""
# Some of OneDrive files use explorer, and OneDrive uses FileCoAuth
Write-Host \"Removing leftover OneDrive Files...\"
Stop-Process -Name FileCoAuth,Explorer
Remove-Item \"$Env:LocalAppData\\Microsoft\\OneDrive\" -Recurse -Force
Remove-Item \"C:\\ProgramData\\Microsoft OneDrive\" -Recurse -Force
# Grant back permission to access OneDrive folder
icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
if (-not (Get-ChildItem -Path $Env:OneDrive)) {
Remove-Item -Path $Env:OneDrive
[Environment]::SetEnvironmentVariable('OneDrive', $null, 'User')
}
# Disable OneSyncSvc
Set-Service -Name OneSyncSvc -StartupType Disabled
"