Link to home
Start Free TrialLog in
Avatar of nrbreen
nrbreen

asked on

creating inheritable registry entries

I need to know how to set a registry entry in NT, while logged in as administrator, that will subsequently be picked up by a webserver CGI run under the IIS webserver service.
The entry needs to show up in HKEY_CURRENT_USER\Software\Informix\ENVIRONMENT\INFORMIXDIR  when the CGI runs.
The CGI appears to be run as user  IUSR_<servername>


(Another accepatable answer would be to "what password does IIS setup fir its default user IUSR_<servername>)









ASKER CERTIFIED SOLUTION
Avatar of emb
emb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nrbreen
nrbreen

ASKER

Under HKEY_USERS, I can only see one S-* branch, and that has the "administrator" SID. (I am logged in as administator)

Actually, as I experiment, I see that I can only ever see the HKEY_USERS entry for the logged in user!!!
Fair enough for non-root users - but how dumb is that - admin cannot work on all entries??????

Which circles right back to the original question........

IUSR_<server name> is the anonymous user account used by IIS. You can change that user name and his password in IIS management tools ( WEB base access or direct access from the server hosting IIS).
Hope this will help, Chris.
Avatar of nrbreen

ASKER

Thanks for the note Chris - however I want to ultimately create up an automated setup script that will set the registry entries for the default user, without the client having to alter that user (i.e. fiddle with the IIS setup).

"emb" pointed out the sid hkey_users entries - I wonder if, even though the entries for another user do not show via regedit, a C program can still alter entries for another user?

neilb