X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Adrian Hill Subject: Access Denied to registry keys HKLM\Software Date: Mon, 29 Oct 2007 11:13:08 +0000 (UTC) Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I am new to Cygwin, we are running version 1.59. Cygwin used is for account management for our Active Directory. Cygwin is used to launch an C-based program (that is running as service) that calls a VB6 Program, which is called via a SSH connection from our central account management system that runs on a Unix. We recently updated the VB6 code to VB.NET, with the changes is the ability to created Exchange Mailboxes using CDOEXM.DLL. A AD-account is running the C- based program as a service ( which was setup via cygrunsrv), Cygwin executes that C-based program under that account. The problem I am having is the AD-account that executes the new vb.net code via the C-based program gets an access denied to the Registry: HKLM\Software in particular: HKLM\System\CurrentControlSet\Services\EventLog\Application\ESE HKLM\Software\Microsoft\Exchange And a bunch of others from HKLM\Software Which causes the VB.Net code to crash indicating access denied to application event log..due to CDOEXM.DLL not getting access to HKLM\System\CurrentControlSet\Services\EventLog\Application\ESE But it can access HKLM\System\CurrentControlSet\Services\Eventlog\Application and a few others which have the same security… I have also given the account administration rights within cygwin, and still get the same problem. However, under windows within cygwin the code runs fine..without going over the SSH connection… I have noticed the security on proc/registry contains ???????? with no rights is that normal.. Has anyone point me in the right direction. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/