Jump to content

Random LogonUI


Recommended Posts

how can i make an entry on right click like this 1


but instead of "random wallpapers" its random logon

basically, all it needs 2 do is set a random number

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","UIHost",0x00000000,%10%\Resources\LogonUI\customlogon[*].exe

where i want [*] to be a random number between 1 - 10 (number of logons i have)

Link to comment
Share on other sites

let me think... you can call a .cmd file that rotates the logons...

copy customlogon3.exe customlogontemp.exe
copy customlogon2.exe customlogon3.exe
copy customlogon1.exe customlogon2.exe
copy customlogontemp.exe customlogon1.exe
del customlogontemp.exe

i usually did something like this when i wanted to change my wall on w98 (from autoexec.bat i ran the code above). this combined with a reg entry on *.* files will do the job :)

Link to comment
Share on other sites

  • 2 weeks later...

One way would to make a startup script or scheduled task using the %RANDOM% variable. Since it increments between 0 and 32767 you would have to futher truncate it. then name your current file wallpaper.jpg and xcopy wallpapern


set /a N=%RANDOM%
set N=%N:~0,2%
xcopy <path>\wallpaper%N%.jpg <path>\wallpaper.jpg /y
or insert tne variable in your reg code...
REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d %windir%\wallpaper.jpg /f

at least its a start (?)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...