Solved

Setting different shells for different users

Posted on 2004-10-17
7
220 Views
Last Modified: 2012-05-05
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?
0
Comment
Question by:mhertz
  • 4
  • 3
7 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 12333202
Sounds like this is the same as you already know:
http://www.winguides.com/registry/display.php/849/

0
 

Author Comment

by:mhertz
ID: 12333242
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.

0
 
LVL 95

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.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:mhertz
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.

0
 
LVL 95

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

Author Comment

by:mhertz
ID: 12339943
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

0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 350 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.  
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now