From patchwork Mon Jul 12 22:38:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 111542 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6CMcj5t013366 for ; Mon, 12 Jul 2010 22:38:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755490Ab0GLWij (ORCPT ); Mon, 12 Jul 2010 18:38:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35984 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755479Ab0GLWii (ORCPT ); Mon, 12 Jul 2010 18:38:38 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6CMcbQv030077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Jul 2010 18:38:37 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6CMcbY4019500; Mon, 12 Jul 2010 18:38:37 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o6CMcZYn007509; Mon, 12 Jul 2010 18:38:35 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH] KVM test: setuprss.bat: add yet another way of disabling the firewall Date: Tue, 13 Jul 2010 01:38:38 +0300 Message-Id: <1278974318-22586-1-git-send-email-mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 12 Jul 2010 22:38:45 +0000 (UTC) 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