During installation of OSIM ImageX Windows 11 24H2, canet.exe command executed in oobecustom.cmd is not working.
This command is used to set the administrator password and join the domain.
Client Automation 14.5 CU7 + Patch 99112377 (Client Automation OSIM Certification 14.5 CU7 - Windows 11 24H2)
canet.exe (version 14.5.0.227) present in C:\Program Files (x86)\CA\DSM\osimips\os-template\images\IMAGEX-WIN1124h2\oeminst is not compatible with cbbcore.dll and libcapki DLL present in winamd64cbb.caz
Example :
On a Windows 11 24H2 installed, canet.exe returns error
The application was unable to start correctly (0xc000007b)
c:
cd \oeminst
rem -- set administrator password
if not "$OSPasswd$" == "" (
if not exist cbb .\sdmpcfre -u win86cbb.caz cbb >> c:\calogfile.txt
if exist cbb (
set CAPKIHOME=C:\oeminst\cbb
cd cbb
echo set administrator password >> c:\calogfile.txt
..\canet administrator "$OSPasswd$" >> c:\calogfile.txt
echo canet returned %errorlevel% >> c:\calogfile.txt
cd ..
)
)
rem -- reset autoadminlogon
echo set autoadminlogon=0 >> c:\calogfile.txt
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 0 /f
rem -- join domain
if not "$Domain$" == "" (
if not exist cbb .\sdmpcfre -u win86cbb.caz cbb >> c:\calogfile.txt
if exist cbb (
set CAPKIHOME=C:\oeminst\cbb
cd cbb
echo -- join domain
echo Add system to domain $Domain$ >> c:\calogfile.txt
..\canet.exe JoinDomain "$Domain$" "$DomainUser$" "$DomainPasswd$" >> c:\calogfile.txt
echo canet returned %errorlevel% >> c:\calogfile.txt
cd ..
)
)