RE: Major problems with UAC



Thanks Laszlo. Unfortunately that doesn't answer any of my questions.

Unless you mean that we should write data that is normally stored in
registry keys to a disk file in some 'special' folder somewhere. Is that what
you're suggesting?


"lelteto" wrote:

In Vista the recommended place to store system-wide configuration information
(or any data file) is systemdrive:\ProgramData\YourCompany\YourProduct\
folder.

Laszlo Elteto
SafeNet, Inc.

"Mick" wrote:

We are having lots of problems with UAC.

Our product consists of several NT services that run under the SYSTEM
account, as well as several DLLs, and a couple of regular Windows apps. The
DLLs are loaded by our services, and by many end-user applications. Several
of our DLLs and applications need to be able to exchange data using various
IPC mechanisms, such as named pipes or shared memory blocks. For instance,
one of our DLLs is an LSP that is loaded for all applications that use socket
communications. The system loads our LSP whenever a Windows socket
application starts up. The LSP reads its configuration parameters from the
registry, and then it opens named pipes to one or more of our services. Since
the LSP is not specific to a single user, we store its data under
HKEY_LOCAL_MACHINE. This doesn’t work in Vista.

Our product works fine on Win2K and XP, but when we try to run it on a Vista
system, nothing works! From our initial debugging, it appears that UAC is the
root of all our problems. Nothing works with UAC turned on. We cannot access
any of our registry keys, can’t create or open named pipes, mutexes, shared
memory blocks, or any other sharable objects. We can’t even create a simple
text file! Our code uses null DACLs for most objects, which should allow
access to anyone, but when UAC is on, nothing works. If we turn UAC off, most
of the problems go away. Unfortunately, we can’t simply ask our customers to
turn off UAC.

Where are non user-specific services supposed to store their registry
information, if not in HKEY_LOCAL_MACHINE?

How much sense does it make to have code that writes to HKEY_LOCAL_MACHINE
ghosted to some other location without any indication? (nerver mind, it's a
rhetorical question--with eyes rolled up)

Do DACLs work differently under Vista? If so, what are the differences and
where are they documented? Why doesn't a null DACL give all users access?

I understand that we can use manifest files to bypass virtualization for our
own applications, but how can we get around it for our DLLs that link to
other applications?

What about file system virtualization? Our debug trace logging can’t even
create a simple text file, even when the user created the folder! Where is
all this stuff documented?


.



Relevant Pages

  • TclMagick, GraphicMagick and the registry (WAS: Re: resizing JPEGs (with Img and photo image))
    ... Graphic)Magick DLLs, or if not found inside the path (normal OS ... installed GraphicMagick to get the DLLs used by TclMagick ... GraphicMagick wants to use some registry keys, ...
    (comp.lang.tcl)
  • Re: Domain User Question
    ... Use process monitor to figure out the needed settings for the users. ... This tool helps you to find the processes and registry keys which needs to get updated permissions. ... Just for running applications there is no need to give users more permissions. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windows.server.general)
  • Re: MRU in Reg.
    ... Most Recently Used (MRU) registry keys exist for many applications, ... > After I find them in the reg. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Startup list in msconfig
    ... items listed which apply to applications ... my system, using Add/Remove programs. ... crosses and delete the entries that you no longer want. ... registry keys before deleting them. ...
    (microsoft.public.windowsxp.basics)
  • RE: Liscense Info
    ... In Office System 2003 applications: ... Help/Assistance Pane/open Communities ... "Robert" wrote: ... > new registry keys have been created, nor does my name auto insert. ...
    (microsoft.public.office.misc)