Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-21 Thread Jerry Hill
On Wed, Feb 19, 2014 at 7:42 AM, khanta wrote: > Hello, > I am trying to write to the raw physical disk on Windows 8.1 but I > get an error: > PermissionError: [Errno 13] Permission denied: '.\\PHYSICALDRIVE2' Is there a volume mounted from the drive at the time you're attempting to writ

Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-21 Thread Mark Lawrence
On 21/02/2014 21:32, kha...@gmail.com wrote: Can anyone tell me if it is not possible? It would save me a lot of time. Has anyone ever written to the raw disk on windows? Sorry I can't help you, but you're more likely to get answers if you didn't top post and you use a decent email client or

Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-21 Thread khanta
Can anyone tell me if it is not possible? It would save me a lot of time. Has anyone ever written to the raw disk on windows? On Wednesday, February 19, 2014 7:42:02 AM UTC-5, khanta wrote: > Hello, > > I am trying to write to the raw physical disk on Windows 8.1 but I > > get an error: >

Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-19 Thread Chris Angelico
On Thu, Feb 20, 2014 at 2:44 AM, Chris Angelico wrote: > On Wed, Feb 19, 2014 at 11:42 PM, khanta wrote: >> PermissionError: [Errno 13] Permission denied: '.\\PHYSICALDRIVE2' > > Have you tried running your script as administrator? Raw writing to a > disk quite possibly is (and definitely

Re: Win32 Write RAW Physical Disk Python 3.3.2

2014-02-19 Thread Chris Angelico
On Wed, Feb 19, 2014 at 11:42 PM, khanta wrote: > PermissionError: [Errno 13] Permission denied: '.\\PHYSICALDRIVE2' Have you tried running your script as administrator? Raw writing to a disk quite possibly is (and definitely should be) a restricted action. ChrisA -- https://mail.python

Win32 Write RAW Physical Disk Python 3.3.2

2014-02-19 Thread khanta
Hello, I am trying to write to the raw physical disk on Windows 8.1 but I get an error: PermissionError: [Errno 13] Permission denied: '.\\PHYSICALDRIVE2' OS: Windows 8.1 Python: 3.3.2 Drive is a USB drive Running as administrator Code Snippet: with open(r"\\.\PHYSICALDRIVE2\\",