Re: How to implement Fast User Switing in a customized shell?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Sascha,

Just to mention. You can have different shells working for different users.
All you have to do is to properly set up the following keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon],"Shell"
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon],"Shell"

Note that the current user branch is where you specify the different user shell.
Here is an article for you from Sean to get started: http://msdn2.microsoft.com/en-us/library/ms838576.aspx

There are some limitations if you run the explorer.exe not as a shell (e.g., via RunAs command). Initially it may not look like the
full Desktop shell. Just FYI.
--
=========
Regards,
KM




"Mike Warren" wrote:

Sascha wrote:

Hello community!

I'm currently migrating the software my company is working on to
windows XPe. We've decided to replace the explorer shell with our
application. Within the application customers should only see the
application and no Windows XP, but our service staff should be able
to switch to a dedicated service user account whose shell is the
explorer shell.

I don't know the answer to your question but we just run explorer.exe
for service access using a secret key sequence from within our shell
program.

Explorer.exe is not even included in the image. A USB thumb drive or CD
containing it is needed.

--
-Mike


Hello Mike,

thank you very much for your quick answer! Starting explorer.exe would be a
way to realize this task, but the application the customer is working with
should run with restricted user rights, while our service staff should have
full access (administrator priviledges) to the system.

If there's no way to trigger Fast User Switching, I will do as you proposed.
Fast User Switching seems to be the right way to work with different user
accounts.

Hmmm, by the way ... what would happen, if I run the explorer.exe with the
"Run as..." function? Will the complete desktop, windows explorer windows and
so on run under the specified user's priviledges?

Thank you for your answers :-)


.



Relevant Pages

  • My recent Epiphany about operating systems
    ... In Winblow$, the release & bundling of IE was purposely as crippleware, virus, & bug delivery system 2 trap people into constantly 'upgrading'. ... A simple comparisson of Windows 95 side-by-side with the final Windows ME & various IE 'upgrades' illustrates how the supposedly 'new & improved' stuff is actually about 1/5 the speed, ... The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. ... Just like M$ writes Windoze 2 B full of bugs, so they can keep selling the same crap over & over "oh but we fixed it this time" - yeah right:)) I am still using the shell from Windows95. ...
    (freebsd-questions)
  • Re: My recent Epiphany about operating systems
    ... In Winblow$, the release & bundling of IE was purposely as crippleware, ... & bug delivery system 2 trap people into constantly 'upgrading'. ... simple comparisson of Windows 95 side-by-side with the final Windows ME & ... AND fast shell that Microsoft has released. ...
    (freebsd-questions)
  • Re: My recent Epiphany about operating systems
    ... simple comparisson of Windows 95 side-by-side with the final Windows ME & ... properly when 'upgrading' softwares. ... but the configuration to be a complete nightmare so as to create a need for ... AND fast shell that Microsoft has released. ...
    (freebsd-questions)
  • Re: How to change my c++ programs icon?
    ... to write console applications that run on a text-based shell than ... That "Linux" has useful features Windows is lacking clearly ... who believe that console applications provide some welcome simplicity ... Microsoft are the leaders of the "anything a console app can do, ...
    (comp.os.linux.development.apps)
  • Re: Custom shell window management
    ... have multiple non-modal windows, then click on the 'background' shell ... app, all of the spawned windows are 'hidden' behind the shell. ... that seem common to custom shell creation. ...
    (microsoft.public.windowsxp.embedded)