diff options
-rw-r--r-- | wintest/wintest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py index 80132d76b8..d5728a883b 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -577,7 +577,7 @@ options { def disable_firewall(self, child): '''remove the annoying firewall''' child.sendline('netsh advfirewall set allprofiles state off') - i = child.expect(["Ok", "The following command was not found: advfirewall set allprofiles state off"]) + i = child.expect(["Ok", "The following command was not found: advfirewall set allprofiles state off", "The requested operation requires elevation"]) child.expect("C:") if i == 1: child.sendline('netsh firewall set opmode mode = DISABLE profile = ALL') |