Is there a way to change the desktop icon from the game itself?

I have player factions set up from bools isX, isY, isZ. Is there a way i can change the the icon on the desktop from within the game itself to reflect the players choice?

Already answered here in other thread