c# - How .NET 2.0 application can execute tasks from local system account using service? -


I have my own dotnet service running in the system and GUI application that needs to take some action in the form of a local system account is. For example, the CMD script is running, which is written in the GUI form, the CMD.XA process has been started with Redirected Studyn / Standout. The application must be able to run a regular user (without administrator rights) Both services and applications should be written in dotNET framework version 2.0

Whether the existing WindowsIdentity can be accessed from the service, so a thread starts CDD or performs some other tasks, can impersonate a local system account? Otherwise what is the best way to pass commands from applications to applications in DotNet 2.0 and can it be done without using global designated items?


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -