diff mbox

[KVM-AUTOTEST] KVM test: setuprss.bat: add yet another way of disabling the firewall

Message ID 1278974318-22586-1-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish July 12, 2010, 10:38 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/deps/setuprss.bat b/client/tests/kvm/deps/setuprss.bat
index 97298cd..42b1709 100644
--- a/client/tests/kvm/deps/setuprss.bat
+++ b/client/tests/kvm/deps/setuprss.bat
@@ -6,6 +6,10 @@  net user Administrator /active:yes
 net user Administrator 1q2w3eP
 netsh firewall set opmode disable
 netsh advfirewall set allprofiles state off
+net stop SharedAccess
+sc config SharedAccess start= disabled
+net stop MpsSvc
+sc config MpsSvc start= disabled
 powercfg /G OFF /OPTION RESUMEPASSWORD
 
 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "Remote Shell Server" /d "C:\rss.exe" /t REG_SZ /f