SOLVED

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

%3CLINGO-SUB%20id%3D%22lingo-sub-253173%22%20slang%3D%22en-US%22%3EWhy%20my%20windows%2010%20user%20account%20in%20administrators%20group%20still%20fail%20to%20call%20CreateFile()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253173%22%20slang%3D%22en-US%22%3E%3CP%3E%3CFONT%20face%3D%22Helvetica%2C%20Arial%2C%20sans-serif%22%20color%3D%22%231d2129%22%3E%3CSPAN%3EHi%20All%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22Helvetica%2C%20Arial%2C%20sans-serif%22%20color%3D%22%231d2129%22%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWhy%20my%20windows%2010%20user%20account%20in%20administrators%26nbsp%3Bgroup%20still%20fail%20to%20call%20CreateFile().%20I%20have%20to%20run%20dos%20prompt%20using%20administrator%20to%20make%20it%20success%2C%20why%3F%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22Helvetica%2C%20Arial%2C%20sans-serif%22%20color%3D%22%231d2129%22%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22Helvetica%2C%20Arial%2C%20sans-serif%22%20color%3D%22%231d2129%22%3E%3CSPAN%3EPeter%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-835470%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20my%20windows%2010%20user%20account%20in%20administrators%20group%20still%20fail%20to%20call%20CreateFile()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-835470%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20try%20enabling%20the%20disabled%20built-in%20Administrator%20account%20inside%20Windows%2010%2C%20set%20a%20password%20for%20it%20and%20log%20in%20using%20those%20credentials.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3Eonce%20you%20enable%20that%20built-in%20Admin%20account%2C%20you%20can%20hold%20shift%20and%20right-click%20on%20any%20program%20and%20choose%20%22run%20as%20different%20user%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20315px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130002i4F9749B66A4BD5B1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-09-04%20012305.png%22%20title%3D%22Annotation%202019-09-04%20012305.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-853750%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20my%20windows%2010%20user%20account%20in%20administrators%20group%20still%20fail%20to%20call%20CreateFile()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853750%22%20slang%3D%22en-US%22%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-853946%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20my%20windows%2010%20user%20account%20in%20administrators%20group%20still%20fail%20to%20call%20CreateFile()%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853946%22%20slang%3D%22en-US%22%3EYou're%20welcome%3C%2FLINGO-BODY%3E
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?

Thanks

Peter

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

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