If you get the error “The program can’t start because libtrc.dll is missing from your computer. Try reinstalling the program to fix this problem” (like in the screenshot below) when you’re trying to run a command with IBM Security Directory Server (ISDS) on a Windows server, it may be because you’re running the .exe version of the command (such as idsadduser.exe) from the ..\sbin\64 directory, rather than the .cmd version of the command (such as idsadduser.cmd) from the ..\sbin directory. The command file versions (like idsadduser.cmd, idsicrt.cmd, idscfgdb.cmd, ibmslapd.cmd, etc) will update various environment variables, so that the program can find the required libraries.
If you just type the command name without the extension (e.g. idsadduser) then it’s not obvious what you’ve done. So the moral is that if you’re running IBM Security Directory Server, ensure that you run the commands from the ..\sbin directory (default path: “C:\Program Files\IBM\ldap\V6.4\sbin)”.