2024-01-14
game, cd, key, conflict

The following explains why CD key conflicts occur in a diskless environment and how to fix them by loading a unique registry file per client PC at boot time.

  1. Every game stores its CD key in the Windows registry. In a diskless setup, all clients boot from the same image and share the same registry, which means they all share the same CD key. This causes a conflict error when more than one client tries to run the game at the same time.
  2. The solution is to give each PC its own CD key by automatically loading a unique registry file when the client boots, based on its IP address.
  3. Download the registry files package from this link: https://drive.google.com/file/d/1KQlraXbUMA1fcmX5BSrw7gIEqn4v-gRE/view
  4. Extract the downloaded package to your game disk inside a folder named reg.
    For example: E:\reg\ (Figure 1).

Figure 1

  1. Now, open CCBootCloud CP and then the settings, check the checkbox for "Run Batch Command at Client" and then click the '>>" button (Figure 2)

Figure 2

  1. It will open "Public.txt" file, in the file paste the commands below and save it (FIgure 3)
    for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do (set ip=%%b)
    set ip=%ip:~1%
    regedit.exe /s "E:\reg\%ip%.reg"
    Note: Please change "D:" to match your game disk drive letter and the name of the reg files should be .reg
    You can rename the registry from the extracted folder to match your IP addresses.
    example 192.168.1.100.reg , 192.168.10.200.reg, etc

Figure 3

  1. Now, turn on your clients and run the games that have CD Key conflicts. They will work without error.
  2. If you want to add more registry to the reg files, then open a registry file reg folder (Figure 4)

Figure 4

  1. Then, add the registry for the game at the end of the file (Figure 5)

Figure 5

  • Important: You have to add the registry to all the reg files.

Related: