KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q252367: Service Pack May Not Install When Run from Remote Console Client

Article: Q252367
Product(s): Microsoft Windows NT
Version(s): winnt:4.0 SP5,4.0 SP6,4.0 SP6a
Operating System(s): 
Keyword(s): kbenv kbsetup
Last Modified: 10-AUG-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows NT Server versions 4.0 SP5, 4.0 SP6, 4.0 SP6a 
- Microsoft Windows NT Workstation versions 4.0 SP5, 4.0 SP6, 4.0 SP6a 
-------------------------------------------------------------------------------

SYMPTOMS
========

If you run an unattended Setup of Microsoft Windows NT 4.0 Service Pack 5 (or
Service Pack 6) from a Remote Console client, Update.exe runs but it may not
actually update anything. In addition, a "Service Pack Setup Error" error
message is displayed in Task Manager. Because graphical user interface (GUI)
programs that are started from a Remote Console client run in an invisible
desktop, you cannot view the service pack window.

CAUSE
=====

This behavior occurs because the Remote Console server loads the client?s
registry hive (Ntuser.dat) and sets all environment variables except
%USERPROFILE%. The service pack update is unsuccessful if the %USERPROFILE%
variable does not exist.


WORKAROUND
==========

To work around this behavior, add the %USERPROFILE% environment variable before
you run an unattended service pack update.

NOTE: It does not matter if the variable points to the wrong folder. You can set
the path by typing the following commands and running the service pack Setup:

  set userprofile=%systemroot%\profiles\default user

  update.exe /u /q

MORE INFORMATION
================

Remote Console is included in the Microsoft Windows NT 4.0 Resource Kit. This
tool enables a client to start a remote shell running on the server. For more
information about Remote Console, refer to the Microsoft Windows NT 4.0 Resource
Kit tools documentation.

Additional query words: fail fails

======================================================================
Keywords          : kbenv kbsetup 
Technology        : kbWinNTsearch kbWinNTWsearch kbWinNTW400search kbWinNT400search kbWinNTW400sp5 kbWinNTSsearch kbWinNTS400sp6 kbWinNTS400sp5 kbWinNTS400search kbWinNTW400sp6 kbWinNTW400SP6a
Version           : winnt:4.0 SP5,4.0 SP6,4.0 SP6a
Issue type        : kbprb

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.