CreateFile: direct write operation to raw disk “Access is denied” - Vista, Win7

前端 未结 4 1670
北恋
北恋 2020-11-27 05:50

The relevant Microsoft doc is:
Blocking Direct Write Operations to Volumes and Disks
CreateFile, remarks on Physical Disks and Volumes

The executable is wr

4条回答
  •  粉色の甜心
    2020-11-27 06:24

    There is note in MSDN in documentation of CreateFile:

    Direct access to the disk or to a volume is restricted. For more information, see "Changes to the file system and to the storage stack to restrict direct disk access and direct volume access in Windows Vista and in Windows Server 2008" in the Help and Support Knowledge Base at http://support.microsoft.com/kb/942448.

    It refers to Vista/2008, but maybe apply to Win7 also.

提交回复
热议问题