Re: Disable programmatically the "Fast User Switching"
From: Ramesh [MVP] (sramesh2k_at_\REMOV_NOSPAM\.hotmail.com)
Date: 04/30/04
- Next message: R Doornbosch: "Register Windows XP"
- Previous message: Tim Slattery: "Re: need new windows"
- In reply to: Viviana Vc: "Disable programmatically the "Fast User Switching""
- Next in thread: Viviana Vc: "Re: Disable programmatically the "Fast User Switching""
- Reply: Viviana Vc: "Re: Disable programmatically the "Fast User Switching""
- Messages sorted by: [ date ] [ thread ]
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
- Next message: R Doornbosch: "Register Windows XP"
- Previous message: Tim Slattery: "Re: need new windows"
- In reply to: Viviana Vc: "Disable programmatically the "Fast User Switching""
- Next in thread: Viviana Vc: "Re: Disable programmatically the "Fast User Switching""
- Reply: Viviana Vc: "Re: Disable programmatically the "Fast User Switching""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|