mhertz
asked on
Setting different shells for different users
Hi,
I would like to be able to set winlogon\shell to different programs depending upon the user who is loggong into the computer. Is this something that is possible to do?
I was thinking of using the group policy where I see there is a setting that determines if a logon script exeutes before or after the shell is started. So if I can execute the logon script before the shell starts maybe I could then set the shell to the approriate program.
Will this work?
Does anyone have any other suggestions?
I would like to be able to set winlogon\shell to different programs depending upon the user who is loggong into the computer. Is this something that is possible to do?
I was thinking of using the group policy where I see there is a setting that determines if a logon script exeutes before or after the shell is started. So if I can execute the logon script before the shell starts maybe I could then set the shell to the approriate program.
Will this work?
Does anyone have any other suggestions?
ASKER
leew
I am new to this. So what I don't understanfd from the link you poited me to is how does it get defined individually to the user logon. I understand how to replace the shell for the entire computer but not for an individual user.
I am new to this. So what I don't understanfd from the link you poited me to is how does it get defined individually to the user logon. I understand how to replace the shell for the entire computer but not for an individual user.
The HKEY_CURRENT_USER registry key defines settings specific to the individual user.
The HKEY_LOCAL_MACHINE registry key defines settings that are used for all users.
The HKEY_LOCAL_MACHINE registry key defines settings that are used for all users.
ASKER
So are you saying that the changes that occur in HKEY_CURRENT_USER will apply to the current user that is logged on. And if I want to set a different user first I have to logon as that user and then make the changes again.
That SHOULD work.
Another idea might be to use mandatory profiles. Create a user with a roaming profile. Then Adjust the user so they use the shell you want them to. Then rename the ntuser.dat (in the roaming profile directory on the network) to ntuser.man. You should then be able to assign the mandatory profile to several users, saving the time of doing it per user.
Another idea might be to use mandatory profiles. Create a user with a roaming profile. Then Adjust the user so they use the shell you want them to. Then rename the ntuser.dat (in the roaming profile directory on the network) to ntuser.man. You should then be able to assign the mandatory profile to several users, saving the time of doing it per user.
ASKER
leew,
I have not done it yet. But can it work on XP home or does it need XP professional? I ask because the group policy editor I though is a function of XP Pro.
Thanks for your help
I have not done it yet. But can it work on XP home or does it need XP professional? I ask because the group policy editor I though is a function of XP Pro.
Thanks for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.winguides.com/registry/display.php/849/