write registry, close WPN-XM/WPN-XM#185