Re: stop/start windows services -python command

2017-10-06 Thread Prabu T.S.
t 8:33:02 PM UTC-4, MRAB wrote: > >> >> On 2017-10-05 23:32, Prabu T.S. wrote: > >> >> > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: > >> >> >> hello all,what is the command to stop and start windows servi

Re: stop/start windows services -python command

2017-10-06 Thread alister via Python-list
mand to stop and start windows services ? i >> >> can't install win32serviceutil bec am using latest python version. >> > >> > Please advice on this >> > >> Ask Google: windows services start stop command line > > asking for python. if yo

Re: stop/start windows services -python command

2017-10-06 Thread Paul Moore
>> >> > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: >> >> >> hello all,what is the command to stop and start windows services ? >> >> >> i can't install win32serviceutil bec am using latest python version. >> >

Re: stop/start windows services -python command

2017-10-05 Thread Prabu T.S.
:44 PM UTC-4, Prabu T.S. wrote: > >> >> hello all,what is the command to stop and start windows services ? > >> >> i can't install win32serviceutil bec am using latest python version. > >> > > >> > Please advice on this > >> > > >

Re: stop/start windows services -python command

2017-10-05 Thread MRAB
On 2017-10-06 01:37, Prabu T.S. wrote: On Thursday, October 5, 2017 at 8:33:02 PM UTC-4, MRAB wrote: On 2017-10-05 23:32, Prabu T.S. wrote: > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: >> hello all,what is the command to stop and start windows services ? &

Re: stop/start windows services -python command

2017-10-05 Thread Prabu T.S.
On Thursday, October 5, 2017 at 8:33:02 PM UTC-4, MRAB wrote: > On 2017-10-05 23:32, Prabu T.S. wrote: > > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: > >> hello all,what is the command to stop and start windows services ? > >> i can't insta

Re: stop/start windows services -python command

2017-10-05 Thread MRAB
On 2017-10-05 23:32, Prabu T.S. wrote: On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: hello all,what is the command to stop and start windows services ? i can't install win32serviceutil bec am using latest python version. Please advice on this Ask Google: wi

Re: stop/start windows services -python command

2017-10-05 Thread Prabu T.S.
On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote: > hello all,what is the command to stop and start windows services ? > i can't install win32serviceutil bec am using latest python version. Please advice on this -- https://mail.python.org/mailman/listinfo/python-list

stop/start windows services -python command

2017-10-05 Thread prabu . ts
hello all,what is the command to stop and start windows services ? i can't install win32serviceutil bec am using latest python version. -- https://mail.python.org/mailman/listinfo/python-list

Re: Multiple windows services on the same machine

2011-06-06 Thread Mark Hammond
On 6/06/2011 2:54 AM, Massi wrote: Hi everyone, I'm writing a script which implement a windows service with the win32serviceutil module. The service works perfectly, but now I would need to install several instances of the same service on my machine for testing purpose. This is hard since the ser

Re: Multiple windows services on the same machine

2011-06-05 Thread Ben Finney
Massi writes: > So can anyone point me out which is the best way to "parametrize" the > service name? Thanks in advance for your help! Could you not make the ‘_svc_display_name’ an instance attribute instead of class attribute? That is, don't set it as an attribute on the class; instead, set it

Multiple windows services on the same machine

2011-06-05 Thread Massi
Hi everyone, I'm writing a script which implement a windows service with the win32serviceutil module. The service works perfectly, but now I would need to install several instances of the same service on my machine for testing purpose. This is hard since the service name is hard-coded in the servic

Re: listing existing windows services with python

2010-02-17 Thread Tim Golden
On 16/02/2010 13:51, Alf P. Steinbach wrote: It doesn't seem to provide ordinary Windows "service"s, but it's a bit unclear since e.g. the URL above says [... snip ...] Well the useful info in there appears to come from: http://msdn.microsoft.com/en-us/library/aa392783%28VS.85%29.aspx Look

Re: listing existing windows services with python

2010-02-17 Thread News123
lex23 writes: > >> News123 wrote: >>> What is the best way with python to get a list of all windows services. >>> >>> As a start I would be glad to receive only the service names. >>> >>> However it would be nicer if I could get all the prop

Re: listing existing windows services with python

2010-02-16 Thread David Bolen
alex23 writes: > News123 wrote: >> What is the best way with python to get a list of all windows services. >> >> As a start I would be glad to receive only the service names. >> >> However it would be nicer if I could get all the properties of a service >&

Re: listing existing windows services with python

2010-02-16 Thread Alf P. Steinbach
* Steve Holden: Alf P. Steinbach wrote: [...] I'll do some further research to see what's going on there. Cheers, - Alf (is this off-topic for the group?) It's gone a lot further off than this without anyone complaining. I think your experiences to date should convince you that you can rely

Re: listing existing windows services with python

2010-02-16 Thread Steve Holden
Alf P. Steinbach wrote: [...] >> I'll do some further research to see what's going on there. > > Cheers, > > - Alf (is this off-topic for the group?) It's gone a lot further off than this without anyone complaining. I think your experiences to date should convince you that you can rely on being

Re: listing existing windows services with python

2010-02-16 Thread sstein...@gmail.com
On Feb 16, 2010, at 4:04 AM, Ben Finney wrote: > Please, don't send the above kind of vitriol to this public forum. > Better yet, compose it in your editor, bask in what you've written, then > delete it unsent. +1 If you kids want to have some sort of pissing-in-your-sockpuppet type of contest

Re: listing existing windows services with python

2010-02-16 Thread Martin P. Hellwig
On 02/16/10 13:51, Alf P. Steinbach wrote: - Alf (is this off-topic for the group?) Strictly speaking yes, but I do find it interesting and there is nothing wrong with ignoring posts you don't like to read. -- mph -- http://mail.python.org/mailman/listinfo/python-list

Re: listing existing windows services with python

2010-02-16 Thread Alf P. Steinbach
rvsw.exe is the Sasser worm! Note: The wmiprvse.exe file is located in the folder C:\WINDOWS\System32\Wbem. In other cases, wmiprvse.exe is a virus, spyware, trojan or worm! Check this with Security Task Manager. Checking for ordinary Windows services: C:\test> (wmic service

Re: listing existing windows services with python

2010-02-16 Thread Tim Golden
On 16/02/2010 12:48, Alf P. Steinbach wrote: I just googled the filename from memory, found http://www.neuber.com/taskmanager/process/wmiprvse.exe.html> Don't know if I've disabled it because invoking wmic didn't produce it. Uh, wait, since it hosts the provider service(s), perhaps... Yes

Re: listing existing windows services with python

2010-02-16 Thread Alf P. Steinbach
* Tim Golden: On 16/02/2010 12:18, News123 wrote: I don't use the script often, so if it would start a WMI service during runtime and stop it afterwards it would be fine. FWIW -- your other considerations notwithstanding -- I'm not aware of WMI having this effect. Generally you can assume that

Re: listing existing windows services with python

2010-02-16 Thread Tim Golden
On 16/02/2010 12:18, News123 wrote: I don't use the script often, so if it would start a WMI service during runtime and stop it afterwards it would be fine. FWIW -- your other considerations notwithstanding -- I'm not aware of WMI having this effect. Generally you can assume that the WMI servic

Re: listing existing windows services with python

2010-02-16 Thread News123
P. Steinbach wrote: > * alex23: >> News123 wrote: >>> What is the best way with python to get a list of all windows services. >>> >>> As a start I would be glad to receive only the service names. >>> >>> However it would be nicer if I could get all the

Re: listing existing windows services with python

2010-02-16 Thread Ben Finney
alex23 writes: > Yes, because that's _actually helping people_ and not just > contributing the usual self-serving pontificating nonsense that just > _flows_ from your goddamn mouth like a river of effluent psuedotruths. I can't see what improvement you hope to achieve by sending something like t

Re: listing existing windows services with python

2010-02-16 Thread Alf P. Steinbach
* alex23: "Alf P. Steinbach" wrote: it's great that you provide the kind of help that you did, pointing out a probably very good module that it seems gives the required functionality, and giving an URL. Yes, because that's _actually helping people_ and not just contributing the usual self-ser

Re: listing existing windows services with python

2010-02-16 Thread alex23
"Alf P. Steinbach" wrote: > it's great that you provide the kind > of help that you did, pointing out a probably very good module that it seems > gives the required functionality, and giving an URL. Yes, because that's _actually helping people_ and not just contributing the usual self-serving pon

Re: listing existing windows services with python

2010-02-15 Thread Alf P. Steinbach
* alex23: On Feb 16, 1:28 pm, "Alf P. Steinbach" wrote: It's probably Very Good, but one Microsoft-thing one should be aware of: using WMI functionality generally starts up a background WMI service... "Probably"? That means that since you say it's fantastic, it's probably very good. "Proba

Re: listing existing windows services with python

2010-02-15 Thread alex23
On Feb 16, 1:28 pm, "Alf P. Steinbach" wrote: > It's probably Very Good, but one Microsoft-thing one should be aware of: using > WMI functionality generally starts up a background WMI service... "Probably"? You haven't even used the module but you felt the need to contribute anyway? And I see tha

Re: listing existing windows services with python

2010-02-15 Thread Brian Curtin
On Mon, Feb 15, 2010 at 18:17, Alf P. Steinbach wrote: > * News123: > > Hi, >> >> >> What is the best way with python to get a list of all windows services. >> >> As a start I would be glad to receive only the service names. >> >> However it wo

Re: listing existing windows services with python

2010-02-15 Thread Alf P. Steinbach
* alex23: News123 wrote: What is the best way with python to get a list of all windows services. As a start I would be glad to receive only the service names. However it would be nicer if I could get all the properties of a service as well. I highly recommend Tim Golden's fantasti

Re: listing existing windows services with python

2010-02-15 Thread alex23
News123 wrote: > What is the best way with python to get a list of all windows services. > > As a start I would be glad to receive only the service names. > > However it would be nicer if I could get all the properties of a service > as well. I highly recommend Tim Golden'

Re: listing existing windows services with python

2010-02-15 Thread Alf P. Steinbach
* News123: Hi, What is the best way with python to get a list of all windows services. As a start I would be glad to receive only the service names. However it would be nicer if I could get all the properties of a service as well. Thanks for any info and bye * Library: If there is some

listing existing windows services with python

2010-02-15 Thread News123
Hi, What is the best way with python to get a list of all windows services. As a start I would be glad to receive only the service names. However it would be nicer if I could get all the properties of a service as well. Thanks for any info and bye N -- http://mail.python.org/mailman

Re: Python and Windows Services Question

2009-03-04 Thread Tim Golden
Phoe6 wrote: This is a windows services question. The following script which is a windows service was supposed to something ( download wallpaper and set the desktopwallpaper) at 16:45 my time here. The service is running, but the supposed action did not take place. Does anyone who is aware of

Python and Windows Services Question

2009-03-04 Thread Phoe6
Hello, This is a windows services question. The following script which is a windows service was supposed to something ( download wallpaper and set the desktopwallpaper) at 16:45 my time here. The service is running, but the supposed action did not take place. Does anyone who is aware of win32

Re: How can I enumerate all windows services and disable some of them?

2006-08-23 Thread Tim Golden
Tim Golden wrote: > [Tim Golden] > > | [EMAIL PROTECTED] > | > | | I know that Module win32service has some functions on manipulating > | | win32 services. > | | But I still have 2 questions: > | | 1. how to enumerate all services? > | | 2. how to disable a certain one? > | > | You can use WMI to

Re: How can I enumerate all windows services and disable some of them?

2006-08-22 Thread Roger Upole
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I know that Module win32service has some functions on manipulating > win32 services. > But I still have 2 questions: > 1. how to enumerate all services? > 2. how to disable a certain one? > > Thanks in advance! > win32service.EnumServic

RE: How can I enumerate all windows services and disable some of them?

2006-08-22 Thread Tim Golden
[Tim Golden] | [EMAIL PROTECTED] | | | I know that Module win32service has some functions on manipulating | | win32 services. | | But I still have 2 questions: | | 1. how to enumerate all services? | | 2. how to disable a certain one? | | You can use WMI to do this if you want. ... or I could a

RE: How can I enumerate all windows services and disable some of them?

2006-08-22 Thread Tim Golden
[EMAIL PROTECTED] | I know that Module win32service has some functions on manipulating | win32 services. | But I still have 2 questions: | 1. how to enumerate all services? | 2. how to disable a certain one? You can use WMI to do this if you want. Have a look at this example: http://tgolden.sc.

How can I enumerate all windows services and disable some of them?

2006-08-22 Thread could . net
I know that Module win32service has some functions on manipulating win32 services. But I still have 2 questions: 1. how to enumerate all services? 2. how to disable a certain one? Thanks in advance! -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows Services

2006-04-04 Thread Larry Bates
ome code I have > already written which runs a server application. > > It may be all rather obvious but I am quite new Python (just a few > months) and totally new to Windows services. > > Thanks in advance for any help. > > Best, > > Rod > > > import win32s

Windows Services

2006-04-04 Thread rodmc
ython (just a few months) and totally new to Windows services. Thanks in advance for any help. Best, Rod import win32serviceutil import win32service import win32event import os,sys class helloworld: def test(self): x=1 filename=open("c:test.txt","w"

Re: Windows Services

2005-12-20 Thread Mondal
Hi, Thanks Upole!!! I dowloaded it. From exe files at sourceforge.net. Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows Services

2005-12-19 Thread Roger Upole
Active State's help file is missing parameters from some modules built using Swig. The .chm included with the SourceForge releases has complete parameter info. hth Roger "Mondal" <[EMAIL PROTECTED]> wrote: > Hi, > > Every one please accept my thanks. > > I have stopped using Python

Re: Windows Services

2005-12-19 Thread Mondal
Hi, Every one please accept my thanks. I have stopped using Python IDLE. Know I am using Pythonwin IDE from Active State. They have the same core modules. But the Pywin32 extensions are a plus from Active State. The problem is that the Pywin32 Documentation is incomplete/incorrect. The modules b

Re: Windows Services

2005-12-15 Thread bonono
te an exe that will retrieve any information > > stored by the file monitor mentioned above. > > > > Please tell me how do I go about it. > > > > Although I am a beginner in Python and Windows Services (Daemon), I am > > a moderately experienced programmer. > &

Re: Windows Services

2005-12-15 Thread Steve Holden
ned above. > > Please tell me how do I go about it. > > Although I am a beginner in Python and Windows Services (Daemon), I am > a moderately experienced programmer. > I'm afraid that you can't just run any old executable as a Windows service. If something is going to

Re: Windows Services

2005-12-15 Thread Frank Millman
d above. > > Please tell me how do I go about it. > > Although I am a beginner in Python and Windows Services (Daemon), I am > a moderately experienced programmer. > > -Regards Here is an alternative solution. I have a simple socket server program, which I wanted to run as a

Re: Windows Services

2005-12-15 Thread Mondal
Python and Windows Services (Daemon), I am a moderately experienced programmer. -Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows Services

2005-12-14 Thread alf
Also think through which Windows account will run the service, and what permissions it will need. A little up front work here will be appreciated by the people who have to install your service. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows Services

2005-12-14 Thread Peter Hansen
Mondal wrote: > Can anybody tell me how to develop Windows Services (which are actually > daemons) using Python. Yes, anyone can tell you. Anyone who can use Google that is. Can you? http://www.google.com/search?q=python+windows+service (There are directly relevant answers on the firs

Windows Services

2005-12-14 Thread Mondal
Hi, Can anybody tell me how to develop Windows Services (which are actually daemons) using Python. Also what protocol is most suitable for developing a server-client application with the server running as a Windows Service. Thanks in advance Bye -- http://mail.python.org/mailman/listinfo