I'm trying to read data directly from a specific partition on Windows 7 in Python.
So far I've tried:
open(r'\\.\PartitionLetter:', 'rb')
Without administrative rights, this returns a "Permission denied" error. With administrative rights, this returns a "Parameter is incorrect" error.
open(r'PartitionLetter:', 'rb')
This always returns a "Permission denied" error.
I've tried letters for the OS drive, secondary drive, optical drive and even USB flash drives but always get the same errors.
Is it possible to read a partition with built-ins or are there any good modules/packages that do the job?