Is this safe?

I came accross this tweek if you might call it but is it safe?
I need to know how i works and how can I undo it.
Thanks
For those of you running MS Flight Sim on Win XP and an Intel Hyperthreading CPU, here's a truly amazing performance booster:
After starting FS, go into task manager (CTRL_ALT_DEL)
Select Processes tab
Right click on FS9.exe, select "Set Affinity"
Disable one of the two check boxes so that FS9 only runs on one virtual CPU (I use CPU 0).
Do the same on any other running utilities (i.e. FDC, RC) and select the other virtual processor.
I see better than a doubling in frame rates. This, of course, assumes that hyperthreading is supported and enabled on your motherboard and BIOS settings.
An even better (permanent) way of constraining FS9 to run on a single virtual CPU on an HT CPU is using the Microsoft IMAGECFG utility (an older NT/2000 utility that works fine in XP -- do a google search). Command syntax (in a Command window):
IMAGECFG -a 0x1\fs9.exe
This writes a processor affinity mask into the executable. 0x1 specifies virtual CPU 0, 0x2 specifies vCPU 1, and 0x3 uses both 0 & 1 (default). FS will always run on the specified virtual CPU(s) from that point on.
I have done the same to the other utilities I run on the machine while FS is running, only restricting them to the opposite vCPU.
I need to know how i works and how can I undo it.
Thanks