Press the Windows Key + R shortcut on your keyboard to bring up the Run window, and type regedit.
And follow the video below.
https://youtu.be/6GyJV5SgZsY
The following registry key values should be added.
CommonFilesDir = C: \ Program Files \ Common Files
ProgramFilesDir = C: \ Program Files