JSI Tip 8245. You receive 'Promotion of this server to a Global Catalog has been delayed because partition occupancy requirements have not been met'?


The promotion to a global catalog server is delayed while the directory partition(s) are being prepared.

NOTE: See How can I use the command-line to make a domain controller a global catalog server?

NOTE: See How to add another Global Catalog server?

If you wish to alter the delay, run:

GCAdvertDelay Server Seconds

Where Server is the NetBIOS name of the server, and Seconds is the number of seconds to delay, from 0 to 65535.

GCAdvertDelay.bat contains:

@echo off
setlocal
if \{%2\}==\{\} goto err
set server=%1
set server=%server:\=%
set seconds=%2
:loop
if "%seconds:~0,1%" EQU "0" set seconds=%seconds:~1%
if "%seconds%" EQU "" set seconds=0&goto add
if "%seconds:~0,1%" EQU "0" goto loop
:add
call :addit>nul 2>&1
if %ERRORLEVEL% NEQ 0 goto err
endlocal
exit /b 0
:addit
set KEY=\\%server%\HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
set VN="Global Catalog Delay Advertisement (sec)"
REG ADD %KEY% /v %VN% /t REG_DWORD /d %seconds% /f
goto :EOF
:err
@echo Syntax: GCAdvertDelay Server Seconds
endlocal
exit /b 1



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish