Solved OneDrive folder has wrong generic icon


hexaae

Crazy bug-hunter
Member
VIP
Local time
8:08 PM
Posts
127
Location
Italy
OS
Windows 11 Home
Today it happened again to me that OneDrive folder icon under my %USERPROFILE% dir in File Explorer turned into a generic yellow folder icon:

1723045680030.png

As I learned under Windows 10 some time ago the solution once again was simple: used a text editor and changed the contents of %USERPROFILE%\OneDrive\desktop.ini like this (the number at the end indicates the icon number to be displayed from the exe's icon resources):

Before (wrong generic icon) ❌
Code:
[.ShellClassInfo]
IconResource=C:\Users\<my-user-name>\AppData\Local\Microsoft\OneDrive\OneDrive.exe,5

After (fixed icon) ✅
Code:
[.ShellClassInfo]
IconResource=C:\Program Files\Microsoft OneDrive\OneDrive.exe,5

1723046197909.png
 

My Computer My Computer

At a glance

Windows 11 HomeIntel i9-13980HX32GB DDR5 5600MHzNVidia GTX 4090 Laptop 256bit 16GB 175W
OS
Windows 11 Home
Computer type
Laptop
Manufacturer/Model
ASUS ROG SCAR 18
CPU
Intel i9-13980HX
Memory
32GB DDR5 5600MHz
Graphics Card(s)
NVidia GTX 4090 Laptop 256bit 16GB 175W
Sound Card
Realtek ALC285 + Dolby Atmos
Monitor(s) Displays
G-Sync NE180QDM-NZ2 18" 16:10, FreeSync Premium XiaoMi Mi 34" 21:9
Screen Resolution
2560x1600@240Hz (internal), 3440x1440@144Hz (external)
Hard Drives
NVMe Lexar NM790 1TB 6GB/s, NVMe Lexar NM790 4TB 6GB/s
PSU
330W (laptop PSU)
Mouse
ROG Strix Carry Wireless-BT mouse
Other Info
4K UHD USB Archgon Star Blu-Ray 4K UHD,
8BitDo Arcade Stick,
Vader 4 Pro controller

Latest Support Threads

Back
Top Bottom