Why my windows 10 user account in administrators group still fail to call CreateFile()

Brass Contributor

Hi All

     Why my windows 10 user account in administrators group still fail to call CreateFile(). I have to run dos prompt using administrator to make it success, why?



3 Replies
best response confirmed by Peter Cheung (Brass Contributor)

You can try enabling the disabled built-in Administrator account inside Windows 10, set a password for it and log in using those credentials.


once you enable that built-in Admin account, you can hold shift and right-click on any program and choose "run as different user"

Annotation 2019-09-04 012305.png