CreateFileAndSetSecurity error

Ben Carter blenblen@gmail.com
Wed Apr 19 06:21:00 GMT 2006


Hi,
   Sorry if this is offtopic but seeing as this was a problem I was
only seeing in Cygwin and the only mention of it I can find on google
brings me to the mailing list archive I thought I'd post my solution
here.

Basically whenever I did pretty much anything in cygwin I was getting
the error :
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32

To cut a long story short I found that this was being caused by the
file alockout.dll in the windows system32 directory, a file which is
distributed in a microsoft toolkit to help debugging account lockout
problems. Considering I wasn't having any problems with account
lockouts I removed the reference of it from my windows registry and
deleted the dll (after restarting) and the errors have disappeared for
me.

Thanks,
... Ben.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list