Re: HYPER-V VMs: Cygwin /bin/getent group 'Virtual Machines' cannot find the group

Aurélien Couderc via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CA+1jF5oHw71rv-OH893R+DdNpnRUQAtp=WS_fXvxe1WBsC0H6w@mail.gmail.com>
On Mon, Mar 2, 2026 at 8:19 PM Martin Wege via Cygwin <[email protected]> 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...

Déjà vu

1. Please read https://cygwin.com/pipermail/cygwin/2025-July/258505.html

2. Try this:
getent group "NT VIRTUAL MACHINE+Virtual Machines"
For me, with default (empty, except comments) /etc/nsswitch.conf, it
does not work. Which I consider a bug.


Aurélien
--
Aurélien Couderc <[email protected]>
Big Data/Data mining expert, chess enthusiast

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.