"%programfiles(x86)%\Microsoft Onedrive\Onedrivesetup.exe" /silent REM install the OneDrive sync client in the users local profile IF EXIST %localappdata%\Microsoft\OneDrive\OneDrive.exe (GOTO END) ELSE (GOTO ONEDRIVE) IF NOT EXIST "%localappdata%\OneDrive - Companyname" mkdir "%localappdata%\OneDrive - Companyname" The gpupdate and reboot has been added recently so that the folder redirecton can be applied correctly.Īfter the reboot a logon script is started to do some other stuff: OFF REM update the polcies (Folder redirection needs to apply) REM Message explaining that to complete the installation the pc needs to reboot REM To avoid issues with remains of a previous installed the uninstall command of OneDrive will run REM Message explaining that OneDrive will be installed and giving first warning that after install the pc need to reboot IF EXIST "%programfiles(x86)%\Microsoft OneDrive\OneDriveSetup.exe" (GOTO END) ELSE (GOTO INSTALL) The OD4B NGSC (OneDrive for Business Next Generation Sync Client) is deployed through SCCM with the following off Let me sketch how we've deployed OneDrive so far: The client will be used in an environment with flexible workplaces, meaning that user will switch pc's from time to time. We are piloting OneDrive for Business at the moment with the Next Generation Sync Client.
0 Comments
Leave a Reply. |