Search code examples
c#.netwpfadmin-rights

Which WPF parts need Local Admin rights to work proberly?


I develop an application on WPF. I have recognized that some parts of the program do not work without Local Admin rights. On another question it is said that writing to event log was causing the need of LA rights. What other possible causes there are? I want to know these that I can find the cause of this problem easily.


Solution

  • There won't be anything specific to WPF as that's just the graphics side.

    What it will be is common things like writing to the event log (as you've mentioned) or writing log files to certain locations on the harddrive or writing to the HKEY_LOCAL_MACHINE area of the registry.

    If you make sure that your writing to the user owned area of the disk and registry you should be OK.