Re: Disable programmatically the "Fast User Switching"

From: Ramesh [MVP] (sramesh2k_at_\REMOV_NOSPAM\.hotmail.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 22:13:27 +0530

Viv,

1st solution disables Welcome Screen as well.
2nd solution should work.

One entry of AllowMultipleTSSessions will exist anyway

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllowMultipleTSSessions
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\AllowMultipleTSSessions (not present by default)

Set AllowMultipleTSSessions to 0 the FUS will be disabled. The AllowMultipleTSSessions value present under 'policies' will override the value under WinLogon. (If Winlogon\AllowMultipleTSSessions is set to 0 and policies\system\AllowMultipleTSSessions is set to 1, FUS WILL work.)

HTH

-- 
Ramesh - Microsoft MVP
Windows XP Shell
http://www.mvps.org/sramesh2k
"Viviana Vc" <vcotirlea@hotmail.com> wrote in message news:c6tumt$fotfi$1@ID-78102.news.uni-berlin.de...
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: Disable programmatically the "Fast User Switching"
    ... 1st solution disables Welcome Screen as well. ... One entry of AllowMultipleTSSessions will exist anyway ... I would like programmatically to disable "Fast User Switching" (FUS) (as ... Some are saying that this entry might not be in the registry. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Disable programmatically the "Fast User Switching"
    ... 1st solution disables Welcome Screen as well. ... One entry of AllowMultipleTSSessions will exist anyway ... I would like programmatically to disable "Fast User Switching" (FUS) (as ... Some are saying that this entry might not be in the registry. ...
    (microsoft.public.windowsxp.customize)
  • Re: Disable programmatically the "Fast User Switching"
    ... 1st solution disables Welcome Screen as well. ... One entry of AllowMultipleTSSessions will exist anyway ... I would like programmatically to disable "Fast User Switching" (FUS) (as ... Some are saying that this entry might not be in the registry. ...
    (microsoft.public.windowsxp.basics)
  • Re: Disable programmatically the "Fast User Switching"
    ... 1st solution disables Welcome Screen as well. ... One entry of AllowMultipleTSSessions will exist anyway ... I would like programmatically to disable "Fast User Switching" (FUS) (as ... Some are saying that this entry might not be in the registry. ...
    (microsoft.public.windowsxp.wmi)
  • Re: Delayed Write Failed -- DeviceLanmanRedirector
    ... i followed those instructions from MS and disables O locks on the ... so i created a new DWORD entry in the parameters folder and set it ... i am going to choose 5 users and disable O locks on their end and see ... the server is a standard install of windows 2K3 STD and the users are ...
    (microsoft.public.windows.server.networking)