Offline partition registry hack

Hi robob, welcome to NST.
There's no need to hide XP from W7, unlike the absolute necessity for the opposite requirement.
If you want to do it anyway, for reasons of your own, then the hack isn't unique to XP.
Just navigate to the same registry key in W7, and offline any drives you don't want to be visible.