Call CreateWinStaton Failed in winlogon.exe, reason code is 8 RRS feed

  • Question

  • I had write a remote desktop protocol provider in windows server 2012 R2.

    I just follow the introduction of

    but when i connect to remote desktop service by using the protocol myself.

    At the beginning, everything seems OK.

    smss.exe start first, then csrss.exe start too

    and the problem is coming, winlogon.exe start, i can see it in the taskmgr, user is SYSTEM, session id is a new session id. and it stop.

    i have try a lot to find out why it stop. fianllyi hook into the winlogon.exe, and found it call CreateWindowStation failed, reason code is 8.

    so where the problem is? in the remote desktop protocol provider? or just have a wrong configure in registry?

    anybody have a similar problem? how to resolved it?

    • Edited by RisingWater Friday, February 26, 2016 9:51 AM
    • Moved by Weiwei Cai Tuesday, March 1, 2016 6:58 AM not VS IDE issue.
    Friday, February 26, 2016 9:50 AM

All replies

  • Hi RisingWater,

    This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    Please tell us which project type do you create, which can let me help you find the appropriate forum for a better help.

    Best Regards,

    Monday, February 29, 2016 8:18 AM
  • There is a kernel mode driver project and sereral win32 dynamic link library projects in my solution
    Tuesday, March 1, 2016 6:30 AM
  • Hi RisingWater,

    Since your project is a kernel mode driver project, which is more related to Windows Driver Development, not a Visual Studio IDE issue. I help you move this thread to Window Driver Development forum for a better help. Thanks for your understanding.

    Best Regards,

    Tuesday, March 1, 2016 6:56 AM