Help!: Problems with Restricted access accounts



Hopefully someone here can point me in the right direction.

My company develops a product used by the healthcare industry. This
application was designed with a multi-tiered architecture; having a
series of business object DLLs that need to be registered on each local
machine to allow proper communications with our server.

Hospitals unfortunately tend not to be on the bleeding edge of technology
(with respect to their office computers) so our clients workstations
range from Windows 95 to Windows XP. Due to this, we are not able to
develop our application "for Windows XP".

Due to HIPAA Security regulations, the IT staffs tend to really clamp
down on user security; we have experienced users not having permissions
to create files under Program Files, not being able to access the
Internet, and not being able to install applications that require any
reading from/writing to the registry. Because of this, we are often
forced to install our product as an Administrator. When the user next
logs in, our product is properly registered and everything works fine.

Recently we encountered a problem on Windows XP systems - these all have
SP2, although I don't know for sure if that is part of the problem or
not.

Our clients have their users set up as Restricted user accounts. This
prevents us from installing as the user (no rights to register DLLs) so
we try our usual installation as an Administrator. As a test, the
administrator account runs our product and it works fine. However, when
the user tries again as a restricted access user account, problems result
- basically, the user is prevented from running our application. It
seems that the user is unable to "see" the DLL entries in the registry.

We have code in place to verify our business objects are registered
before allowing the user to proceed with the login process. Our check,
which essentially verifies the existance of our DLLs somewhere under the
TypeLib node of HKEY_CLASSES_ROOT, correctly locates the DLLs for Admin
and PowerUser accounts but for Restricted access accounts it comes up
empty on these WinXP systems. Since the registry has obviously not
changed, we assume that permissions are the problem.

If we give the user local admin rights, the problem goes away. However,
permissions on the client's network are managed by the client and are out
of our control. And they are reluctant to make changes just to allow our
product to work.

I also tried using "RunAs /profile /user:Administrator programname.exe".
This also allowed a Restricted access user to use our system.
Unfortunately, it pops up a dialog requesting an Administrator password -
this is something the users are not going to have access to.

I saw a post not long ago here inquiring about Admin rights for a single
program so I know others out there are having similar problems. How are
all of you getting around this?

Is it possible to execute RunAs silently? Perhaps passing the password
on the commandline so the user never sees the RunAs dialog? Inelegant as
it is, this would solve my immediate problems.

Is there another way to allow a Restricted access account to simply view
and read DLLs that are registered? My application does NOT require the
user to have write access.

Any help would be greatly appreciated.

Thanks in advance.

Regards,

Rich Ackerson
.



Relevant Pages

  • "APPINIT_DLLS=" error and ".wll" error
    ... Ok first off I have no knowledge of registry problems or how to fix them. ... All the DLLs that are specified in this value are loaded by each Microsoft ... Note This feature may not be available in future versions of the Windows ... Microsoft Windows 2000 Standard Edition ...
    (microsoft.public.windowsupdate)
  • Re: ftp from Access: problems
    ... > You obviously have no idea what is meant by hardcoding, how OLE dlls ... > registered an entry in the registry points to the correct file. ... You say it's unprofessional to hard-code ...
    (comp.databases.ms-access)
  • Re: OE Hyperlinks do not work
    ... thought that maybe some registry editing may solve my problem. ... the registry randomly so I hope that someone can make a suggestion as to ... My computer has three user accounts, one for me, my wife and my ... Scroll down to URL:HyperText Transfer Protocol and select it. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Limited accounts
    ... Said applications run fine under XP if the account ... typically the problem is a registry problem, ... I want to know why limited accounts will ... >two accounts on this computer both administrators at the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: How to work around UAC?
    ... In these situations, and with UAC active, our DLLs no longer ... have access to our software's registry keys. ... your DLLs DO have access to HKLM - but read only. ...
    (microsoft.public.platformsdk.security)