Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED OneDrive application is not updating

Status
Not open for further replies.

Karthik P

Member
Messages
6
Reaction score
1
Points
1
Hi Team,
I am deploying Windows 10 using SCCM task sequence and OneDrive for business is part of the Windows 10 wim file, I have excluded OneDrive for business in my Office365 Pro Plus because OneDrive is already part of the windows 10 wim file.
I have downloaded the latest Win 10 1909 OS from Microsoft licensing and using this wim file to deploy windows 10 on workstations via SCCM task sequence.
The problem I am facing is OneDrive is installing on the machines with the old version which is 19.002.0107.0005 and does not update to newer version
Is anyone else facing the same problem?
if yes, your help would be much appreciated.
 
Prajwal, do you have the procedure to uninstall the OneDrive from Windows 10 via Task sequence?
If yes, could you please share the link?
if it works then i will include OneDrive in O365 Pro Plus.
 
Hi Karthik, I am not sure why that's happening. But i recommend deploying the OneDrive via O365pro.
Prajwal do you have the instructions on how to disable/remove Onedrive from windows 10 using Task sequence? if yes, please share the link, so that i can include Onedrive in O365 Pro Plus.
 
Try running this step after setup windows and configuration step in TS.
Code:
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
reg unload "hku\Default"
 
Try running this step after setup windows and configuration step in TS.
Code:
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
reg unload "hku\Default"
Thanks Prajwal.
I tried below script and it worked.
This script will install Onedrive on the computer instead on User level.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#Create PSDrive for HKU
New-PSDrive -PSProvider Registry -Name HKUDefaultHive -Root HKEY_USERS

#Load Default User Hive
Reg Load "HKU\DefaultHive" "C:\Users\Default\NTUser.dat"

#Set OneDriveSetup Variable
$OneDriveSetup = Get-ItemProperty "HKUDefaultHive:\DefaultHive\Software\Microsoft\Windows\CurrentVersion\Run" | Select -ExpandProperty "OneDriveSetup"

#If Variable returns True, remove the OneDriveSetup Value
If ($OneDriveSetup) { Remove-ItemProperty -Path "HKUDefaultHive:\DefaultHive\Software\Microsoft\Windows\CurrentVersion\Run" -Name "OneDriveSetup" }

#Unload Hive
Reg Unload "HKU\DefaultHive\"

#Remove PSDrive HKUDefaultHive
Remove-PSDrive "HKUDefaultHive"
 
You can check your installed version of OneDrive against the latest version that's available for download, and download the latest version if needed.
1. On your desktop, click the OneDrive icon in the notification area in the lower right corner of the screen.
2. Click "Help & Settings," then in the pop-up menu, click "Settings."
3. Click the "About" tab at the top of the OneDrive window.
4. In the "About Microsoft OneDrive" section, click the version number link.
5. OneDrive will open the OneDrive Support page, where you can compare the current version number for OneDrive with the version number in the OneDrive app window.
6. If you need to install the latest version, you can click "Download OneDrive for Windows."

I Hope This Helps Solve Your Problem.
Do Keep me posted.
 
Status
Not open for further replies.

Forum statistics

Threads
7,131
Messages
27,848
Members
18,146
Latest member
vanderhaven
Back
Top