Solved

Problem in Programs permission

Posted on 2009-06-28
6
223 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

Join & Write a Comment

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

747 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

12 Experts available now in Live!

Get 1:1 Help Now