What algorithm did Windows XP use to choose your initial user picture?
cppdashboard.dev/r/2026/09/what-algorithm-did-windows-xp-use-to-choose-your-initial-useThis article discusses the random number generator used by Windows XP to select the initial user profile picture during account creation. It explains the efficiency of the one-pass random selection algorithm compared to traditional methods.
From the article
I noted some time ago that Windows XP chose your initial picture at random from among the pictures in the %ALLUSERSPROFILE%\ Application Data\ Microsoft\ User Account Pictures\ Default Pictures directory. But it seems people want to know more.
Has anyone attempted to figure out the RNG for how Windows XP determines what profile picture is used on first account creation?
The random number generator is our friend RtlRandomEx , using the current value of GetTickCount() as the initial seed.
Share this resource