Running an application that requires administrator rights

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application, it's a TV card that works great when you are the
administrator but does not work in a limited account. I've looked at the
usual web pages and tried the following command "cacls "Program
Files\V-Stream Mutimeadia" /e /t /p users:c" and it didn't work. Anybody got
any ideas, thanks.
 
Try setting up failure auditing on the local machine hive. Run regedt32.exe
then browse to HKLM, then
Edit|Permissions|Advanced|Auditing|Add|"everyone"|OK then check the "Failed"
box on Full Control, Set Value, Create Subkey, Enumerate Subkey, Delete,
Create Link

Then try again logged on as a normal user. Then check the Event log security
for errors.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have an application, it's a TV card that works great when you are the
| administrator but does not work in a limited account. I've looked at the
| usual web pages and tried the following command "cacls "Program
| Files\V-Stream Mutimeadia" /e /t /p users:c" and it didn't work. Anybody
got
| any ideas, thanks.
| --
| colinlam
 
Hi,

Try cacls "Program Files\V-Stream Mutimeadia" /p <username>:c

Substitute a user account name for <username>, not the users group.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
 
colinlam said:
I have an application, it's a TV card that works great when you are the
administrator but does not work in a limited account. I've looked at the
usual web pages and tried the following command "cacls "Program
Files\V-Stream Mutimeadia" /e /t /p users:c" and it didn't work. Anybody got
any ideas, thanks.

The problem could be caused by any one of the following:
- Insufficient NTFS permissions in the V-Stream folder
- Insufficient NTFS permissions in the c:\Windows folder
- Insufficient permissions in the registry

You can resolve the first two like so while logged on as administrator:

cacls "c:\Program Files\V-Stream Multimedia" /e /t /g everyone:F
(You left off several essential things in your own attempt and you
probably misspelt "Multimedia")

cacls "c:\Windows" /e /t /g everyone:F

You previously used the /p switch. It only ***replaces*** permissions
but AFAIK it does not add new entities.
 
thanks but no joy. I've had a thought that the problem may be with DirectX.
When the application is run in the limited account an error message says that
directX is not installed. I installed directX in the limited account but the
message is the same.
 
I recommend you check the FAQs of the problem
application. Other people would have had the same
problem!
 
How do I put the Windows permissions back so everyone does not have full
control. I changed the F for an R but but they still have full control.
thanks again
 
colinlam said:
I have an application, it's a TV card that works great when you are the
administrator but does not work in a limited account. I've looked at the
usual web pages and tried the following command "cacls "Program
Files\V-Stream Mutimeadia" /e /t /p users:c" and it didn't work. Anybody got
any ideas, thanks.



You may experience some problems if the software was designed for
Win9x/Me, or if it was intended for WinNT/2K/XP, but was improperly
designed. Quite simply, the application doesn't "know" how to handle
individual user profiles with differing security permissions levels, or
the application is designed to make to make changes to "off-limits"
sections of the Windows registry or protected Windows system folders.

For example, saved data are often stored in a sub-folder under the
application's folder within C:\Program Files - a place where no
inexperienced or limited user should ever have write permissions.

It may even be that the software requires "write" access to parts
of the registry or protected systems folders/files that are not normally
accessible to regular users. (This *won't* occur if the application is
properly written.) If this does prove to be the case, however, you're
often left with three options: Either grant the necessary users
appropriate higher access privileges (either as Power Users or local
administrators), explicitly grant normal users elevated privileges to
the affected folders and/or part(s) or the registry, or replace the
application with one that was properly designed specifically for
WinNT/2K/XP.

Some Programs Do Not Work If You Log On from Limited Account
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q307091

Additionally, here are a couple of tips suggested, in a reply to a
different post, by MS-MVP Kent W. England:

"If your game or application works with admin accounts, but not with
limited accounts, you can fix it to allow limited users to access the
program files folder with "change" capability rather than "read" which
is the default.

C:\>cacls "Program Files\appfolder" /e /t /p users:c

where "appfolder" is the folder where the application is installed.

If you wish to undo these changes, then run

C:\>cacls "Program Files\appfolder" /e /t /p users:r

If you still have a problem with running the program or saving
settings on limited accounts, you may need to change permissions on
the registry keys. Run regedit.exe and go to HKLM\Software\vendor\app,
where "vendor\app" is the key that the software vendor used for your
specific program. Change the permissions on this key to allow Users
full control."


--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Is life so dear or peace so sweet as to be purchased at the price of
chains and slavery? .... I know not what course others may take, but as
for me, give me liberty, or give me death! -Patrick Henry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top