Vote UpVote

How to run an application under active session account from a Windows service using Delphi

Random thoughts on coding – To run an application from a service impersonating an user account, first we need to install "JEDI API Library & Security Code Library" as it contains different interesting OS callings which are really useful in order to achieve our purposes. Once the library has been unzipped, create your own service where the library is located and add the following paths to your search path in your project options:.\JEDI API 2.3 and JEDI WSCL 0.9.3\jwa\branches\2.3\Common.\JEDI API 2.3 and JEDI WSCL 0.9.3\jwa\branches\2.3\Win32APIThen instead of using CreateProcess function to execute an application, we ...
Favorite? Off-Topic? Jordi Corbilla @ 2012-02-25 19:22


Visits: 1104
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jordi Coll Corbilla
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)