locked
DHCP Server after Migration --> Error RRS feed

  • Question

  • I migrated some DHCP servers from 2003 to 2012R2 with MS Migration tools. Everything´s fine.

    On one server i get after migration to 2012R2 the following event ID´s:

    1061: the dhcp service was unable to access path specified for the database backups

    1003:

    The DHCP service failed to initialize its registry parameters. The following error occurred:

    The device is not ready.

    1008:

    The DHCP service is shutting down due to the following error:

    The device is not ready.

    When you try to start DHCP Server service i get the message: An Error occured while trying to start DHCP service....the device is not ready

    I remived the dhcp role and installed it again - same error

    Friday, August 7, 2015 11:56 AM

Answers

All replies

  • For the 1061:

    Create a valid backup path

    Reconfigure the backup path setting to a valid folder. You might need to create the folder.

    To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

    To configure the backup path setting:

        • In the DHCP snap-in, right-click IPv4, and then click Properties.
        • Click Advanced, and then update the Database path entry to %SystemRoot%\System32\Dhcp.

    Verify

    To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

    To verify that backup and restore was successful:

    1. In the DHCP snap-in, right-click IPv4, and then click Properties.
    2. Navigate to the DHCP database path at %SystemRoot%\System32\Dhcp, and then verify the presence of recently created files.
    3. Type net start dhcpserver, and then press ENTER. The output of this command indicates that the server is already running, or starts the DHCP Server service if it was not already running.

    For the 1003

    Give the DHCP service account permissions to create directories and files

    To perform these procedures, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

    To change permissions on files and folders:

    1. At the DHCP server computer, click Start, point to All programs, point to Accessories, and then click Windows Explorer.
    2. Right-click the file or folder for which you want to set permissions, click Properties, and then click the Security tab.
    3. Complete the following steps as needed:
    • To set permissions for a group or user that does not appear in the Group or user names box, click Add, type the name of the group or user, and then click OK.
    • To change or remove permissions from an existing group or user, click the name of the group or user.
    • To allow or deny a permission, in the Permissions for User or Group box, select the Allow or Deny check box.
    • To remove the group or user from the Group or user names box, click Remove.

    Notes

    • You can only set file and folder permissions on drives formatted to use NTFS.
    • To change permissions, you must be the owner or have been granted permission by the owner to do so.
    • Groups or users that are granted Full Control permissions for a folder can delete files and subfolders within that folder, regardless of the permissions that protect the files and subfolders.
    • If the check boxes under Permissions for User or Group are shaded or if the Remove button is unavailable, then the file or folder has inherited permissions from the parent folder.
  • When adding a new user or group, by default, this user or group will have ReadRead and Execute, and List Folder Contents permissions.

Friday, August 7, 2015 12:10 PM
  • I wrote already, that DHCP service is not able to start!

    So your recommendation is not possible: In the DHCP snap-in, right-click IPv4, and then click Properties???

    Friday, August 7, 2015 1:31 PM
  • Hi Alex,

    Is this DHCP server domain joined or stand along? if domain joined, has it been authorized?

    Check if the current account has full control permission of the DHCP database directory %SystemRoot%\System32\Dhcp folder.

    Also ensure that the DHCP Server service and other services which it depends on are running.

    I have seen a case with similar error messages, check if it helps:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/b685a974-b2ad-499d-b7b1-e004b17548d0/windows-2008r2-dhcp-server-access-is-denied?forum=winserverNIS

    Best Regards,

    Leo


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Leo Han Monday, August 24, 2015 7:56 AM
    • Marked as answer by Leo Han Thursday, August 27, 2015 7:45 AM
    Monday, August 10, 2015 9:26 AM