Is it possible to undo the /DRAIN command with Windows Server 2008 Terminal Services?

Posted on 2009-04-22
Last Modified: 2013-11-21
I have a four-server TS 2008 Farm with NLB. The "Drain" command has come in useful on several occasions where I have an overloaded server and/or want to take the machine down for maintenance. In the case where I want to undo the command, for example when I change my mind about performing maintenance, how can I tell the server that it is allowed to start accepting connections again?
Question by:ConnectNZ
    1 Comment
    LVL 1

    Accepted Solution

    Figured it out - changing this registry value from 1 back to 0 turns off Drain mode -

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\TSServerDrainMode


    Featured Post

    Are your corporate email signatures appalling?

    Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

    Join & Write a Comment

    The environment that this is running in is SCCM 2007 R2 running on a Windows 2008 R2 server. The PXE Distribution point is running on its own Windows 2008 R2 box. This is what Event viewer showed after trying to start the WDS service:  An erro…
    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now