Windows – Cygwin startup error /usr/bin/id: cannot find name for group ID

cygwinstartupwindows

I use cygwin at work to get quick access to unix tools and as an ssh terminal. I recently installed some new Cygwin packages and now when I try and open a terminal it is very slow and gives the following error:

/usr/bin/id: cannot find name for group ID 10519

I'm not sure what the error means, but it takes much longer to open a cygwin terminal now than it use to.

Best Answer

It appears to be related to my Active Directory username or group memberships. The error went away after running the following command as per this article:

mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group

This updates the cygwin files with the latest AD user/group information.