Update windows configuration and place windows check into a method