It shouldn’t hurt anything. I use the XP version of PcTools Registry Mechanic to periodically “compact” the registry which is doing the same thing.