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" <(E-Mail Removed)> wrote in message news:c6tumt$fotfi$(E-Mail Removed)...
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