Creation of registry keys works now