This project has moved and is read-only. For the latest updates, please go here.
1
Vote

USB can't burned on mounted filesystem (Vista)

description

Intert formatted flash try to burn it!
 
That problem look like week rights access, if i try use DD command (dd for windows) and after that open usb flash by windows explorer i got "Access dennied". But if i try to access flash when burn it with USBBurn i still can open it by explorer.
 
Now i look how DD work, look like hey use another access method called NtOpenFile.

comments

axet wrote Jan 29, 2008 at 5:28 PM

Look like is a FileStream bug, everyting work fine with WriteFile WINAPI function.

axet wrote Feb 5, 2008 at 7:51 PM

Working with NtCreateFile make same result, you can see it [NtOpenFileExample]. Probably need call FSCTL_LOCK_VOLUME

axet wrote Feb 5, 2008 at 8:04 PM

  1. Open a volume.
  2. Lock the volume.
  3. Format the volume.
  4. Dismount the volume.
  5. Unlock the volume.
  6. Close the volume handle.
http://msdn2.microsoft.com/en-us/library/aa364562(VS.85).aspx

wrote Feb 18, 2008 at 3:30 AM

axet wrote Feb 26, 2008 at 4:22 PM

wrote Feb 2, 2013 at 4:03 AM