locked
Invoking CreateFile() for Removable drive(CDROM,USB) from standard user success in Windows 7 and failed in Windows server 2008 reason? RRS feed

  • Question

  • ::CreateFile( _T( "\\\\.\\H:" ), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0 );

    above call returns access is denied when running with standard user token.

    With SUA analyser it shows NT Authority System and Built in administrators are granted to WRITE. But in windows 7 it works with out any issue.

    Monday, June 15, 2015 2:36 PM

All replies