mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-15 17:58:31 +00:00
Removed onedrivesetup removal from Invoke-WinUtilISOScript.ps1 (#4350)
* Removed onedrivesetup removal Invoke-WinUtilISOScript.ps1 * Added OneDrive removal to autounattend.xml
This commit is contained in:
@@ -459,6 +459,9 @@ $scripts = @(
|
||||
Start-Process -FilePath (Join-Path $viveDir 'ViVeTool.exe') -ArgumentList '/disable /id:47205210' -Wait -NoNewWindow;
|
||||
Remove-Item -Path $viveDir -Recurse -Force;
|
||||
};
|
||||
{
|
||||
Start-Process C:\Windows\System32\OneDriveSetup.exe -ArgumentList /uninstall
|
||||
};
|
||||
{
|
||||
if( (Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On' ) {
|
||||
Disable-BitLocker -MountPoint $Env:SystemDrive;
|
||||
|
||||
Reference in New Issue
Block a user