Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id D045F66136D for ; Fri, 27 Jan 2012 23:31:32 -0400 (AST) Received: from omr5.networksolutionsemail.com ([205.178.146.55]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rqz0j-0001Rp-LH for pgsql-bugs@postgresql.org; Sat, 28 Jan 2012 03:31:32 +0000 Received: from cm-omr4 ([205.178.146.50]) by omr5.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id q0S3VGcS006097 for ; Fri, 27 Jan 2012 22:31:16 -0500 Authentication-Results: cm-omr4 smtp.user=eborts@bltek.com; auth=pass (CRAM-MD5) X-Authenticated-UID: eborts@bltek.com Received: from [64.25.231.138] ([64.25.231.138:54313] helo=[192.168.2.112]) by cm-omr4 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTPSA (cipher=AES256-SHA) id F5/78-21862-30C632F4; Fri, 27 Jan 2012 22:31:16 -0500 Message-ID: <4F236C02.2010304@bltek.com> Date: Fri, 27 Jan 2012 20:31:14 -0700 From: Eric Borts User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Dharmendra Goyal CC: Dave Page , pgsql-bugs@postgresql.org Subject: Re: Windows x86-64 One-Click Install (9.1.2-1, 9.0.6-1) hangs on "initialising the database cluster" (with work-around) References: <4F209FF1.3080209@bltek.com> <4F219D77.9050800@bltek.com> <4F21A163.8060004@bltek.com> <4F22FBC7.2000902@bltek.com> <4F22FDD8.1020708@bltek.com> <4F230600.7030902@bltek.com> <4F230D46.2010200@bltek.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/213 X-Sequence-Number: 32280 On 1/27/2012 7:47 PM, Dharmendra Goyal wrote: > Nice analysis Eric. ANy idea why (which program set this) this > particular registry was set. Thanks Dharmendra! It was pretty exhausting. I haven't a clue how this got changed. I tried goofing around with shift, ctrl, etc. and I wasn't even able to get an "Open With" option on the context menu. The only way I found to re-associate the file was: Control Panel > All Control Panel Items > Default Programs > Set Associations Double click .bat Click Browse Browse to C:\windows\system32\cmd.exe Click Open Select "Virtual Command Shell 9014006604090000" Click OK So I doubt I did it manually. As far as what program made that modification or what steps I went through to get Windows to give me the option to re-associate a batch file, I don't know. Now, once the association is set, it's impossible to remove without editing the registry. Thanks for spurring me on to find the source of the problem! E For kicks, here are a few links where people set the association manually and were advised to delete the .bat\UserChoice key: http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/fc2ca91d-5509-4c9b-92a5-5af19375e361 http://www.computing.net/answers/windows-7/how-to-disassociate-batch-files-from-notepad/5521.html