set root path in registry