Desktop is not synced into OneDrive, not locally, not online.
When I click on Manage via Windows icon, it is always synced.
When I click on Manage via systray icon, it is not synced period.
I use this script to quickly clear desktop, OneDrive is not cleaned.
I use desktop for downloads, I want it cleaned instantly if needed.

And if I remove Onedrive's desktop, I get an error unless I move any file into it. Then it becomes, unremovable by a script again.

EDIT: OK, it seems that I have answered my own question, I have to recreate this nonsense myself.
It is not really a solution, just a workaround, so if you have any tips, please advice. Thank you.
EDIT: After moving desktop to the default location, it seems to have fixed the issue.
When I click on Manage via Windows icon, it is always synced.
When I click on Manage via systray icon, it is not synced period.
I use this script to quickly clear desktop, OneDrive is not cleaned.
I use desktop for downloads, I want it cleaned instantly if needed.
Code:
del "C:\Users\Tairi\OneDrive\Desktop\*" /s /f /q
del "%SystemDrive%\Users\Public\Desktop\*" /s /f /q
del "%USERPROFILE%\Desktop\*" /s /f /q
rd "%USERPROFILE%\Desktop" /s /q
rd "Z:\Desktop" /s /q
md "Z:\Desktop"
mklink /d "%USERPROFILE%\Desktop" "Z:\Desktop"

And if I remove Onedrive's desktop, I get an error unless I move any file into it. Then it becomes, unremovable by a script again.

EDIT: OK, it seems that I have answered my own question, I have to recreate this nonsense myself.
Code:
rd "C:\Users\Tairi\OneDrive\Desktop" /s /q
md "C:\Users\Tairi\OneDrive\Desktop"
It is not really a solution, just a workaround, so if you have any tips, please advice. Thank you.
EDIT: After moving desktop to the default location, it seems to have fixed the issue.
Last edited:
My Computer
System One
-
- OS
- Home26H2Can
- Computer type
- PC/Desktop
- CPU
- AMD Ryzen 5 8600G (07/24)
- Motherboard
- ASROCK B650M-HDV/M.2 (07/24) BIOS 4.21 AGESA ComboAM5 1.3.0.1 (04/26)
- Memory
- 2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL36 (07/24)
- Graphics Card(s)
- ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
- Sound Card
- Creative Sound BlasterX AE-5 Plus (05/24)
- Monitor(s) Displays
- 24" Philips 24M1N3200ZS/00 (05/24)
- Screen Resolution
- 1920×1080@165Hz via DP1.4
- Hard Drives
- Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
- PSU
- Seasonic Core GM 550 Gold (04/24)
- Case
- Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
- Cooling
- Noctua NH-U12S with Noctua NF-P12 (04/24)
- Keyboard
- HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
- Mouse
- Logitech M330 Silent Plus (01/26)
- Internet Speed
- 500/100 Mbps via RouterOS (05/21) & TCP Optimizer
- Browser
- Edge, Brave for YouTube, LibreWolf for FB
- Antivirus
- NextDNS blocking 1/3 Traffic
- Other Info
- Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)







