Hi Sirintip,
Enabling an XMP profile on your RAM should not cause a Windows activation error on your PC.
1
Click your Start Button, type cmd then right click Command Prompt and choose 'Run as Administrator'
Run or paste this command and hit Enter:
slmgr.vbs /dlv
Please post a screenshot of the resulting dialog
3
Download the free ShowKeyPlus app from the Microsoft Store.
On the left of that app, click 'Check Edition', then enter your product key into that app.
Please provide a screenshot of that app window and please hide your product key in the screenshot.