Microsoft Technical Takeoff: Windows and Microsoft Intune
Oct 24 2022 07:00 AM - Oct 27 2022 12:00 PM (PDT)

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


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 (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