<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div class="defangedMessage">
<div id="me02572">
<div>Steve,</div>
<div>&nbsp;</div>
<div>Those are some great ideas! I'll give it a shot and see what works for us.</div>
<div>&nbsp;</div>
<div>Thanks for your help,</div>
<div>&nbsp;</div>
<div>Malcolm</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>----- Original message -----</div>
<div>From: &quot;Steven James&quot; &lt;steven.james@gmail.com&gt;</div>
<div>To: python-win32@python.org</div>
<div>Date: Sat, 6 Mar 2010 10:17:43 -0500</div>
<div>Subject: Re: [python-win32] Detect whether a workstation is a laptop or        desktop/server?</div>
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.<br>
<br>
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.<br>
<br>
Well I think that's every way possible of not answering your question. Sorry =).<br>
<br>
SJ<br>
<br>
<br>
<div class="me02572gmail_quote">On Sat, Mar 6, 2010 at 10:00 AM,  <span dir="ltr">&lt;<a href="mailto:python@bdurham.com">python@bdurham.com</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="me02572gmail_quote"> Hi Roberto.<br>
<br>
&gt; I assume you could categorize a computer as a laptop or desktop once you knew the machine's make an model.<br>
<br>
Unfortunately, we're a start-up company with an entirely random mix of<br>
computers from what seems like every vendor possible. I'm not sure where<br>
I would find a database for some of the machines we have.<br>
<br>
I'm hoping that there's a WMI property that allows me to distinguish<br>
between a laptop battery and an external UPS. (I've been looking, but my<br>
google-fu is failing me).<br>
<br>
Thanks for your help,<br>
<br>
Regards,<br>
Malcolm<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a target="_blank" href="http://mail.python.org/mailman/listinfo/python-win32">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</blockquote></div>
<br>
<pre>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

</pre>
</div>
</div></div></body></html>