Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ow to Open physical disk in Windows Vista

Posted on 2006-11-14
6
Medium Priority
?
1,810 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 252 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 248 total points
ID: 17980797
I don't think so, that would defeat the purpose of the security feature.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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 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 …

609 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