DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 622K6Xxa115465
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 622K6Xxa115465
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=qEXvKgKd
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88E854BA23CE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1772481991;
	bh=R3pniSS21MK1HPmYm49WSiRtwlJVQthZYOutDxQ83mQ=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=qEXvKgKdeOFr+RCmwJ4GClSr392mQVpJTX555Ry2X5oUwAGN0LxrC/2VrVDAjx+xH
	 LN0p9VXUuSJrMgWN+rrxhOc+YUfELcJxGTNIyFHPne+ljowN0YkDZt9AUFAY2D0qUY
	 EjIVFgDD1dq6OsY4av01dIZZo/IwnvIWcirk0jbw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA2B34BA2E1D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BA2B34BA2E1D
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1772481972; cv=pass;
 b=l+/BC9mOdB0/5ZXzMsbif+ilxoi6UZMRUkaelfdITCRsWdSblXuDRpoMm9HTDILJgccQg2wFKbrla4q9fe6LtEZ4GS18E07FKPzQBbKco8sPVLdZGmSloPc6C3Bo77ljIqZN8EorlWHweCp4nf6mAKCP20pKvek0KCOhsUpXdsQ=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
 t=1772481972; c=relaxed/simple;
 bh=YWfbafRCs6L8nzuTUFiDCmwaho+EoQHw8hqlDlV9/2w=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=k1S5Eqcrwir2LM5/Z4/IpBq4rgHInKOkurxNapUnRCUypSiy1KWGAdgYirGL4SH/4mXdSYFjqOgoGFB8Q9VqPLjYUi9J8WHj6TRtQiwxga6exR+e+CTfFNfXDJ+JekHUmczxzMnPCHWzYUnOupqCFd3HLCk00AHlFiRwOJYpagI=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA2B34BA2E1D
ARC-Seal: i=1; a=rsa-sha256; t=1772481972; cv=none;
 d=google.com; s=arc-20240605;
 b=k+zUPc1bsjJHpt0BS8ZQtoCV3iBf++TM5td+veMan24rdgH1ZdhyqkPUU2+6AnZVWP
 4+Jy4ROIZkGmKDCdWtYRVoYrLoRKORt4Yyi2Hei/e0ottqixKxiRL02LUxsZ916ev0O3
 mL+8RsSVIq4fYm63U/wRSzJS+JpKxb9kKBdJhMWkHU9TfPN/NKjwKR+TIodRBcMQ7hDP
 MtP3QYjb8MXtLs7CRwQBBkW0SaRbUdW3n4wB7POFlYKkzQ2vkYOw3zOFdOtqDiVzp+jg
 56v5GbtztowVlZzF8MxMAUauh3kjTFl99iNeVA7DJZfMkqSe/gkBtIwbzZdDAvd0Nbpg
 IjIw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=content-transfer-encoding:to:subject:message-id:date:from:reply-to
 :in-reply-to:references:mime-version:dkim-signature;
 bh=YWfbafRCs6L8nzuTUFiDCmwaho+EoQHw8hqlDlV9/2w=;
 fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=;
 b=d511GLiMSXxRFRHWOc/TRmlvQwoLUb0hzX9vwFlT0krYw7zhrjD3YT6t8bOWWoMSBU
 KHAZ0tSHBFccm1rXIg0qjrHSdvsZSkzpCfsbFL2xujnVgBgOc6QKhfvtYwXshq7PqwRC
 pYWtm7ZXkZRX8TKxZM96ZaUJ7MhniYRctfrGyigTefNcwwpfM4hSDu6zPkjwkemtm/9q
 u58qdlqzQt2B8k1DlZxyIU/7J/5eERCHmvtCqJ+g9Q6LLHoJRS8VlTnsQVyMUURYthCU
 iv0MZODudoGCsYFEREI7Qd/UA47cBDzJSLSt9lB0nPzXxCVSFPwO1OMd2067PpOsSApz
 tF7A==; darn=cygwin.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1772481972; x=1773086772;
 h=content-transfer-encoding:to:subject:message-id:date:from:reply-to
 :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=YWfbafRCs6L8nzuTUFiDCmwaho+EoQHw8hqlDlV9/2w=;
 b=kWwdUkljQ+PWG/tPilhRnGjlhLYX8/A3N/TiswKrn4vCBZRKaigo/dbZ+XZgepTAkH
 xJFN+iFmg8zat5Zg3SdPzoe8P3Zn8bIcvIKA4Lp5AmhpJVX7Od7JFIvvoZnb+IqNo+uy
 h/x3FbcB47KbJgyFZtWI6yu2/xpke3JqPc2M5LnyhegJv+Tg3uizG3gkprLLbX/uEWSq
 q4jRhMktnSPiABBkuSvF7+qZr+vZkv/132CMZPHCiOkwu5rUBo+UDiZwsO5DNxshtx3v
 iD2cQy6sk3DoTRqGJ0BI9vtSxenKt0zI6lGL0h6IfcYzlJHpiEnbwzRrChEqpwt+tfmv
 teVw==
X-Gm-Message-State: AOJu0YyG+EEKxPiI5m9Vq+2M+b242Ytwl96vVunLf8Ju3+zgk5BMn7bR
 nYAhasmz7FRd9szqaBIY5rZ/I26Vr/i+6ZgC7kMVe9bAJxdbXXWwejvHY032rJ7LupiRtujXGKb
 GfLeMWs8wqC53YgIsII/aAS6613H99bH8Y+ig
X-Gm-Gg: ATEYQzzybiVdZbT7Va2LlvrHmBPl0s5hRo693FSZ8Xig6q3tDYu2T/0CRUso5W35Y80
 i3fQTJyWrdecQB8ARs7utMwLgiAK5X0CdsoL3Ga2MBpeiLUuR1ywuN0AYRTuG2/9oSYcCeiIFLX
 +KHgUfeXo0R7UBOfsY9QNibd6GeneMDi1Wfy6myMKPgIyL1lkYJXX3Xi4eQ2liylQncsLh/AKwv
 I5i7y7WZyboXNrwOAjF5OWTq9hbxDS+Wh05tHSJgrV+zze2GLqOKjHRy1lZy1AtqJN6QwK5PZKm
 YyIPzDY6wnSyIks7TzYSNQHa4k/klUXuAdPfnwycldEuBZDjoIWQOQ0i5sGLXWR744ZY39Y=
X-Received: by 2002:a05:690c:6c87:b0:798:1be:1c34 with SMTP id
 00721157ae682-79874d8b9fdmr130653157b3.26.1772481972107; Mon, 02 Mar 2026
 12:06:12 -0800 (PST)
MIME-Version: 1.0
References: <CANH4o6P07DG5XcSooXkAE5ShWkkz1hVBSMn6k2iaLycSEEA_0A@mail.gmail.com>
In-Reply-To: <CANH4o6P07DG5XcSooXkAE5ShWkkz1hVBSMn6k2iaLycSEEA_0A@mail.gmail.com>
Date: Mon, 2 Mar 2026 13:05:44 -0700
X-Gm-Features: AaiRm50w_w1MTRzw9TWCvNeZiASYjwmFUaZlo7uM0-QOkh6vSYZzL6kktYp-0rE
Message-ID: <CANV9t=R6vkE-cWbsADxdO3PpszKJO2TtapQ+VYuUhEY1cVDX1w@mail.gmail.com>
Subject: Re: HYPER-V VMs: Cygwin /bin/getent group 'Virtual Machines' cannot
 find the group
To: cygwin@cygwin.com
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Bill Stewart via Cygwin <cygwin@cygwin.com>
Reply-To: bstewart@iname.com
Cc: Bill Stewart <abqbill@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 622K6Xxa115465

On Mon, Mar 2, 2026 at 12:19 PM Martin Wege wrote:

>
> Hello,
>
> we use HYPER-V virtual machines on Windows 10 and Windows 11. It seems
> they use a "special" kind of group called 'Virtual Machines', which
> Cygwin (3.6.5) /bin/getent cannot lookup:
>
> getent group 'Virtual Machines'
> <nothing>
>
> Does anyone have ideas or clues how to get getent group to work with
> this kind of Windows group?
>
> We want the Cygwin gid for that group, and use Cygwin commands to work
> with those files...

Information on this group is in the documentation:

https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers

SID: S-1-5-83-0

Display name: NT VIRTUAL MACHINE\Virtual Machines

Description: A built-in group. The group is created when the Hyper-V
role is installed. The Hyper-V Management Service (VMMS) maintains the
membership of this group. This group requires the 'Create symbolic
links' right (SeCreateSymbolicLinkPrivilege) and the 'Log on as a
service' right (SeServiceLogonRight).

Not sure how you use it in Cygwin, though...

-- 
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

