In addition to 'netsh firewall ...' use 'netsh advfirewall ...' which seems to
be the preferred way of changing firewall settings in Win7.
('netsh firewall ...' results in the firewall being disabled only for one type
of network (e.g. public networks) but not for the other (home networks).)

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

diff --git a/client/tests/kvm/deps/setuprss.bat 
b/client/tests/kvm/deps/setuprss.bat
index 82d620d..1adff0f 100644
--- a/client/tests/kvm/deps/setuprss.bat
+++ b/client/tests/kvm/deps/setuprss.bat
@@ -5,6 +5,7 @@ copy %rsspath% C:\rss.exe
 net user Administrator /active:yes
 net user Administrator 1q2w3eP
 netsh firewall set opmode disable
+netsh advfirewall set allprofiles state off
 powercfg /G OFF /OPTION RESUMEPASSWORD
 
 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "Remote Shell 
Server" /d "C:\rss.exe 22" /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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to