ry Editor (by default, this is located at c:\windows\regedit.exe ).
Go to the following registry key: HKEY_LOCAL_MACHINE\ System\CurrentControlSet\Control\TerminalServer
If the fSingleSessionPerUser value doesn't exist, create a new DWORD value named fSingleSessionPerUser
Open the fSingleSessionPerUser value. The possible values for this setting are as follows:
-
0x0
-
Allow multiple sessions per user
-
0x1
-
Force each user to a single session
Enter the new setting, and then click OK.
2)
For a specific terminal server session, USERCONFIG indicates the user and session configuration.
-
typedef struct _USERCONFIG {
ULONG fInheritAutoLogon :1;
ULONG fInheritResetBroken :1;
ULONG fInheritReconnectSame :1;
ULONG fInheritInitialProgram :1;
ULONG fInheritCallback :1;
ULONG fInheritCallbackNumber :1;
ULONG fInheritShadow :1;
ULONG fInheritMaxSessionTime :1;
ULONG fInheritMaxDisconnectionTime :1;
ULONG fInheritMaxIdleTime :1;
ULONG fInheritAutoClient :1;
ULONG fInheritSecurity :1;
ULONG fPromptForPassword :1;
ULONG fResetBroken :1;
ULONG fReconnectSame :1;
ULONG fLogonDisabled :1;
ULONG fWallPaperDisabled :1;
ULONG fAutoClientDrives :1;
ULONG fAutoClientLpts :1;
ULONG fForceClientLptDef :1;
ULONG fRequireEncryption :1;
ULONG fDisableEncryption :1;
ULONG fUnused1 :1;
ULONG fHomeDirectoryMapRoot :1;
ULONG fUseDefaultGina :1;
ULONG fCursorBlinkDisabled :1;
ULONG fPublishedApp :1;
ULONG fHideTitleBar :1;
ULONG fMaximize :1;
ULONG fDisableCpm :1;
ULONG fDisableCdm :1;
ULONG fDisableCcm :1;
ULONG fDisableLPT :1;
ULONG fDisableClip :1;
ULONG fDisableExe :1;
ULONG fDisableCam :1;
ULONG fDisableAutoReconnect :1;
ULONG ColorDepth :3;
ULONG fInheritColorDepth :1;
ULONG fErrorInvalidProfile :1;
ULONG fPasswordIsScPin :1;
ULONG fDisablePNPRedir :1;
WCHAR UserName[USERNAME_LENGTH + 1];
WCHAR Domain[DOMAIN_LENGTH + 1];
WCHAR Password[PASSWORD_LENGTH + 1];
WCHAR WorkDirectory[DIRECTORY_LENGTH + 1];
WCHAR InitialProgram[INITIALPROGRAM_LENGTH + 1];
WCHAR CallbackNumber[CALLBACK_LENGTH + 1];
CALLBACKCLASS Callback;
SHADOWCLASS Shadow;
ULONG MaxConnectionTime;
ULONG MaxDisconnectionTime;
ULONG MaxIdleTime;
ULONG KeyboardLayout;
BYTE MinEncryptionLevel;
WCHAR NWLogonServer[NASIFILESERVER_LENGTH + 1];
APPLICATIONNAME PublishedName;
WCHAR WFProf |