Delete-WPFTweaksRemoveOnedrive (#3785)

* Update tweaks.json

* Update-WPFTweaksRemoveOnedrive

* Update-WPFTweaksRemoveOnedrive

* Update tweaks.json

* Update tweaks.json

* Update tweaks.json

* Delete WPFTweaksRemoveOnedrive
This commit is contained in:
Gabi 2025-12-11 22:03:54 +02:00 committed by GitHub
parent 5a6b1ef086
commit 06ea48dd01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2716,30 +2716,6 @@
} }
] ]
}, },
"WPFTweaksRemoveOnedrive": {
"Content": "Remove OneDrive",
"Description": "Moves OneDrive files to Default Home Folders and Uninstalls it.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a031_",
"InvokeScript": [
"
Write-Host \"Uninstalling OneDrive\"
Start-Process \"$env:SystemRoot\\System32\\OneDriveSetup.exe\" -ArgumentList /uninstall -NoNewWindow -Wait
Write-Host \"Removing OneDrive leftovers\"
Remove-Item \"$env:LocalAppData\\Microsoft\\OneDrive\" -Recurse -Force
Remove-Item \"$env:ProgramData\\Microsoft OneDrive\" -Recurse -Force
"
],
"UndoScript": [
"
Write-Host \"Install OneDrive\"
Start-Process -FilePath winget -ArgumentList \"install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.OneDrive \" -NoNewWindow -Wait
"
],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"
},
"WPFTweaksRazerBlock": { "WPFTweaksRazerBlock": {
"Content": "Block Razer Software Installs", "Content": "Block Razer Software Installs",
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.", "Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.",