Updated Windows URI registartion handler