Why not just specify core affinity and avoid trying to shut down hyperthreading. If your running a program that a CPU with hyperthreading is a problem, I'd just specify core affinity to core 0. I had to do this with my game Unreal Tournament 99 as for it acts up on multiple core CPUs for a game written back when single-core Pentium III's were the gaming rig processors. On a CPU with hyperthreading the 0,2,4,6 cores are physical and 1,3,5,7 would be the hyperthreaded. So if looking to avoid running on the hyperthreaded core then avoid those with core affinity set to 0,2,4, or 6