Making Windows.disable() safe.