Strange registry permissioning problem

G

Guest

Hi,

I'm running a Windows Server 2000 SP4 Terminal Services farm and require a
reg file to run on logon and update the users portion of the HKCR key, i.e.
HKCU\Software\Classes\...

I have a registry file which works fine on 50 of the servers but fails for
three.

On these servers if I view the permissions on the HKCU\Software\Classes key
the logged on user is not listed and another user is listed (non-admin) the
logged on user gets an error on updating the values (regmon shows Access
Denied).

The permissions on this key are rebuilt on logon (on every server it would
appear) and set to NOT inherit. If i reset the permissions manually then
they remain for that logged on session only (disappear when you logoff).

I'm at a loss to discover the process that sets the permissions on the key
at logon and why it sets it as an alternate user.

Can anyone explain this process furter as I'd appreciate greatly.

Mark
 
G

Guest

Solved it.

The User component of HKCR (HKCU\Software\Classes) doesn't roam with the
user as it is contained within the registry file %userprofile%\Local
Settings\Application Data\Microsoft\Windows\usrclass.dat

On the servers in question I had a copy of this file in the Default user
profile which was configured with the permissions mentioned.

Have tidied the 'Default User' profile on these servers (deleted 'Local
Settings') and the problem no longer exists.
 

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

Top