Solved

ow to Open physical disk in Windows Vista

Posted on 2006-11-14
6
1,800 Views
Last Modified: 2010-05-18
Hi all,

I am using Createfile function to open the physical disk 0 as MSDN suggest("\\.\PHYSICALDRIVE0 ").

This is working fine for me on Windows 2000, XP . But If i use it on Windows Vista RC1 Then it returns Error 5 (Access denied) even i am logged in as Administrator.

Can some one help me out about it.

Thanks

 

0
Comment
Question by:davinder101
  • 2
6 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 63 total points
ID: 17944889
Hi davinder101,

Having logged in as admin wont be sufficient ... right click your exe and select run as administrator.

Cheers!
sunnycoder
0
 
LVL 8

Expert Comment

by:YoungBonzi
ID: 17946845
That's right, and to avoid having to do that everytime: right click -> properties -> compatibility -> check "Run this program as administrator"
0
 

Author Comment

by:davinder101
ID: 17977186
Thanks for the help,

Is it every time requirement, to use my exe?
Can i do this by programming ? i mean can i make the changes in setting .


Thanks
0
 
LVL 8

Assisted Solution

by:YoungBonzi
YoungBonzi earned 62 total points
ID: 17980797
I don't think so, that would defeat the purpose of the security feature.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sql how to exclude from a table 3 73
VB 6.0 printer how to align 6 50
topping1 challenge 7 53
Scripting vs. Programming languages 25 117
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now