"Access denied" error message when you use the "netsh dhcp server import" command to import a DHCP database from a Windows NT Server 4.0-based computer to a Windows Server 2003-based computer (890480)



The information in this article applies to:

  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems

SYMPTOMS

Consider the following scenario. You are migrating a Dynamic Host Configuration Protocol (DHCP) database from a Microsoft Windows NT Server 4.0-based computer to a Microsoft Windows Server 2003-based computer. On the Windows Server 2003-based computer, you receive an "Access denied" error message when you try to import the DHCP database by using the following command:

netsh dhcp server import C:\dhcpdatabase.txt all

Note The text string C:\dhcpdatabase.txt is a placeholder for the name and path of the import file that you want to use.

When this problem occurs, the following event may appear in the System log in Event Viewer:

Type: Error
Source: VSS
Description
Volume Shadow Copy Service error: The process that hosts the writer with name Dhcp Jet Writer and ID {be9ac81e-3619-421f-920f-4c6fea9e93ad} does not run under a user with sufficient access rights.
Consider running this process under a local account which is either Local System, Administrator or Backup operator.

Data:
0000: 57 52 54 57 52 54 49 43 WRTWRTIC
0008: 33 39 39 00 00 00 00 00 399.....
0010: 57 52 54 57 52 54 49 43 WRTWRTIC
0018: 33 36 34 00 00 00 00 00 364.....
For more information about how to import a DHCP database from a Windows NT Server 4.0-based computer to a Windows Server 2003-based computer, click the following article number to view the article in the Microsoft Knowledge Base:

325473 How to move a DHCP database from a computer that is running Windows NT Server 4.0, Windows 2000, or Windows Server 2003 to a computer that is running Windows Server 2003

CAUSE

This problem occurs when the user account that is being used to import the DCHP database is not an explicit member of the local Administrators group of the source DHCP server. For example, you may experience this problem with a user account that belongs to the Domain Admins group that is a member of the local Administrators group of the destination DHCP server.

Note This problem occurs only with the DHCP IMPORT and EXPORT commands. When this problem occurs, you are still able to perform all other database administrative and configuration operations on the Windows Server 2003-based destination DHCP server.

WORKAROUND

To work around this problem, log on as a user who is an explicit member of the local Administrators group of the source DHCP server. When you do this, the following commands will work as you expect:

netsh dhcp server import

netsh dhcp server export

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Hotfix information

You can also resolve this problem by obtaining the hotfix that is described in the following article in the Microsoft Knowledge Base:

833167 A Volume Shadow Copy Service (VSS) update package is available for Windows Server 2003

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about how to use the Netsh utility, click the following article number to view the article in the Microsoft Knowledge Base:

281626 How to use the Netsh utility to export and import DHCP scopes


Modification Type:MajorLast Reviewed:5/3/2005
Keywords:kbWinServ2003SP1fix kbMigration kbImport kbExport kberrmsg kbQFE kbDatabase KB890480 kbAudITPRO