Fix VMware vCenter 5.5 issue on Windows Server 2012 R2


I had a mission to install VMware vCenter on a Windows Server 2012 R2 installation.
I had a issue that the installation got stuck at “Installing directory services”.

If you look in the vminst.log file in the %temp% directory, you can see the following.

VMware VirtualCenter-build-1312298: 08/09/14 14:33:46 [C:\Windows\system32\cmd.exe /c start /w C:\Windows\system32\ocsetup.exe DirectoryServices-ADAM /passive /norestart]
VMware VirtualCenter-build-1312298: 08/09/14 14:33:46 Util_Launch::Wait: 1 Hide: 1 TimeOut: -1

The problem is that the file C:\Windows\system32\ocsetup.exe was removed in the R2 version, this can be fixed by copying the file from a 2008 or 2012 retail version.
I resolved the issue by copying ocsetup.exe from one of our other installations and placing it in %windir%\system32 and then running the installation again.

I have made a mirror of the ocsetup.exe (as a zip file) if anybody need it.

Hope this helps somebody.


Leave a Reply

Your email address will not be published.