[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Change Windows ACLs

Posted on 2010-09-07
6
Medium Priority
?
514 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
[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
  • 5
6 Comments
 
LVL 9

Accepted Solution

by:
sas13 earned 2000 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

656 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