If you disable the write exception, you also skip the "copy-on-write" mechanism in windows, which will copy the page and assign it to that specific process specifically.
So instead of editing it for one process, you're editing it for all processes that have share that specific page.

The easiest solution is only apply the setCR0 code when the address is bigger than 0xf000000000000000ULL