Reputation: 113
is it possible to overwrite MFT file table in windows api. When windows is up and ready?
I know we can read MFT but I ask about write.
Upvotes: 1
Views: 737
Reputation: 101736
Vista restricted raw access but you can probably still do it if you unmount the volume first.
I don't know the type of program you are writing but it might fit in this category:
Backup programs must unmount the volume before they write to the volume. Otherwise, the program writes will collide with file system writes. Such collisions will result in corruption or in system instability.
Writing to a live volume might be possible if you jump trough all their hoops but the risk of corruption is probably too high, you might want to investigate obscure and/or undocumented NTFS IO control codes instead.
Upvotes: 3