Solved

Problem in Programs permission

Posted on 2009-06-28
6
227 Views
Last Modified: 2013-11-25
Dear ,

After restricting the users in my company some programs not working. and sure in this case you need to grant full permission to the same folder of that program. the problem is some of the programs working and some still the same issue.

How i can know to which folders or files i must to grant full permission ?

pls. help urgently..

regards,
0
Comment
Question by:Bilalsharar
  • 2
  • 2
6 Comments
 

Expert Comment

by:Vatharian
ID: 24734214
You have to determine which files are in use by your software. Excellent software to do this is Dependency Walker. (http://www.dependencywalker.com). Point it to executable of a program and let it display list of files used by the program. You don't have to worry about dlls in system folders (like c:/windows), but other like program files\common files, etc. There is some software that requires administrator's rights, but it should be stated in documentation. Most modern software, when it's compatible  with Vista's UAC should run fine without admin rights.
0
 

Author Comment

by:Bilalsharar
ID: 24734446
thanks for your replay

my other issue i am using CACLS script to grant the permissions to the users. now my quistion is if there is any command to let this script to run even if the user already restricted ?
0
 

Expert Comment

by:Vatharian
ID: 24734473
To the CACLS utility there is /e switch, which only edits the permissions, instead the normal rewrite. I'm not sure what do you mean by already restricted user. The restricted user cannot grant him/herself permissions to a file, it must by done by administrator-level user. The /e switch should be enough, if you only want to add i.e. write/execute permissions.
0
 

Author Comment

by:Bilalsharar
ID: 24734564
i am using this command through login script. and this script will run in Restricted-level user.this is what i mean and check below an example of my command script

CACLS C;\folder /E /T /C /G "%username%":F

if this script wiil work if it is runing in ristricted mode ? and how i can do it ?
0
 
LVL 23

Accepted Solution

by:
Admin3k earned 500 total points
ID: 24741868
I do not believe login scripts will do when run with a limited user credentials, what you need is a machine startup script
as for the dependencies checking, dependency walker should show you only the DLL binary dependencies that are hard coded in your executable, you will still need to find any permissions on register COM+ objects, Data sources ,etc..
for this task use Process monitor aka Procmon
filter only to show your program & look for ACCESS DENIED Messages when run by the limited user profile
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

Do you know what to look for when considering cloud computing? Should you hire someone or try to do it yourself? I'll be covering these questions and looking at the best options for you and your business.
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

679 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