<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx</link><description>Hey, Scripting Guy! Is there any way to use WMI to determine whether a computer is a laptop or a desktop machine? -- CB 
 Hey, CB. You bet there is, although if you didn’t know that we have no idea how you’d figure it out on your own. It turns out there</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3538343</link><pubDate>Tue, 04 Dec 2012 01:54:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3538343</guid><dc:creator>Ivan Dretvic</dc:creator><description>&lt;p&gt;@ikeytiger - In Group Policy management you go to the GPO in question (that you have configured) and select it, then set the WMI Filtering filter on the right hand pane at the bottom.&lt;/p&gt;
&lt;p&gt;Whichever site, domain or OU that the GPO is linked will utilise the WMI filter when executing.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3538343" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3532703</link><pubDate>Thu, 15 Nov 2012 11:26:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3532703</guid><dc:creator>ikeytiger</dc:creator><description>&lt;p&gt;Hi All&lt;/p&gt;
&lt;p&gt;i would like to execute this script for an OU only, is this possible?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3532703" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3480398</link><pubDate>Sun, 12 Feb 2012 13:11:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3480398</guid><dc:creator>dd</dc:creator><description>&lt;p&gt;That &amp;#39;Lunch Box&amp;#39; type (16) is hilarious. &amp;nbsp;Guess somebody at Microsoft wanted to have a little fun.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3480398" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3466700</link><pubDate>Tue, 22 Nov 2011 17:28:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3466700</guid><dc:creator>Ed WIlson</dc:creator><description>&lt;p&gt;@Ingmar yes, I have seen several systems that report multiple values for the chassis type. You are correct.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466700" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3466698</link><pubDate>Tue, 22 Nov 2011 17:27:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3466698</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@Wayne_C thank you for sharing this with us. This is very useful information that I had overlooked.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466698" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3466697</link><pubDate>Tue, 22 Nov 2011 17:26:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3466697</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@JBensimon I am not certain how WIndows 7 determines if a laptop is present or not. But you are correct, that certain features are only available for laptops. It is possible the information comes from the bios, or even via WMI as mentioned here. I do not think overriding laptop / or not would be supported. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466697" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3466695</link><pubDate>Tue, 22 Nov 2011 17:24:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3466695</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@emptee Not all laptop computers report correctly. I have written about a function I wrote that uses multiple techniques to determine if a laptop or not. &lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/heyscriptingguy/archive/2010/05/15/hey-scripting-guy-weekend-scripter-how-can-i-use-wmi-to-detect-laptops.aspx"&gt;blogs.technet.com/.../hey-scripting-guy-weekend-scripter-how-can-i-use-wmi-to-detect-laptops.aspx&lt;/a&gt; &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466695" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3466513</link><pubDate>Mon, 21 Nov 2011 21:40:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3466513</guid><dc:creator>Ingmar</dc:creator><description>&lt;p&gt;One reason (apparently) why this property is an array, is because of the docking station type. My laptop returns both 10 and 12, indicating that it&amp;#39;s a notebook with a docking station.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466513" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3361205</link><pubDate>Mon, 11 Oct 2010 15:48:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3361205</guid><dc:creator>Wayne_C</dc:creator><description>&lt;p&gt;Starting with Windows Vista there is a new Property available within the Win32_ComputerSystem class that can be used for this.&lt;/p&gt;
&lt;p&gt;The property is PCSystemType and a laptop should always return a value of &amp;#39;2&amp;#39;.&lt;/p&gt;
&lt;p&gt;I have already started using this method in scripts that will only be executed on Vista and above and it makes things much easier!&lt;/p&gt;
&lt;p&gt;Here is the MSDN link for the Win32_ComputerSystem class:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/aa394102%28VS.85%29.aspx"&gt;msdn.microsoft.com/.../aa394102%28VS.85%29.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Happy scripting!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3361205" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine if a Computer is a Laptop or a Desktop Machine?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx#3314284</link><pubDate>Sat, 20 Feb 2010 21:06:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3314284</guid><dc:creator>JBensimon</dc:creator><description>&lt;p&gt;Slight variation on the topic: how does *Windows* determine whether the computer is a desktop or a laptop/mobile computer? &amp;nbsp;Many features (e.g. Windows 7 Location-Aware Printing) are only available on mobile computers, which is a shame because many desktops are also occasionally moved from place to place. &amp;nbsp;So what is the determining factor in the eyes of Windows? ... and can it be told otherwise?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jacques.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3314284" width="1" height="1"&gt;</description></item></channel></rss>