设为首页 加入收藏

TOP

windows 远程桌面研究(二)
2017-10-11 18:26:19 】 浏览:4097
Tags:windows 远程 桌面 研究
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
    首页 上一页 1 2 3 4 5 下一页 尾页 2/5/5
    】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
    上一篇MATLAB中容易忽略却经常遇到的小.. 下一篇OCX和DLL的区别

    最新文章

    热门文章

    Hot 文章

    Python

    C 语言

    C++基础

    大数据基础

    linux编程基础

    C/C++面试题目