Share via

Possible to make OneDrive run on first logon after SCCM setup?

Craig Parry 0 Reputation points
2024-10-17T10:40:49.55+00:00

Hi there,

As part of the task sequence when installing an image, SCCM installs OneDrive. However when the user logs in to Windows for the first time, OneDrive does not run, and has to be manually opened once to function.

As the title goes, is there a way to have OneDrive run on first logon for the user?

thanks,

C.

Microsoft 365 and Office | OneDrive | For business | Windows
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,436 Reputation points Microsoft External Staff
    2024-10-18T02:33:12.7133333+00:00

    Hi, @Craig Parry

    Thank you for posting in Microsoft Q&A forum.

    To have OneDrive run on the first logon after an SCCM setup, we may try to put the shortcut of OneDrive to the folder:

    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

    You may also try to set a registry value to ensure that OneDrive starts automatically. You can configure this by adding the following registry entry:

    Key: HKLM\Software\Microsoft\Windows\CurrentVersion\Run

    Name: OneDrive

    Data: "C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.