Use shutdown command instead of halt in Windows systems