Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Setting different shells for different users

Posted on 2004-10-17
Medium Priority
Last Modified: 2012-05-05

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?
Question by:mhertz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 96

Expert Comment

by:Lee W, MVP
ID: 12333202
Sounds like this is the same as you already know:


Author Comment

ID: 12333242

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.

LVL 96

Expert Comment

by:Lee W, MVP
ID: 12333290
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.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 12333447
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.

LVL 96

Expert Comment

by:Lee W, MVP
ID: 12333570
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.

Author Comment

ID: 12339943

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

LVL 96

Accepted Solution

Lee W, MVP earned 1400 total points
ID: 12340270
Both XP Home and XP Pro have User settings and system wide computer settings.  HOWEVER, management of XP home is NOT easy to automate because Microsoft EXPECTS and WANTS businesses to spend more money on Pro.  So setting the shell should be possible, it won't necessarily be easy to do MANY at in an automated manner.  

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question