From patchwork Wed Nov 4 14:05:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 57581 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA4E8IQc020554 for ; Wed, 4 Nov 2009 14:08:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755346AbZKDOIL (ORCPT ); Wed, 4 Nov 2009 09:08:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755673AbZKDOIK (ORCPT ); Wed, 4 Nov 2009 09:08:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11563 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754417AbZKDOIK (ORCPT ); Wed, 4 Nov 2009 09:08:10 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA4E8ECc012308; Wed, 4 Nov 2009 09:08:14 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA4E8DM5016323; Wed, 4 Nov 2009 09:08:13 -0500 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 nA4E8979029198; Wed, 4 Nov 2009 09:08:10 -0500 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH 1/6] KVM test: disable password prompt on resume for Windows guests Date: Wed, 4 Nov 2009 16:05:37 +0200 Message-Id: <1257343542-27902-1-git-send-email-mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/deps/setuprss.bat b/client/tests/kvm/deps/setuprss.bat index 7b6618b..82d620d 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 +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 reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon" /v "AutoAdminLogon" /d "1" /t REG_SZ /f