To get directory listing
If I run lsd. It throws below error. I tried with and without admin privilege.
lsd: .: A global group cannot have a cross-domain member. (os error 8519)
Can confirm, but I get a different error:
lsd: .: The specified domain either does not exist or could not be contacted. (os error 1355)
I am also running into lsd: .: The specified domain either does not exist or could not be contacted. (os error 1355). I am sure it has worked before though.
Same here; I started getting this error recently when it used to work in the past.
Error is still present, just happened to me after fresh install (source: chocolatey - https://chocolatey.org/packages/lsd)
This error doesn't seems to be related to the way you installed lsd.
I tried both choco and scoop and I still got the error.
Running lsd on the C drive gives a couple of The process cannot access the file because it is being used by another process. (os error 32). errors while displaying everything else after that fine.

The issue starts when switching drives, if I run the same command inside the D drive I'd get No mapping between account names and security IDs was done. (os error 1332).

The standard ls command works fine on both drives.

can confirm having the same issues
❯ ls
Directory: C:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 3/18/2021 8:45 PM ESD
d----- 3/20/2021 7:52 PM Intel
d----- 3/11/2021 6:03 PM Log Files
d----- 3/11/2021 5:53 PM MFLABEL
d----- 12/7/2019 3:14 AM PerfLogs
d-r--- 3/19/2021 1:04 AM Program Files
d-r--- 3/19/2021 1:04 AM Program Files (x86)
d----- 3/7/2021 1:34 PM Python39
d-r--- 3/18/2021 10:05 PM Users
d----- 7/24/2020 5:19 AM User_manual
d----- 3/19/2021 1:29 AM Windows
d----- 3/18/2021 10:13 PM Windows.old
-a---- 7/24/2020 5:04 AM 3108 rhdsetup.log
-a---- 7/24/2020 5:07 AM 194 Setup.log
❯ lsd
lsd: .\$RECYCLE.BIN: No mapping between account names and security IDs was done. (os error 1332).
lsd: .\DumpStack.log.tmp: The process cannot access the file because it is being used by another process. (os error 32).
lsd: .\hiberfil.sys: The process cannot access the file because it is being used by another process. (os error 32).
lsd: .\pagefile.sys: The process cannot access the file because it is being used by another process. (os error 32).
lsd: .\swapfile.sys: The process cannot access the file because it is being used by another process. (os error 32).
lsd: .\System Volume Information: Access is denied. (os error 5).
Most helpful comment
Can confirm, but I get a different error: