Windows Err Msg: Failed to Register Server

Last reviewed: November 21, 1994
Article ID: Q85326
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SYMPTOMS

If you are installing software and/or updating the REG.DAT file using Registration Editor (REGEDIT.EXE) under Windows version 3.1, you may receive the following error message:

   Failed to Register Server

CAUSE

This error can be caused by any of the following:

  • Two REG.DAT files on your hard drive
  • A corrupt REG.DAT file
  • A write-protected REG.DAT file

RESOLUTION

To correct this problem,

  1. Check to see if there are two REG.DAT files on your hard drive. (If there are two files, one file is probably in the WINDOWS directory, while the other is likely in the WINDOWS\SYSTEM directory.)

    There should only be one copy of these files on your hard drive; it should be in the WINDOWS directory. If there is a REG.DAT file in your WINDOWS\SYSTEM directory, delete the REG.DAT file in your WINDOWS\SYSTEM directory.

  2. If there aren't two REG.DAT files on your hard drive, the REG.DAT file is probably corrupt or write-protected. (REGEDIT /U cannot correct the file.) Delete the file, then run REGEDIT.EXE to re-create the REG.DAT file.


KBCategory: kbsetup kbole kberrmsg kbenv kbtool
KBSubcategory: win31 wfw wfwg
Additional reference words: 3.10 3.1 3.11


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.

Last reviewed: November 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.