<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SCCM Get Dell warranty info</title>
	<atom:link href="http://ninet.org/2010/03/sccm-get-dell-warranty-info/feed/" rel="self" type="application/rss+xml" />
	<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 03:28:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ryan</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-92</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 06 Apr 2011 19:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-92</guid>
		<description>Mike,

It sounds like dell have changed their site layout yet again. 
I&#039;ll do my best to take a peek at this and update the script.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>It sounds like dell have changed their site layout yet again.<br />
I&#8217;ll do my best to take a peek at this and update the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-91</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 06 Apr 2011 18:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-91</guid>
		<description>I&#039;m not seeing the wmi class being populated. I commented out On Error Resume Next, and I&#039;m getting a type mismatch error at If i = (cint(intShortlist)-1) then.... If i echo intShortlist, i&#039;m getting a text value rather than an integer. (specifically, Next Business Day). Also, the Days left appears to be targetting the wrong column (returns end date instead).</description>
		<content:encoded><![CDATA[<p>I&#8217;m not seeing the wmi class being populated. I commented out On Error Resume Next, and I&#8217;m getting a type mismatch error at If i = (cint(intShortlist)-1) then&#8230;. If i echo intShortlist, i&#8217;m getting a text value rather than an integer. (specifically, Next Business Day). Also, the Days left appears to be targetting the wrong column (returns end date instead).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-89</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 25 Mar 2011 16:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-89</guid>
		<description>Anthony,

I really hate saying this, but, again I am going to be of little use other than basic troubleshooting as I no longer have XP clients and the script has never worked (via SCCM only) for me due to our security setup. 
If I get a chance I&#039;ll have a poke about and see, of all the OSs I&#039;d have expected XP to have no problems due to it&#039;s lack tiered security. 

Regards,

Ryan</description>
		<content:encoded><![CDATA[<p>Anthony,</p>
<p>I really hate saying this, but, again I am going to be of little use other than basic troubleshooting as I no longer have XP clients and the script has never worked (via SCCM only) for me due to our security setup.<br />
If I get a chance I&#8217;ll have a poke about and see, of all the OSs I&#8217;d have expected XP to have no problems due to it&#8217;s lack tiered security. </p>
<p>Regards,</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-88</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Fri, 25 Mar 2011 14:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-88</guid>
		<description>Questiojn for you guys, but first a thankyou for all the work that has gone into this, THANKS!!

Here&#039;s my question (dilemma)i&#039;ve run Ryans script on 3 windows 7 machines and have had great success. The files are created, the class is created and it gets picked up by the server and i can run the report and see the info that I am looking for. 
When I run this on an XP box, I can see that the log files are created and the class is created in WBEMtest, but I cannot get the info into the DB.
I did notice that wbemtest in 7 points to root\cimv2 and in Xp it points to root\default, so I added an entry to the mos_def file to reflect that difference, I also modified the script to point to root\default for my xp machines, this did created the warranty info class but will not export the data to the DB...
Any Ideas, 

Thanks in Advance, 
Tony</description>
		<content:encoded><![CDATA[<p>Questiojn for you guys, but first a thankyou for all the work that has gone into this, THANKS!!</p>
<p>Here&#8217;s my question (dilemma)i&#8217;ve run Ryans script on 3 windows 7 machines and have had great success. The files are created, the class is created and it gets picked up by the server and i can run the report and see the info that I am looking for.<br />
When I run this on an XP box, I can see that the log files are created and the class is created in WBEMtest, but I cannot get the info into the DB.<br />
I did notice that wbemtest in 7 points to root\cimv2 and in Xp it points to root\default, so I added an entry to the mos_def file to reflect that difference, I also modified the script to point to root\default for my xp machines, this did created the warranty info class but will not export the data to the DB&#8230;<br />
Any Ideas, </p>
<p>Thanks in Advance,<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-86</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 22 Mar 2011 10:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-86</guid>
		<description>JeffM,

I&#039;m afraid I am going to be unable to help you as I actually have no usb connected printers, here in work or at home. I&#039;ve configured all mine so that the shares are restricted and can only be accessed by those with permissions. Additionally I don&#039;t have any Dell printers, so even if I could communicate with mine you still might not be able to with yours. 

You can use the wmi query &quot;Select * from win32_printer&quot; which will list all printers that a computer knows about and includes details such as port (be it tcp/ip or usb). Downside to this is that printers are a &quot;per user&quot; device not a system wide device so the query would need to be run as the user that has the printers in their profile (which may or may not be all users of a system).

Another idea which jumps to mind is that a lot of printers support telnet for management, perhaps those connected via usb expose a serial type connection you could use Putty to connect to?
You might be able to connect via telnet/serial and capture the output.

I personally think your best solution is the 3rd party one, this is not a cop out, it&#039;s simply a case of it&#039;s not a problem I have nor can replicate in order to look into so I cannot be of any real help in this instance. 

If you can get the service tags the above scripts can be easily modified to parse a file containing them and return a CSV of the warranties of each.

Keep an eye on the site though, I will have an interesting custom program coming up soon which will of interest to those that use Cisco for networking &amp; SCCM for systems management.

Regards,

Ryan</description>
		<content:encoded><![CDATA[<p>JeffM,</p>
<p>I&#8217;m afraid I am going to be unable to help you as I actually have no usb connected printers, here in work or at home. I&#8217;ve configured all mine so that the shares are restricted and can only be accessed by those with permissions. Additionally I don&#8217;t have any Dell printers, so even if I could communicate with mine you still might not be able to with yours. </p>
<p>You can use the wmi query &#8220;Select * from win32_printer&#8221; which will list all printers that a computer knows about and includes details such as port (be it tcp/ip or usb). Downside to this is that printers are a &#8220;per user&#8221; device not a system wide device so the query would need to be run as the user that has the printers in their profile (which may or may not be all users of a system).</p>
<p>Another idea which jumps to mind is that a lot of printers support telnet for management, perhaps those connected via usb expose a serial type connection you could use Putty to connect to?<br />
You might be able to connect via telnet/serial and capture the output.</p>
<p>I personally think your best solution is the 3rd party one, this is not a cop out, it&#8217;s simply a case of it&#8217;s not a problem I have nor can replicate in order to look into so I cannot be of any real help in this instance. </p>
<p>If you can get the service tags the above scripts can be easily modified to parse a file containing them and return a CSV of the warranties of each.</p>
<p>Keep an eye on the site though, I will have an interesting custom program coming up soon which will of interest to those that use Cisco for networking &#038; SCCM for systems management.</p>
<p>Regards,</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeffM</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-85</link>
		<dc:creator>JeffM</dc:creator>
		<pubDate>Mon, 21 Mar 2011 19:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-85</guid>
		<description>RyanM: I think you misundertood and didn&#039;t quite read my detail :-)
1) Ms. Kissinger indeed stated this could be used for printers (which you confirmed); in fact, there are several &quot;pointers&quot; to this and similar locations just for that purpose
2) And, this is the MOST important part: NONE of the scripts, not even &#039;tweaked,&#039; will work for us, because we are NOT NETWORKED (the printers, I mean; I clearly stated they are USB-ONLY).

So, any hints or clues as to how to &quot;tickle&quot; the printer (via USB001, for example), to dump out its Service Tag, would be greatly appreciated. Since they are not networked via the LAN port, we cannot use the Web interface - if we could, it would be a no-brainer.

That said, we did indeed &#039;share&#039; all printers, so we were able to do a &quot;copy /b firmware.??? \\remote-box\printer-share&quot; - and that worked; so, clearly, there is the possibility of communicating to the printer &#039;remotely&#039; even though we have no LAN printers; they are USB-ONLY. I hope I have clarified.

So, there should be a way to &#039;query&#039; over the printer share and/or a redirected LPT1: --&gt; USB001, to &quot;send a command&quot; to the printer, to get it to output (or send back) it&#039;s &quot;Serial Number&quot; - ideally, we want the Service Tag and, from what I am seeing, printing these Asset Report and Device Satistics pages shows only a &quot;Serial Number&quot; (beginning with &quot;72&quot;) and NOT the Service Tag (which begins with &quot;52&quot;). So, clearly the Serial Number is stored somewhere in the printer.

So, again, any help or clues about getting printer info from printers that are USB-ONLY - would be greatly appreciated.

Most or ALL servers/desktops/laptops have the Service Tag and/or Serial Number in BIOS - this was &quot;a long time coming&quot; and did not used to be the case (back in days of old); and now, we MUST push the vendors to always put PRINTER SERIAL # also in a retrievable, WMI-exposed location - Is that too much to ask for? I think not. It is THE ONE THING that most system admins direly need, in order to maintain asset inventories - and PLEASE don&#039;t steer me to 3rd party solutions - this SHOULD BE AN *INDUSTRY STANDARD*; just like PrinterName, DriverName, ShareName - those values that already are avaiable.

So let&#039;s hear it for a standard, printer management, callable interface for EVERY manufacturer&#039;s printer; where the interface always will be able to be polled for; and will return; the printer Service Tag and Serial Number; EVEN if the printer is &#039;local&#039; and not LAN-connected. -- end soap-box. Thanks.</description>
		<content:encoded><![CDATA[<p>RyanM: I think you misundertood and didn&#8217;t quite read my detail :-)<br />
1) Ms. Kissinger indeed stated this could be used for printers (which you confirmed); in fact, there are several &#8220;pointers&#8221; to this and similar locations just for that purpose<br />
2) And, this is the MOST important part: NONE of the scripts, not even &#8216;tweaked,&#8217; will work for us, because we are NOT NETWORKED (the printers, I mean; I clearly stated they are USB-ONLY).</p>
<p>So, any hints or clues as to how to &#8220;tickle&#8221; the printer (via USB001, for example), to dump out its Service Tag, would be greatly appreciated. Since they are not networked via the LAN port, we cannot use the Web interface &#8211; if we could, it would be a no-brainer.</p>
<p>That said, we did indeed &#8216;share&#8217; all printers, so we were able to do a &#8220;copy /b firmware.??? \\remote-box\printer-share&#8221; &#8211; and that worked; so, clearly, there is the possibility of communicating to the printer &#8216;remotely&#8217; even though we have no LAN printers; they are USB-ONLY. I hope I have clarified.</p>
<p>So, there should be a way to &#8216;query&#8217; over the printer share and/or a redirected LPT1: &#8211;&gt; USB001, to &#8220;send a command&#8221; to the printer, to get it to output (or send back) it&#8217;s &#8220;Serial Number&#8221; &#8211; ideally, we want the Service Tag and, from what I am seeing, printing these Asset Report and Device Satistics pages shows only a &#8220;Serial Number&#8221; (beginning with &#8220;72&#8243;) and NOT the Service Tag (which begins with &#8220;52&#8243;). So, clearly the Serial Number is stored somewhere in the printer.</p>
<p>So, again, any help or clues about getting printer info from printers that are USB-ONLY &#8211; would be greatly appreciated.</p>
<p>Most or ALL servers/desktops/laptops have the Service Tag and/or Serial Number in BIOS &#8211; this was &#8220;a long time coming&#8221; and did not used to be the case (back in days of old); and now, we MUST push the vendors to always put PRINTER SERIAL # also in a retrievable, WMI-exposed location &#8211; Is that too much to ask for? I think not. It is THE ONE THING that most system admins direly need, in order to maintain asset inventories &#8211; and PLEASE don&#8217;t steer me to 3rd party solutions &#8211; this SHOULD BE AN *INDUSTRY STANDARD*; just like PrinterName, DriverName, ShareName &#8211; those values that already are avaiable.</p>
<p>So let&#8217;s hear it for a standard, printer management, callable interface for EVERY manufacturer&#8217;s printer; where the interface always will be able to be polled for; and will return; the printer Service Tag and Serial Number; EVEN if the printer is &#8216;local&#8217; and not LAN-connected. &#8212; end soap-box. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-84</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 20 Mar 2011 09:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-84</guid>
		<description>JeffM,

I think you have misunderstood the purpose of these scripts.

They have nothing to do with printers.

They get the serial number of a computer from WMI, connect to the dell site supplying the serial and grab the warranty info for the computer.

In saying that, a bit of tweaking could do something for printers. Most printers have a web interface which, in the case of dell, has the serial number of the printer on it. So you could supply a list of printer names to a script which parses those printer interfaces, grabs the serial then use parts of the script here to do the rest. 

Ryan</description>
		<content:encoded><![CDATA[<p>JeffM,</p>
<p>I think you have misunderstood the purpose of these scripts.</p>
<p>They have nothing to do with printers.</p>
<p>They get the serial number of a computer from WMI, connect to the dell site supplying the serial and grab the warranty info for the computer.</p>
<p>In saying that, a bit of tweaking could do something for printers. Most printers have a web interface which, in the case of dell, has the serial number of the printer on it. So you could supply a list of printer names to a script which parses those printer interfaces, grabs the serial then use parts of the script here to do the rest. </p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeffM</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-83</link>
		<dc:creator>JeffM</dc:creator>
		<pubDate>Sat, 19 Mar 2011 15:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-83</guid>
		<description>Was I wrong or I misinterpreted something? This script and related MOF edit are supposed to be &quot;the magic bullet&quot; (per S. Kissinger&#039;s comments and other comments) that should allow retrieval of *PRINTER* service tag from Dell site - we have ZERO &#039;network&#039; printers, due to security; thus ALL our printers are mapped directly/connected direct to USB.

Upon reading Technect/Microsoft blogs, various comments led me to believe these items could allow me to gather and populate the PRINTER SERIAL # into WMI - but no such thing - at least not Kissinger&#039;s standalone vbscript - it only lists the COMPUTER service tag - which is good, but not what i needed.

I will try your suggested SMS/SCCM report and see what that turns up, but clearly I was misled to believe this might do the trick (at least in the interim) - but, how would my PC know to query Dell&#039;s site for the particular printer attached to the PCs USB port?

Now, yes, if we &#039;networked&#039; the printers, it would be a no-brainer, because Dell (LexMark re-branded printers) HAVE the printer asset tag in the firmware - just print off a settings page - you will see it, but no way to get that info via USB - in other secure institutions, I&#039;m sure this need for asset/service tag info is just as prevalent - Dell does provide a Lexmark firmware update piece, where I can share the printer on the PC itself, then copy /b \\box\share.
So, clearly, I can UPDATE (write) the firmware/bios; wouldn&#039;t it be simple enough for them to modify that fimrware update and/or allow a copy/b &quot;BIOSConfig-info.???&quot; FROM the PC share (print share) to the local c:\ drive and then provide a utility to parse that binary config for the Service Tag? 

I just had lunch with our Dell sales rep and he said to send the suggestion to Frank Mok, our local and/or regional engineer - he is going overseas to talk with the developers, and it might be something they can accomplish. 

Clearly, there&#039;s no clean/standard interface for talking directly to/from the USB001 port, for example, like there was in the days of LPT1: (serial) port communication - there are workarounds, where we can share the printer locally on the machine, then redirect LPT1: to that share; and THEN we can sort of communicate and/or push firmware to the printer port.

Any thoughts appreciated - and PLEASE don&#039;t direct me to whatever 3rd party company is providing services to accomplish this - that&#039;s a lazy thing to do - this needs to be &quot; thought out&quot; and FIXED - locally, by Dell, Lexmark, and other manufacturers, so that we have some way to interface with PRINTER FIRMWARE/BIOS and gather Service Tag / Serial # info from printers! (YES, even &quot;non-networked;&quot; i.e., local USB-based printers!) Thanks for listening!</description>
		<content:encoded><![CDATA[<p>Was I wrong or I misinterpreted something? This script and related MOF edit are supposed to be &#8220;the magic bullet&#8221; (per S. Kissinger&#8217;s comments and other comments) that should allow retrieval of *PRINTER* service tag from Dell site &#8211; we have ZERO &#8216;network&#8217; printers, due to security; thus ALL our printers are mapped directly/connected direct to USB.</p>
<p>Upon reading Technect/Microsoft blogs, various comments led me to believe these items could allow me to gather and populate the PRINTER SERIAL # into WMI &#8211; but no such thing &#8211; at least not Kissinger&#8217;s standalone vbscript &#8211; it only lists the COMPUTER service tag &#8211; which is good, but not what i needed.</p>
<p>I will try your suggested SMS/SCCM report and see what that turns up, but clearly I was misled to believe this might do the trick (at least in the interim) &#8211; but, how would my PC know to query Dell&#8217;s site for the particular printer attached to the PCs USB port?</p>
<p>Now, yes, if we &#8216;networked&#8217; the printers, it would be a no-brainer, because Dell (LexMark re-branded printers) HAVE the printer asset tag in the firmware &#8211; just print off a settings page &#8211; you will see it, but no way to get that info via USB &#8211; in other secure institutions, I&#8217;m sure this need for asset/service tag info is just as prevalent &#8211; Dell does provide a Lexmark firmware update piece, where I can share the printer on the PC itself, then copy /b \\box\share.<br />
So, clearly, I can UPDATE (write) the firmware/bios; wouldn&#8217;t it be simple enough for them to modify that fimrware update and/or allow a copy/b &#8220;BIOSConfig-info.???&#8221; FROM the PC share (print share) to the local c:\ drive and then provide a utility to parse that binary config for the Service Tag? </p>
<p>I just had lunch with our Dell sales rep and he said to send the suggestion to Frank Mok, our local and/or regional engineer &#8211; he is going overseas to talk with the developers, and it might be something they can accomplish. </p>
<p>Clearly, there&#8217;s no clean/standard interface for talking directly to/from the USB001 port, for example, like there was in the days of LPT1: (serial) port communication &#8211; there are workarounds, where we can share the printer locally on the machine, then redirect LPT1: to that share; and THEN we can sort of communicate and/or push firmware to the printer port.</p>
<p>Any thoughts appreciated &#8211; and PLEASE don&#8217;t direct me to whatever 3rd party company is providing services to accomplish this &#8211; that&#8217;s a lazy thing to do &#8211; this needs to be &#8221; thought out&#8221; and FIXED &#8211; locally, by Dell, Lexmark, and other manufacturers, so that we have some way to interface with PRINTER FIRMWARE/BIOS and gather Service Tag / Serial # info from printers! (YES, even &#8220;non-networked;&#8221; i.e., local USB-based printers!) Thanks for listening!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dell Warranty Info - Hardware Inventory extension - Sherry Kissinger at myITforum.com</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-64</link>
		<dc:creator>Dell Warranty Info - Hardware Inventory extension - Sherry Kissinger at myITforum.com</dc:creator>
		<pubDate>Sat, 25 Sep 2010 19:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-64</guid>
		<description>[...] #2: Ryan updated the warranty script to make it [...]</description>
		<content:encoded><![CDATA[<p>[...] #2: Ryan updated the warranty script to make it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://ninet.org/2010/03/sccm-get-dell-warranty-info/comment-page-1/#comment-63</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 09 Sep 2010 16:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://ninet.org/?p=122#comment-63</guid>
		<description>Moved your posts as we are talking about this script so it makes sense to have the thread here.

First thing I would do is uncomment the wscript.echo statements. That will show you all the calls and which functions you are in. 

Try changing from &quot;C:\warrantyinfo&quot; to &quot;C:\Documents and Settings\administrator\Desktop\warrantyInfo.csv&quot;

C:\ can be protected from writes by the OS (definitely Vista/7/2008).

I recommend opening a command prompt as admin and then using &quot;cscript.exe warrantyinfo.vbs&quot;, all the output will be in the command window and you won&#039;t be clicking OK every 5seconds.

You can use http://pastebin.com/ if you want to post output for me to see or if you are worried about confidentiality then use the contact form on the site to contact me and I&#039;ll mail you back with my email address and you can mail me directly.

Regards,

Ryan</description>
		<content:encoded><![CDATA[<p>Moved your posts as we are talking about this script so it makes sense to have the thread here.</p>
<p>First thing I would do is uncomment the wscript.echo statements. That will show you all the calls and which functions you are in. </p>
<p>Try changing from &#8220;C:\warrantyinfo&#8221; to &#8220;C:\Documents and Settings\administrator\Desktop\warrantyInfo.csv&#8221;</p>
<p>C:\ can be protected from writes by the OS (definitely Vista/7/2008).</p>
<p>I recommend opening a command prompt as admin and then using &#8220;cscript.exe warrantyinfo.vbs&#8221;, all the output will be in the command window and you won&#8217;t be clicking OK every 5seconds.</p>
<p>You can use <a href="http://pastebin.com/" rel="nofollow">http://pastebin.com/</a> if you want to post output for me to see or if you are worried about confidentiality then use the contact form on the site to contact me and I&#8217;ll mail you back with my email address and you can mail me directly.</p>
<p>Regards,</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

