Run explorer.exe with Cygwin newgrp(1) - same user but different primary group

Dan Shelton dan.f.shelton@gmail.com
Thu May 30 23:20:37 GMT 2024


On Wed, 29 May 2024 at 15:41, Bill Stewart via Cygwin <cygwin@cygwin.com> wrote:
>
> On Tue, May 28, 2024 at 9:36 PM Dan Shelton wrote:
>
>
> > Does anyone know how to run Windows explorer.exe with Cygwin
> > /bin/newgrp, so all new files created by explorer.exe use that new
> > primary group, and all programs launched by explorer.exe use that same
> > primary group?
> >
>
> As I understand it, Explorer always starts unelevated as the current user.
> This is by design for security reasons.

How can someone run explorer as Admin then?

FYI winsg -c eng4grp -c 'explorer /nouacheck /separate' does not work.

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd


More information about the Cygwin mailing list