how to drop administrator privileges?

Charles Wilson
Thu Apr 26 21:33:00 GMT 2012

On 4/26/2012 4:33 PM, Achim Gratz wrote:
> I've recently had a test fail because I started it with administrator
> privileges (via the Administrator group).  The test tried to write to a
> file that it set read-only before and of course as an administrator it
> was still able to write to it.  So the test fail wasn't really that
> important, but I can't seem to find a way to drop administrator
> privileges once I have a shell opened with "run as administrator".  Is
> there a command that will shed those rights for a sub-shell?

The "cygdrop.exe" utility is part of the cygutils package.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list