"AdjustTokenPrivileges Enable Failed" Error Message with Shutdown.exe

ID: Q244866


The information in this article applies to:
  • Microsoft Windows NT Server versions 4.0, 4.0 SP4, 4.0 SP5
  • Microsoft Windows NT Workstation versions 4.0, 4.0 SP4, 4.0 SP5
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SYMPTOMS

If you run the Shutdown.exe program from either the Microsoft Windows NT 4.0 Resource Kit or the Microsoft Windows 2000 Resource Kit with an additional message that includes eight characters (or a multiple of eight characters), the program does not work and the following error message is displayed:

AdjustTokenPrivileges enable failed


RESOLUTION

To work around this issue, do not use a message that contains eight characters or has a multiple of eight characters. Instead, you could use a command similar to:

shutdown.exe /L /R /T:20 "xxxxxxxx9" /Y
-or-
shutdown.exe /L /R /T:20 "xxxxxxx8 xxxxxx17" /Y


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

The following commands also display the behavior described in the "Symptoms" section:

shutdown.exe /L /R /T:20 "xxxxxxx8" /Y

shutdown.exe /L /R /T:20 "xxxxxxx8 xxxxx16" /Y

Additional query words:

Keywords : kberrmsg kbtool
Version : WINDOWS:2000; winnt:4.0,4.0 SP4,4.0 SP5
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.