Preload custom folder icons in Windows 10 at Windows Startup

Solution for Preload custom folder icons in Windows 10 at Windows Startup
is Given Below:

I’m trying to do the exact thing described in the following thread, but I don’t understand how to implement the solution. I’ve been trying to do this for years, but no one has understood the problem or been able to provide a solution until I stumbled upon this post today:

Preload folder icon for a specific folder in Windows Icon cache, in C# or VB.NET

My specific scenario is loading a directory with about 3,000 sub-directories (music albums) with a custom “Folder.ico” icon (album cover) that’s called from a “desktop.ini” file: [.ShellClassInfo]
IconResource=Folder.ico,0

I’ve reduced the main directory to the minimum amount of sub-folders I want to have, and obviously it takes a while to load the directory into memory after a restart (once I’ve loaded it once it stays in memory fine until the next restart). I want a program to load the entire directory into memory at startup in the background.

I’m using Windows 10 Pro v21H1.