Modified RegistryServer
added LocateRegistry