Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error when running adprep /domainprep /gpprep on Win2003

Posted on 2009-05-09
3
Medium Priority
?
657 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 2000 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

972 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