DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 63OBuqdp2762503
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 63OBuqdp2762503
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=EyJ8KH8P
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48D7A4BB58E3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1777031810;
	bh=ZbBAvjYh1YNtYvpK3OBou6oH8zrQv71L8eE6loMKBN8=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=EyJ8KH8PUHazOS/ESgRaby5wHe5S3KV/UY1XR8AeScRX98HEgvSovKk+vWBwVB9SU
	 7Iw12nQcNcHPDBrLmtRtITcOxWg23A70jaygmK7iXAN6VKKh4oGFaOB8ABHRpRZ/ET
	 9+BlDWVbxq+tIixFlmsHWFWXyJjgYi+aC6PUlRVE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F4A04BB3BB9
Date: Fri, 24 Apr 2026 13:56:03 +0200
To: James Warnock <james.warnock@rackwareinc.com>
Subject: Re: cygrunsrv CWE-428
Message-ID: <aetaU_4OV_WpOUZO@calimero.vinschen.de>
Mail-Followup-To: James Warnock <james.warnock@rackwareinc.com>,
 cygwin@cygwin.com
References: <ee2370b2-34d7-4501-8a4c-49f0b1abd13f@rackwareinc.com>
 <aee5_xG7tKyT_-9k@calimero.vinschen.de>
 <SJ1PR10MB6003CBA95C1292F7CBB8D963F82C2@SJ1PR10MB6003.namprd10.prod.outlook.com>
 <CANV9t=Qy3e-J0Oz0dgmoXkr4gz9_GrXiDGYzuegqmF5b5Weu+Q@mail.gmail.com>
 <cc86af0d-fcaf-4bcd-9261-b3f738e548b0@rackwareinc.com>
 <aeiG74ROxwfRwucq@calimero.vinschen.de>
 <be3fd48f-3e5b-4890-bf4d-ad6ac239f022@rackwareinc.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <be3fd48f-3e5b-4890-bf4d-ad6ac239f022@rackwareinc.com>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>, cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Hi James,

On Apr 23 10:04, James Warnock via Cygwin wrote:
> On 4/22/26 02:29, Corinna Vinschen via Cygwin wrote:
> 
> > Most of the time it's just a permission issue.  You have to have
> > (domain) admin perms on the remote machine and you have to run in an
> > elevated shell.
> 
> I didn't have a domain set up so I had to do that. Once I got it all
> up and running, The remote service install progressed further but
> failed to open the key. When I checked what key it was opening it was:
> 
> "SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/"
> 
> After some research, it appears that might be an old key. I changed it
> to:
> 
> "SOFTWARE\\Cygwin\\setup"
> 
> And changed the value name from "native" to "rootdir". With those
> changes, the remote install worked. I don't know if I did something
> wrong and that necessitated those extra changes, but I think my test
> still counts.
> 
> My changes are based on master with the commit hash
> bfc6c36a052914cd4aa93d883e73a2964969e4e5. Maybe I'm on the wrong
> repository or commit and that is why I am seeing the old key.
> Hopefully I'm not working from the wrong place and just wasting your
> time.

Wow, that's weird.  No, you're not on the wrong branch or something.

Given how long we don't use these reg keys anymore, you can see how many
people are actually utilizing remote access :}

> Anyway, the new version of the patch is attached (hopefully correctly).

Thanks, I pushed your patch.  

Would you mind terribly, to send a patch for the above problem as well,
basically just changing the registry path?


Thanks,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
