This message was deleted.
# citrix-vad
s
This message was deleted.
r
@Nick Panaccio done some great work with one drive I recall
n
I didn't do anything crazy. Computer settings:
User settings:
Just gotta make sure you control how it updates by ripping out the garbage that MS applies at install. My install script:
Copy code
$var_Install_Exec = "OneDriveSetup.exe"
$var_Install_Arg = "/allusers"

$proc = Start-Process -FilePath $var_Install_Exec -ArgumentList $var_Install_Arg -WorkingDirectory $PSScriptRoot -PassThru
Do { Start-Sleep 5 } While (Get-Process | Where ProcessName -eq OneDriveSetup.exe)
Start-Sleep 10
schtasks /change /tn "OneDrive Per-Machine Standalone Update Task" /disable | Out-Null
Get-ScheduledTask -TaskName "OneDrive Per-Machine Standalone Update Task" | Unregister-ScheduledTask -Confirm:$False | Out-Null
Get-ScheduledTask -TaskName "OneDrive Reporting Task*" | Unregister-ScheduledTask -Confirm:$False | Out-Null
If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\OneDrive")) {
	New-Item "HKLM:\SOFTWARE\Policies\Microsoft" -Name "OneDrive" -Force | Out-Null
}
New-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\" -Name "GPOSetUpdateRing" -Value 0 -PropertyType "DWORD" -Force | Out-Null
Set-Service -Name "OneDrive Updater Service" -StartupType Disabled
Stop-Service -Name "OneDrive Updater Service" -Force
n
thanks guys
i will try that script!
this is what i configured for my test policy
@Nick Panaccio hi nick, script worked...there were some space issues but other than that it installed one drive and disabled the service and remove the tasks. so thanks!
👍 1