different logon for each user

  • Thread starter Thread starter Ugo
  • Start date Start date
U

Ugo

Hi XPE folks,
does anybody know how to have each user running a
different configuration script at logon?

In other words,
I would like to have 2 different users, let's
say "normalUser" and "administrator". If I logon
as 'normalUser' I would like XPE to automatically run an
application. If I logon as 'administrator' I would like to
see the normal explorer shell interface.

Thank in advance for your help,

Ugo
 
I used following approach on Windows XP Home version.

In registry write,
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
In UserInit set it to point to default userinit.exe and also to point to
yourinit.exe.

You need NTFS file system.
Set permissions for userinit.exe so only Administrators can execute it.
Set permissions for yourinit.exe so only Users can execute it Administrators
must not be able to execute it..


So if you log as admin then userinit will be executed and XP will load
normally.
If you don't use admin account then yourinit will be executed and you can do
whatever you like.


Regards,
Slobodan
 
BTW, on XPe you can replace userinit with your own.

And you can start MS userinit if you determine that you are in admin
account.
This will remove restriction of NTFS, and setting user permissions.

Regards,
Slobodan
 
Back
Top