Change Drain Mode

Use the change logon command to change the drain mode to one of the allowed values

QUERY
ENABLE
DISABLE
DRAIN
DRAINUNTILRESTART
Version 1.0.3
Created on 2023-11-15
Modified on 2024-03-24
Created by Guy Leech
Downloads: 19

The Script Copy Script Copied to clipboard
@echo off

REM Some messages go to error so redirect to standard output

chglogon.exe /%1 2>&1