Similar issue for me.
Since the 2004 update, the boot times have increased to 5 minutes!!
Event viewer contains this entry, but I have no idea how to fix.
Quote = The winlogon notification subscriber <Profiles> took 266 second(s) to handle the notification event (Logon).
Just tried a Reboot. That took 8:50 to the point where OneDrive has completed checking for changes.
@JonGraef - that is an interesting observation, BUT it might be an effect rather than a cause. Nontheless, I have seen old and new reports where the Windows WMI (WBEM) repository can get out of sync with "reality" (i.e. what bits and peices under the "hood" are where, and other properties), and cause that event 6006, and a slow boot or slow display of login screen. There is an easy way to check it out, and if the first "verify" command works, then go no further, it has probably got rebuilt OK:
"
- To perform a repair/re-sync of the Windows 10 WMI repository:
- Open an elevated command prompt. (right click the start menu icon, choose admin cmd or powershell)
- Verify the WMI repository is not corrupt by running the following command:
- If the repository is not corrupted, a “WMI Repository is consistent” message will be returned; if you get something else, go to step 3, otherwise if the repository is consistent, more troubleshooting will be required as the repository is not likely the problem.
- Run the following commands to repair WMI: winmgmt /salvagerepository
- If the repository salvage fails to work, then run the following command to see if it resolves the issue: winmgmt /resetrepository
- After the last command, there should be a “WMI Repository has been reset” message returned that verifies the command was successful.