Disable programmatically the "Fast User Switching"

From: Viviana Vc (vcotirlea_at_hotmail.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 18:27:41 +0200

Hi all,

I would like programmatically to disable "Fast User Switching" (FUS) (as
an option for the user). As
I understood from what I read there are 2 ways for doing this:
1) replace the msgina.dll, as FUS doesn't work with a custom msgina.dll
2) set into the registry: HKLM\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon -> AllowMultipleTSSessions to 0

I would like to use the second way of disabling and I have some
questions:
1) Some are saying that this entry might not be in the registry. Can
this be true? If yes, if I just add it there with the 0 value will it
disable the FUS?
If indeed something from this path can miss on a WinXP, is it just the
string or it can be one of the keys from the paths (like for instance
Winlogon)?

2) Is this solution an ok solution, or it can not guarantee that by just
setting the AllowMultipleTSSessions to 0 the FUS will be disabled?

Thanks a lot in advance,
Viv



Relevant Pages

  • Re: Fast User Switching
    ... I've changed the registry for AllowMultipleTSSessions to 0x1, ... I then went into the Control Panel, etc and "checked" the FUS box. ... As far as auditing, I set that up, turned on FUS, switch ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Disable programmatically the "Fast User Switching"
    ... user's preferences? ... > I would like to use the second way of disabling and I have some ... > 1) Some are saying that this entry might not be in the registry. ... > disable the FUS? ...
    (microsoft.public.win2000.termserv.clients)
  • Re: Disable programmatically the "Fast User Switching"
    ... user's preferences? ... > I would like to use the second way of disabling and I have some ... > 1) Some are saying that this entry might not be in the registry. ... > disable the FUS? ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Disable programmatically the "Fast User Switching"
    ... user's preferences? ... > I would like to use the second way of disabling and I have some ... > 1) Some are saying that this entry might not be in the registry. ... > disable the FUS? ...
    (microsoft.public.platformsdk.security)
  • Disable programmatically the "Fast User Switching"
    ... I would like to use the second way of disabling and I have some ... Some are saying that this entry might not be in the registry. ... disable the FUS? ... setting the AllowMultipleTSSessions to 0 the FUS will be disabled? ...
    (microsoft.public.windowsxp.basics)