Windows Security
  Home arrow Windows Security arrow Inventorying RAMs Remotely on Windows
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SECURITY

Inventorying RAMs Remotely on Windows
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2009-08-11

    Table of Contents:
  • Inventorying RAMs Remotely on Windows
  • Shaping the Output
  • Using the Tool
  • Final Thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Inventorying RAMs Remotely on Windows


    (Page 1 of 4 )

    Say you need to find a remote solution for grabbing the values of RAM modules of a huge number of computers. This is not unusual for large companies that need to do inventories of some kind to keep track of all of their computers for maintenance purposes. We want to gather the manufacturer, serial number, model number, and other values for each module.

    As we pointed out in our earlier article, there is a relatively seamless solution with a few lines of script code—based on WMI—we can try to query the SPD data of each RAM module. Unfortunately, when this approach was placed into action, the results weren’t promising at all. Lots of data were missing, most of which were truly required for our inventory needs, such as the manufacturer, part number, and serial number.

    Windows Management Instrumentation, abbreviated WMI, is the interface that Microsoft designed with programmers in mind. It allows users to access certain parts and hardware components by providing a hardware abstraction layer. Querying via WMIs is really a task and can be done with scripting languages as well. Since this simple approach wasn’t enough for us, it was time to look further.

    Once again, we got lucky, finding the following CodeProject article by wjfrancis. Apparently, the author realized the reason why querying the WMI does not return the required “depth” of information that it promises. In short, there is a limitation in the mechanism of WMI that does not parse and “make available” all of the gathered information. The author found a way around this. The results were satisfying.

    In that article there is an entire story explaining the way you can peek into the SMBIOS to gather the necessary information in an approach similar to the way WMI does it when it loads up its collections and all that. In the end, though, it does not expose all of it. The source code that’s featured within that article is written in C++ and the application is console-based. Basically, it dumps and prints out the entire SMBIOS data. It’s in-depth!

    Our task now is to show you how we can modify this application that already “does wonders” a tiny bit, and explain how we can execute it remotely on hundreds, if not thousands, of computers within a domain(s). Modifying is not compulsory, but you may find it essential to style the SMBIOS dump into the required form and shape. I’m sure you'll find out that it reports way too much information in the case of memories.

    More Windows Security Articles
    More By Barzan "Tony" Antal


     

    WINDOWS SECURITY ARTICLES

    - Encrypting Flash Drives with TrueCrypt
    - Introduction to Encryption
    - Top Add-Ins for Windows Home Server
    - Using Windows XP and Linux Ubuntu Dual Boot ...
    - Windows 8
    - Which Version of Windows 7 Should You Use?
    - Choosing the Best Windows XP Firewall
    - Finding the Correct Drivers for Windows XP D...
    - Windows Network Troubleshooting: Tips and Te...
    - Windows XP Home Network Setup: Essential Ste...
    - Using Windows Recovery Console to Fix Blue S...
    - Fix Blue Screen of Death in Windows XP: Corr...
    - Storing Data with Windows Skydrive
    - Windows System Administrator`s Toolbox
    - Solving Windows Genuine Advantage Problems





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek