different logon for each user

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
 
S

Slobodan Brcin

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
 
S

Slobodan Brcin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top