What registry entries can apps read/write to?

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

Hi



I am in the process of updating an old app so that it can be used on
networks. The original app is a 'try before you buy' style app that allows
the user 21 days of full functionality before requiring to be licensed. This
was achieved by reading/writing to keys in the registry. However, several
people have suggested that the app will not be able to write to just any
keys as the network OS would prevent it.



Would I be able to write to any of these?
HKEY_LOCAL_MACHINE\software\Licenses­\<myGUId>\<product name>
or
HKEY_CURRENT_USER\software\<product name>­\<myGUId>\
or
HKEY_LOCAL_MACHINE\software\<product name>­\<myGUId>\

Or is somewhere else best?

J
 
Further to my original post:

I should add that the registry keys are written to by my app when it is
running.

The end users are students in colleges and who would not have any admin
rights and normally cannot run exe files or install software ect.

Thanks again for any help given
J
 
It depends on the access level of the user who is logged in when the thing
is "run".
 
Hi

Hmmm so is it possible to have the situation where no reg keys are available
to write to? Surely these days most software uses the registry for
something? Is there a 'safe bet' for any particular key?

Thanks
J


Phillip Windell said:
It depends on the access level of the user who is logged in when the thing
is "run".


--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


Jan said:
Hi



I am in the process of updating an old app so that it can be used on
networks. The original app is a 'try before you buy' style app that
allows
the user 21 days of full functionality before requiring to be licensed. This
was achieved by reading/writing to keys in the registry. However,
several
people have suggested that the app will not be able to write to just any
keys as the network OS would prevent it.



Would I be able to write to any of these?
HKEY_LOCAL_MACHINE\software\Licenses­\<myGUId>\<product name>
or
HKEY_CURRENT_USER\software\<product name>­\<myGUId>\
or
HKEY_LOCAL_MACHINE\software\<product name>­\<myGUId>\

Or is somewhere else best?

J
 
Users can write to thier own "Current User Keys".

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

Jan said:
Hi

Hmmm so is it possible to have the situation where no reg keys are available
to write to? Surely these days most software uses the registry for
something? Is there a 'safe bet' for any particular key?

Thanks
J


Phillip Windell said:
It depends on the access level of the user who is logged in when the thing
is "run".


--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


Jan said:
Hi



I am in the process of updating an old app so that it can be used on
networks. The original app is a 'try before you buy' style app that
allows
the user 21 days of full functionality before requiring to be licensed. This
was achieved by reading/writing to keys in the registry. However,
several
people have suggested that the app will not be able to write to just any
keys as the network OS would prevent it.



Would I be able to write to any of these?
HKEY_LOCAL_MACHINE\software\Licenses­\<myGUId>\<product name>
or
HKEY_CURRENT_USER\software\<product name>­\<myGUId>\
or
HKEY_LOCAL_MACHINE\software\<product name>­\<myGUId>\

Or is somewhere else best?

J
 
Back
Top