MS,
No, they can not write to the registry if they do not have permissions.
It is possible that these tools might impersonate a user that has
permissions, but you would have to know the credentials of a user that has
permissions for the registry.
Keep your program as it is, and don't allow writing to the registry if
the user doesn't have permissions. There is a reason that there are
permissions on the registry in the first place, you know?
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Sreppohcdoow" <Sr**********@asdf.comwrote in message
news:uV**************@TK2MSFTNGP05.phx.gbl...
>I have a simple tool that I create that stores some settings in the
Registry... however, if the user running it doesn't have Admin priveleges
on the machine, the app fails when trying to write to the registry. I know
there are applications out there that can read/write to the registry w/o
Admin priveleges... is there some way to code around this in C#.NET? I.e.,
to have the program run the registry code in a different security context
somehow, or something?
Thx,
MS