Solved

Error when running adprep /domainprep /gpprep on Win2003

Posted on 2009-05-09
3
655 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

624 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