[python-win32] share remote drive

2012-02-22 Thread pacopyc pacopyc
Can I share a remote drive? How? Thank pacopyc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] get model PC

2012-01-10 Thread pacopyc pacopyc
Hi, how can I get the model of remote computers? es. HP Compaq 6510b, IBM 2653, Toshiba Satellite Pro L670-11E, Thanks. pacopyc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] send message remote host

2011-12-17 Thread pacopyc pacopyc
Yes, I'm thinking about net send of Windows ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] send message remote host

2011-12-16 Thread pacopyc pacopyc
Hi, I'd like send a message to remote host. I want that remote host's user read my short message immediately. I have remote host administrator credentials. Can you help me? ___ python-win32 mailing list python-win32@python.org

Re: [python-win32] logon remote machine

2011-11-14 Thread pacopyc pacopyc
administrator user or with a valid local user (also administrator) of remote host (in which case domain is host's netbios_name). Code runs correctly. Bye pacopyc 2011/11/12 python-win32-requ...@python.org Send python-win32 mailing list submissions to python-win32@python.org To subscribe

[python-win32] logon remote machine

2011-11-11 Thread pacopyc pacopyc
Hi, I must get OS and logged user on remote machine. I use this functions: 1) THIS FUNCTION IS OK (ALWAYS!!!) def getOperatingSystem(self,host): try: c = wmi.WMI(host, user=domain\user, password=password) os = c.win32_OperatingSystem()[0] except:

[python-win32] retrieve microsoft office product key

2011-10-26 Thread pacopyc pacopyc
Hi, I'd like monitor microsoft office licences on my LAN (about 50 PC). Can I retrieve product key with python script? Thank you pacopyc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] disable network interface

2010-06-10 Thread pacopyc pacopyc
Excuse me, I'd like to disable network interface of a remote host. I'm thinking to use Win32_NetworkAdapter. What do you think? How can I do? Is it possible disable network interface? Can you help me? I found in Internet this code: import wmi; c = wmi.WMI() o = c.query(select * from

Re: [python-win32] disable network interface

2010-06-10 Thread pacopyc pacopyc
Ok, thank you. But I'd like to block network access to a remote host while it is working ... without execute shutdown. Is it possible? I want that it could continue working but without network access. ___ python-win32 mailing list python-win32@python.org

[python-win32] set wait time max

2010-05-18 Thread pacopyc
Hi, I've a question for you. I'd like to call a function and waiting its return value for a time max (30 sec). The function could not respond and then I must avoid to wait for infinite time. Can you help me? Thanks ___ python-win32 mailing list

Re: [python-win32] set wait time max

2010-05-18 Thread pacopyc
On 18/05/2010 13:10, Graeme Glass wrote: On Tue, May 18, 2010 at 9:22 AM, pacopycpaco...@gmail.com wrote: Hi, I've a question for you. I'd like to call a function and waiting its return value for a time max (30 sec). The function could not respond and then I must avoid to wait for infinite

Re: [python-win32] get installed software remote machine

2010-04-27 Thread pacopyc
Ok, thank you very much. Very good with set administrator password (it works), but I've problem with installed software. The list is not complete (I don't understand). For example key Adobe Flash Player ActiveX return this error: Traceback (most recent call last): File pyshell#49, line 1, in

Re: [python-win32] get installed software remote machine (Tim Golden)

2010-04-26 Thread pacopyc
machine (pacopyc) 2. Re: get installed software remote machine (Tim Golden) -- Message: 1 Date: Fri, 23 Apr 2010 16:56:35 +0200 From: pacopyc paco...@gmail.com To: python-win32@python.org Subject: [python-win32] get installed

[python-win32] get installed software remote machine

2010-04-23 Thread pacopyc
Hi, one question for you? Or better .. another question for you? I'm trying to get installed software on remote host with Win32_Product(). The problem is that don't list all installed software (much but not all). Why? What must I use to get all installed software? Thank you very much Can you

[python-win32] set password administrator remote host

2010-04-19 Thread pacopyc
Hi, I'd like to set password local administrator all hosts of my LAN. I know network admin password, but I don't know password local admin of hosts. And then I cannot change password, but I must set password. How can I do? I'd like also enabled/disabled NIC of a remote host. Is it possible?

[python-win32] shutdown remote locked PC

2010-04-15 Thread pacopyc
Hi, I've a problem with locked PCs. I can shutdown them (with WMI), but only if they are unlocked. How can I resolve it? Can you help me? Thank you very much ___ python-win32 mailing list python-win32@python.org

[python-win32] timeout function

2010-04-07 Thread pacopyc
Hi, I'm trying to execute a function that could end never (infinite time). I'd like to set a timeout. If function respond before 30 sec ok, else go away. Can I do it? I can't find simple examples. Can you help me? Thank you ___ python-win32 mailing

[python-win32] win32net.NetGroupGetUsers PROBLEMS

2010-04-01 Thread pacopyc
Hi, I'm trying pywin32 code on http://www.koders.com/python/fid0A9817CC3BE77569E22AF2152A0B96C5F88268C8.aspx?s=shell_notifyicon. I'd like enumerates all the domain groups (and users for each group). It works very good for all groups, except DOMAIN USERS group. Function

[python-win32] administration script

2010-03-24 Thread pacopyc pacopyc
Hello, I'm a NT domain system administrator and I'd like develop simple administration scripts with Python. I'm not expert and then I need some examples to understand. Initially I must listing all LAN's PC, for each PC get users and password, change password local administrator, run shutdown