Distributing agent and registry settings