Give ASPNET Write access to registry key programatically

A

Armando Canez

This seems like a pretty straightforward question, but I can't seem to find
anything useful.

I know ASPNET (or NETWORK SERVICE) does not have registry write access by
default. so I need to give it to it programatically.

Dose anyone know how can I give full access to a specific user account
(actually the one running my Web app. Wich account, is another question) to
a specific registry key? I need to create different subkeys in my web app.

I want to do this in a vsinstaller custom action, so I believe the user
running this code will have adminstrator privileges.

.... I'm running a little bit desperate here.

Thanks in advance.

I'm using ASPNET, VB.NET, VS2003 (.NET 1.1.4322)

--
Not an MCSDE, MVP, MCDE, MSFT or WTF
Not a single certification, besides my degree.
I'm just an engineer with more than 14 years spent in design and
programming.
.... FYI
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top