Solved

Error when running adprep /domainprep /gpprep on Win2003

Posted on 2009-05-09
3
653 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

680 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