Solved

ow to Open physical disk in Windows Vista

Posted on 2006-11-14
6
1,804 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

730 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