Solved

Error when running adprep /domainprep /gpprep on Win2003

Posted on 2009-05-09
3
652 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
ID: 24345361
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
ID: 24345377
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
ID: 24346300
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Synchronize a new Active Directory domain with an existing Office 365 tenant
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

860 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