Jump to content

How to replace your logonscreen in an unattended install with a .logon


Recommended Posts

My custom Windows setup is now working the way I wanted it to, nearly everything starts customised, the theme, the background, the registry etc. The only thing I'm really eager to change now is the logonscreen. I have tried to modify the logonui.exe with PE Editor but this led to a fine crash (My eternal grattitude to VMWare for making crashes on virtual machines instead of my own B) ) so I was wondering how to change the original logonscreen with a .logonxp file. Any possibilities of installing logonxp and then having a batchfile enable it? Or anything better (or worse, as long as it works :P )?

Thanks in advance

Edited by GeneralIx
Link to comment
Share on other sites


What for? I asked a question, I gave no answers. I merely said that you could edit your logonui.exe with PE Explorer, but this leads to a crash.

I custmize Logonui.exe easly as far as I want

then I apply "modifype Logonui.exe -c"

last "makecab Logonui.exe"

replace the original file with this modifyed file and everything going ok during installation

Thats all guy

Link to comment
Share on other sites

Nevermind, I found my way around. You install logonstudio and make your own theme, apply it and you then go to your system32 directory and filter out the logonuiX.exe file. Put this one in your $OEM$\$$\system32 folder. So much for step 1. Step two is making this file used as your logonscreen, it's not as hard as it sounds. In fact all you need to do is adjust a registry key in a .reg file and make a .bat or a .cmd file to put this in your register. Firstly, let's write the .reg file. Open up notepad and type in the following:

; Set default logonscreen to logonuiX.exe
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"UIHost"="%windir%\\system32\\logonuiX.exe"

Save this file as a .reg file named logonui.reg (or something else but this is the name I'll stick to) in the $OEM$\$1\Install folder. The next thing to do is make the .cmd file. Open up notepad again and type in:

@echo off
cmdow @ /HID
REGEDIT /S %systemdrive%\Install\logonui.reg
EXIT

Save this file as logonui.cmd. The cmdow @ /HID is optional, depending on if you have this program or not. And lastly to have it all work, openup cmdlines.txt and add:

[COMMANDS]

"logonui.cmd"

If all that's done correctly as outlined here it works ;)

I hope this will help you guys ;)

Greets,

General Ix

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...