Feedback by UserVoice


My feedback

  1. 69 votes
    Sign in
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    10 comments  ·  OneDrive Archive » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Angel commented  · 

    This is how I solved this: So OneDrive in a secondary drive that has BitLocker enabled.

    Problem is OneDrive should start and prompt for the drive to be unlocked, rather than crash and assume all needs to be set up again.

    To fix you need to 1. Stop OneDrive from starting at boot + 2. Start OneDrive automatically when the drive is ready/unlocked.

    1. In OneDrive settings just untick the "Start OneDrive automatically when I sign in to Windows"

    2. Open "Task Scheduler"

    3. Click "Action" - "Create Task" (not basic)

    4. Change these settings (leaving the rest as defaults):

    a) General tab
    Name: Start OneDrive after BitLocker

    b) Triggers tab - New...
    Begin the task: On an event
    Log: Microsoft-Windows-BitLocker-API/Management
    Event ID: 782

    c) Actions tab - New...
    Action: Start a program
    Program/script: %USERPROFILE%\AppData\Local\Microsoft\OneDrive\OneDrive.exe
    Add arguments: /background

    d) Conditions tab
    Untick "Start the task only if the computer is on AC power"

    5. Done

    So now OneDrive should not start after boot/logon and as soon as you unlock the encrypted drive OneDrive will start automatically.

    Angel supported this idea  · 

Feedback and Knowledge Base