Solved

Error when running adprep /domainprep /gpprep on Win2003

Posted on 2009-05-09
3
644 Views
Last Modified: 2012-05-06
I have tried to research existing questions/knowledge base but nothing seems to apply so far.

I have 2 existing W2K3 DCs and need to setup a new W2K8 DC.

I am running adprep from the 2008 disk (32bit) on my main DC (win 2003) which is a schema master.

adprep /forestprep run successfully without any errors but when running 'adprep /domainprep /gpprep' I receive an error:

Adprep was unable to complete because the call back function failed.
[Status/Consequence]
Error message: (null)

It seems like AD replication runs OK (log attached) and dcdiag and netdiag do not return any errors.

All log files attached.

Please help!
adprep.txt
adprep-error.txt
showrepl.txt
0
Comment
Question by:DENTSU
3 Comments
 
LVL 6

Accepted Solution

by:
ikshf143 earned 500 total points
Comment Utility
Hi,

I hope the following Information Helps.
Known causes for ADPREP /DOMAINPREP /GPPREP failing with error "Adprep was unable
to complete because the call back function failed"
0.>SYSVOL is missing the \SCRIPTS folder
1.>Default domain or domain controller policies are missing. Workaround. Solution:
Recreate with RECREATEDEFPOL or DCGPOFIX

2.>Default domain or domain controller policies are not assigned the default 6ac...
or 31b... GUIDS. Recreate with RECREATEDEFPOL or DCGPOFIX

3.>Verify that the following regkey exist and contains a valid path to the sysvol:
HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\SYSVOL (reg_sz) pointing
to "%SystemRoot%\sysvol\sysvol"
Run the following command if invalid: reg add
HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters /V SysVol /T REG_SZ /D
"%SystemRoot%\sysvol\sysvol" /F

4.>The junction is missing between c:\windows\sysvol\sysvol\domain and
c:\windows\sysvol\ssysvol\<FQDN> is not defined
Correct with "Linkd c:\windows\sysvol\sysvol\<FQDN> c:\windows\sysvol\domain"

Imran
0
 
LVL 13

Expert Comment

by:marine7275
Comment Utility
Have you checked your PATH variables? Ensure that %SystemRoot% variable points to C:\WINNT

Also check the following registry key,

HKLM\SYSTEM\CurrentControlSet\Services\NetLogon\Parameters\SysVol

The value should be %SystemRoot%\SYSVOL\sysvol
0
 

Author Comment

by:DENTSU
Comment Utility
Thanks ikshf143!

I restored the default GPOs for 'Domain' and 'Domain Controller' with [dcgpofix /ignoreschema /target:both] and everything went OK.

Thanks for your help!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now