How to use Pageant under SYSTEM account

1.7k Views Asked by At

When I turn on my server I want the SYSTEM to load Pageant and some keys, because a build application might later be activated also with SYSTEM rights. And that build application should use the keys to get access to my remote Git repository. How can I accomplish that?

1

There are 1 best solutions below

1
On

Run the Pageant the same way you run the "build application".

"C:\Program Files (x86)\PuTTY\pageant.exe" C:\path\to\key.ppk

If you run it again, nothing happens. If Pageant is already running in the session, the second instance just instructs the existing instance to load the keys. If the same keys are already loaded, nothing happens.