Microsoft KB Archive/152665

= How to Immediately Disable and Log off a Domain User =

Article ID: 152665

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51

-



This article was previously published under Q152665



SUMMARY
Windows NT provides the ability to prevent a user from logging on to the domain by disabling the user account in User Manager; however, this does not take effect until the user restarts the computer. In some cases, it may be necessary to immediately disable a user account in a Windows NT domain.



MORE INFORMATION
In order to immediately disable a domain user account, perform the following steps on the primary domain controller (PDC):

Note: You must have domain administrative privileges in order to perform the following steps:


 * 1) In User Manager for Domains choose "Account Disabled" in Users Properties.
 * 2) Still in the Users Properties, choose "Hours" and then Disallow all hours for this user.
 * 3) Open Server Manager and disable the user sessions in server manager or type "net session \\computername /delete" at the command prompt.

Additional query words: prodnt

Keywords: KB152665

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.