Re: Running a Python Service under the LocalService or NetworkService Account
mistersexy wrote:
I am trying to create a Windows service in Python using pywin32. I do
not want this service to run under a user account. I want this service
to be able to run as a LocalService, NetworkService and the like. How
do I specify this using the win32 library? Thanks, everyone.
When you "install" the service, using the HandleCommandLine
option, specify --username= and --password options.
TJG
.
Relevant Pages
- Re: Running a Python Service under the LocalService or NetworkService Account
... not want this service to run under a user account. ... to be able to run as a LocalService, NetworkService and the like. ... need to specify username and password options. ... (comp.lang.python) - Re: Why do I have multiple HKEY_USERS but only one account?
... but I only have the one Admin User Account and a Guest account (that is ... the two accounts are named LocalService and NetworkService. ... To remove the LocalService and NetworkService accounts, ... (microsoft.public.windowsxp.customize) - Re: Why do I have multiple HKEY_USERS but only one account?
... but I only have the one Admin User Account and a Guest account (that is ... the two accounts are named LocalService and NetworkService. ... To remove the LocalService and NetworkService accounts, click Start>Run and type in SERVICES.MSC and press enter. ... (microsoft.public.windowsxp.customize) - Re: NT AUTHORITYANONYMOUS LOGON --- SQL server
... I guess that sounds logical as far as the local system. ... I have several options when installing the service and one of them is ... NetworkService which seems to be what you are alluding to. ... > specify this as your user account. ... (microsoft.public.dotnet.languages.csharp) - Re: The machine-default permission settings do not grant...
... %SystemRoot%\System32\svchost.exe -k LocalService ... %SystemRoot%\System32\svchost.exe -k NetworkService ... The machine-default permission settings do not grant Local Activation ... This security ... (microsoft.public.windowsxp.help_and_support) |
|