Hello there,
No code changes are required on the client side and server side but this key will not be generated automatically.
June 2021 - Hardening feature available, but disabled by default.
June 2022 - Hardening feature enabled by default but can be disabled.
March 2023 - Hardening feature enabled, CANNOT be disabled.
This registry value does not exist by default; you must create it. Windows will read it if it exists and will not overwrite it. You must restart your device after setting this registry key for it to take effect.
------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–