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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Disable the firewall service on Windows 2000, XP, 2003 ('SharedAccess') and
Windows Vista, 2008, 7 ('MpsSvc').  This is useful because even when the
firewall is disabled, it may block connections for a few seconds on startup.
Disabling the firewall service solves the problem.

Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
---
 client/tests/kvm/deps/setuprss.bat |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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
-- 
1.5.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux