hard disk access in windows xp

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
aditigupta
Posts: 5
Joined: Wed Jul 11, 2007 11:15 pm

hard disk access in windows xp

Post by aditigupta »

hi

like i m doin a project on data recovery but the problem is whenever i try to read some sector in hard disk absread with the drive no to be 0x80 it gives an error that we cannot access hard disk directly........

but as so many data recovery softwares do exist so there must be some tool which help us solve the problem..........

is anybody aware of it........

plz do reply

thanks
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Hi,
You can't access the hard disk *directly* if running in a DOS/Win16 app (through ports) in a NT based kernel, but I think it's possible to use INT 26/27h. If that's blocked too, use Win9x kernel OS (either in yer physical or virtual machine). :)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
frank
Member
Member
Posts: 729
Joined: Sat Dec 30, 2006 2:31 pm
Location: East Coast, USA

Post by frank »

You can access the hard drive directly through the Windows API though. You can use the function CreateFile to gain access to a physical disk or to a volume. See CreateFile for more information.
Post Reply