Solved

Change Windows ACLs

Posted on 2010-09-07
6
508 Views
Last Modified: 2012-05-10
Change Windows ACLs or Accessing files from Sys_Vol_Inf
A part of the question from this links;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_25871114.html
http://www.experts-exchange.com/Programming/Editors_IDEs/Delphi/Q_24046705.html

That's right the real question is how to access files from protected Sys_Vol_Inf folder, even if you are not an administrator account.

code snippet;
fext3 := ExtractFiledir(PathFile);
po:= ansipos('System Volume Information', fext3);
if po>0 then
begin
TakeOwnership(PChar(fext3));
//showmessage(PathFile);
//Access / ScanS files here
end;

IS that all for winxp?


What about for win7?
expert "sas13" quote:
>>try to change access (Properties->Security page) from Windows
huh?
0
Comment
Question by:systan
  • 5
6 Comments
 
LVL 9

Accepted Solution

by:
sas13 earned 500 total points
ID: 33617406
you must be an administrator (in "Administrator" group in Windows) for doing it
0
 
LVL 14

Author Comment

by:systan
ID: 33617563
What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
0
 
LVL 14

Author Comment

by:systan
ID: 33618204
>>What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
And how about this post, it says something about;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23853922.html
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 14

Author Comment

by:systan
ID: 33618331
senad says
if on W7 then you need to disable UAC. ?  is that so?  But my first concern is in windows xp first.
So,
>>What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
And how about this post, it says something about;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23853922.html
0
 
LVL 14

Author Comment

by:systan
ID: 33624716
I don't know if Aflarin' listening, but I know he can clear this out, I'm not asking of the code, because I have already the code, the fact is how am I going to use it, where when.
Like this code snippe?t;

fext3 := ExtractFiledir(PathFile);
po:= ansipos('System Volume Information', fext3);
if po>0 then
begin
TakeOwnership(PChar(fext3));
//showmessage(PathFile);
//Access / ScanS files here
end;
?
0
 
LVL 14

Author Closing Comment

by:systan
ID: 33690798
sas13;
The answer is not completely detailed, about accessing files from Sys_Vol_Inf, anyway if you have time to write, please don't hesitate.

oh, whats the difference of your code in
http://www.experts-exchange.com/Programming/Editors_IDEs/Delphi/Q_24046705.html#23362733

and
this;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_25871114.html#33598924


Thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 68
Delphi 2 59
creating threads in delphi 1 101
Breakpoint doesn't stop in my variable 3 23
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

16 Experts available now in Live!

Get 1:1 Help Now