pyt...@bdurham.com wrote:
Steve,
Those are some great ideas! I'll give it a shot and see what works for us.
Detecting the monitor type may also help, because Laptops have built-in monitors and PCs not (OK, there are a few cases where PCs also have built-in monitor).

-Ulrich
Thanks for your help, Malcolm ----- Original message -----
From: "Steven James" <steven.ja...@gmail.com>
To: python-win32@python.org
Date: Sat, 6 Mar 2010 10:17:43 -0500
Subject: Re: [python-win32] Detect whether a workstation is a laptop or desktop/server? Not sure exactly, but perhaps you could distinguish whether the battery is connected via USB or some other transport method? Looking through the device manager there seem to be some fields that might be relevant. As a network admin, I've used a free software called Spiceworks in the past that scans our network and classifies machines. Does a decent job and seems to use the model-database technique.

Other ways might be...does the machine have a PCMCIA slot? does it have built-in wifi/bluetooth? A 5400RPM hard drive? These aren't assurances, but they point to laptops.

Well I think that's every way possible of not answering your question. Sorry =).

SJ


On Sat, Mar 6, 2010 at 10:00 AM, <pyt...@bdurham.com <mailto:pyt...@bdurham.com>> wrote:

    Hi Roberto.

    > I assume you could categorize a computer as a laptop or desktop
    once you knew the machine's make an model.

    Unfortunately, we're a start-up company with an entirely random mix of
    computers from what seems like every vendor possible. I'm not sure
    where
    I would find a database for some of the machines we have.

    I'm hoping that there's a WMI property that allows me to distinguish
    between a laptop battery and an external UPS. (I've been looking,
    but my
    google-fu is failing me).

    Thanks for your help,

    Regards,
    Malcolm
    _______________________________________________
    python-win32 mailing list
    python-win32@python.org <mailto:python-win32@python.org>
    http://mail.python.org/mailman/listinfo/python-win32


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

------------------------------------------------------------------------

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to