Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


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

↑ Back to the top


Status

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

↑ Back to the top


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

↑ Back to the top


Keywords: kbmigration, kbimport, kbexport, kberrmsg, kbqfe, kbdatabase, kbwinserv2003sp1fix, KB890480

↑ Back to the top

Article Info
Article ID : 890480
Revision : 8
Created on : 11/1/2006
Published on : 11/1/2006
Exists online : False
Views : 363