rodneyviana / ODSyncUtil

MIT License
13 stars 5 forks source link

Issues on up-to-date Windows 10 #23

Open pysj opened 2 weeks ago

pysj commented 2 weeks ago

Issues on up-to-date Windows 10 device. No issues on Windows 11 This worked as expected before with the OneDriveFlyoutPS.dll. Issues seems to stem from changes in Windows version 19045.4412 -> 19045.4780 I dont think the OneDrive client is the cause. Seems to work with OneDrive client 24.161.0811.0001 on Windows version 19045.4412 ODSyncUtil.exe returns empty.

System state when issue does not occur

PS C:\Users\USERNAME> Get-Package *onedrive*

Name                           Version          Source                           ProviderName
----                           -------          ------                           ------------
Microsoft OneDrive             24.156.0804.0002                                  Programs

PS C:\Users\USERNAME> Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' | Select-Object ProductName, DisplayVersion,CurrentBuild,UBR | Format-Table -AutoSize

ProductName           DisplayVersion CurrentBuild  UBR
-----------           -------------- ------------  ---
Windows 10 Enterprise 22H2           19045        4412

System state when issue occurs

PS C:\Users\USERNAME> Get-Package *onedrive*

Name                           Version          Source                           ProviderName
----                           -------          ------                           ------------
Microsoft OneDrive             24.161.0811.0001                                  Programs

PS C:\Users\USERNAME> Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' | Select-Object ProductName, DisplayVersion,CurrentBuild,UBR | Format-Table -AutoSize

ProductName           DisplayVersion CurrentBuild  UBR
-----------           -------------- ------------  ---
Windows 10 Enterprise 22H2           19045        4780

PS C:\Users\USERNAME> .\ODSyncUtil.exe -d
2024-09-02 09:00:29.456: Command line arguments parsed
2024-09-02 09:00:29.456: Save file name:
2024-09-02 09:00:29.456: Is debug: 1
2024-09-02 09:00:29.456: Ignore quota: 0
2024-09-02 09:00:29.456: CoInitialize succeeded
2024-09-02 09:00:29.456: SyncRootReader created
2024-09-02 09:00:29.456: EnumerateSubKeys returned 2 keys
2024-09-02 09:00:29.456: Getting status for OneDrive!S-1-5-21-1111111111-2222222222-3333333333-69909!Business1|004fea556d1149f1af77aede6dd08180
2024-09-02 09:00:29.456: SID: S-1-5-21-1111111111-2222222222-3333333333-69909
2024-09-02 09:00:29.456: User: DOMAINNAME\USERNAME
2024-09-02 09:00:29.456: Type: Business1
2024-09-02 09:00:29.456: Current User SID: S-1-5-21-1111111111-2222222222-3333333333-69909
2024-09-02 09:00:29.456: CoCreateInstance Storage Provider for OneDrive: 0x00000000
2024-09-02 09:00:29.456: QueryInterface for IStorageProviderStatusUISourceFactory: 0x00000000
2024-09-02 09:00:29.468: GetStatusUISource: 0x00000000
2024-09-02 09:00:29.468: GetStatusUI: 0x80040111
2024-09-02 09:00:29.468: getInstanceStatus returned 0x80040111
2024-09-02 09:00:29.468: Getting status for OneDrive!S-1-5-21-1111111111-2222222222-3333333333-69909!Business1|5112657e873d4737997ff3ce68e2e915+1
2024-09-02 09:00:29.468: SID: S-1-5-21-1111111111-2222222222-3333333333-69909
2024-09-02 09:00:29.468: User: DOMAINNAME\USERNAME
2024-09-02 09:00:29.468: Type: Business1
2024-09-02 09:00:29.468: Current User SID: S-1-5-21-1111111111-2222222222-3333333333-69909
2024-09-02 09:00:29.468: CoCreateInstance Storage Provider for OneDrive: 0x00000000
2024-09-02 09:00:29.468: QueryInterface for IStorageProviderStatusUISourceFactory: 0x00000000
2024-09-02 09:00:29.484: GetStatusUISource: 0x00000000
2024-09-02 09:00:29.484: GetStatusUI: 0x80040111
2024-09-02 09:00:29.484: getInstanceStatus returned 0x80040111
2024-09-02 09:00:29.484: SyncRootReader deleted
2024-09-02 09:00:29.484: serializeStateVector returned 2 characters
[]
PS C:\Users\USERNAME>
Datto-StanLee commented 1 week ago

I am also seeing this on Windows 10 19045.4780. Windows 11 apppears unaffected. Any insight appreciated.