Page 1 of 1

[SOLVED] Development workstation: Executing the install() function as the SYSTEM account via pyscripter

Published: May 25, 2022 - 2:54 PM
by croquebert
Hello everyone,

Context:
WAPT version: 2.1 Enterprise
Server OS: Debian 11
Administration console OS: Win10pro
Package development workstation OS: Win10pro

Is it possible to execute the install() function... via PyScripter as the SYSTEM account?
I looked in the PyScripter execution settings but found nothing related to this.
Currently, it runs with my local administrator account, but this isn't sufficient for my needs (encrypting and decrypting a dpapi file).

Sincerely,

Christophe

Re: Development workstation: Executing the install() function as a SYSTEM account via pyscripter

Published: May 25, 2022 - 3:09 PM
by sfonteneau
Good morning

You can do it via psexec

Code: Select all

psexec -s -i "C:\Program Files (x86)\PyScripter\PyScripter.exe
Then in PyScripter, under "Project" -> "Open project", you can locate the psproj file

Re: Development workstation: Executing the install() function as a SYSTEM account via pyscripter

Published: June 3, 2022 - 11:25
by croquebert
sfonteneau wrote: May 25, 2022 - 3:09 PM Good morning

You can do it via psexec

Code: Select all

psexec -s -i "C:\Program Files (x86)\PyScripter\PyScripter.exe
Then in PyScripter, under "Project" -> "Open project", you can locate the psproj file
Good morning,

That's a bit brutal :) But it meets my specific need. Thank you.

CR