Alternative to WMIC csproduct get name?

Everyone,
I am currently attempting to find a work around that will allow me to leverage a single WDS/MDT image for all of my PC hardware. At the moment, my biggest hurdle comes from hardware manufacturers that are not properly labeling their hardware. 
My company has a decent mixture of traditional OEM PCs (Dell, HP, etc.) as well as consumer level PCs with a variety of components (ASUS, Intel, EVGA, etc).  The issue I am faced with is getting the proper identification information from the consumer
level hardware using the standard 'wmic csproduct get name' command.  
If I run the 'wmic csproduct get name' command, several of my components return vague identifiers like System Product Name or OEM. Obviously, this is not ideal as it does not uniquely identify the hardware.  In an effort to find a solution, I discovered
a suggestion to use the WBEMTEST utility in another thread but sadly, the results are the same - System Product Name or OEM appear in those locations.  However, a thread on superuser.com suggested the use of 'wmic baseboard get product' which actually
returns uniquely identifiable data. 
As I understand it, WDS/MDT uses the wmic csproduct get name command to identify hardware during the image deployment process. This leads me to question
Whether WDS/MDT can be modified to also use the 'wmic baseboard get product' command if the results of 'wmic csproduct get name' return data that is unusable, or
Whether the results of 'wmic baseboard get product' can be used in lieu of the results of 'wmic csproduct get name' 
Any feedback the community can offer will be greatly appreciated.  I know this is not the first time this issue has come up but thus far, I have not found a single solution or workaround that adequately resolves the problem short of buying hardware
from manufacturers that know what they are doing.  
NOTE: I originally included a screenshot and supporting links but the site disallowed their use.  Sorry about that.

You are looking for a "userexit" script to fix "Lenovo" machines on "MDT"
http://deploymentbunny.com/2012/05/01/modelalias-user-exit-for-microsoft-deployment-toolkit-20102012/
Keith Garner - keithga.wordpress.com

Similar Messages

  • WMIC Diskdrive Get Signature - question

    Hi
    I'm running Win 7x64 Home Premium.  I have a question about the WMIC return information when using
    diskdrive get signature query.
    Drive 0 is my "C" HDD (MBR OS drive and most of my data), a Seagate 1Tb SATA spinner drive.
    Drive 1 is a 500Gb MBR Seagate SATA spinner storage drive
    Drive 2 is a Seagate portable USB drive.
    Here's my WMIC results:
    C:\>wmic diskdrive get name, signature
    Name                Signature
    \\.\PHYSICALDRIVE0  879977925
    \\.\PHYSICALDRIVE1  -9588321
    \\.\PHYSICALDRIVE2  2087182144
    The question I have is regarding the comparison between the signature value that's returned in the WMIC diskdrive inquiry and the four-byte identifier disk signature that's located in the Master Boot Code at offset 0x1B8.
    When I convert the WMIC value to hex, it doesn't appear that it would be the same value as the signature that's located in the Master Boot Code.
    Is the WMIC diskdrive signature referring to a separate identifier on the hard drive, vs the one that's in the Master Boot Code?
    The reason I'm curious about is I was looking for an easier way to access the MBC disk signature with the WMIC diskdrive inquiry vs accessing the Registry Hive under HKEY_LOCAL_MACHINE\BCD00000 , where the MBC disk signature is located.

    Hello Selmur,
    Do you mean that you want to know what result of WMIC diskdrive signature refer to?
    I have run the command wmic diskdrive get name, signature and
    diskpart then Uniqueid disk.
    They have the similar result. One is in decimal, another is in hex.
    Here is the articles about the wmic and uniqueid.
    wmic
    http://msdn.microsoft.com/en-us/library/aa394132(v=vs.85).aspx
    uniqueid
    http://technet.microsoft.com/en-us/library/cc730793.aspx
    signature: Disk identification. This property can be used to identify a shared resource.
    uniqueid: Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature of a disk.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • I am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice help me out

    hello i have started using iphone 5 for which i downloaded my contacts from i clouds i am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice  its only showing the names of the person whose no. i have saved it with the country code i am staying in india new delhi pls help me i am fed up not able to get the name of person who is calling

    Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
    You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support

  • Get Name of Future Step in TestStand Sequence

    Hello All,
      Working on a sequence of numeric limit tests, and need to set the limits programatically, based on an imported configuration file.  I use a simple action call to set the limits with a code module (TestStand Set Property Value function), but in order to make the code module reusable, I need to pass in the step name for the test step it applies to, each time I call it.  The problem is that the step that each limit applies to is several steps later in the sequence.  I know that I can get the name of the next step (RunState.NextStep.Name) but need to know if it is possible to get names of later steps as well.  I'm guessing it may have something to do with the "NextStepIndex" function, but can't seem to get the context right.  Please advise.  Thanks in advance.
    GSinMN

    Figured it out myself.
    Locals."Variable To Set" = RunState.Sequence.GetStep((RunState.Sequence.GetStepIndex(Step.Name, StepGroup_Main))+"Number of steps in Future",StepGroup_Main).Name
    Where "variable to set" is the name of the variable you are assigning the step name to and "number of steps in future" is an integer that represents the index with respect to the current step (i.e. 2 would mean the second step after the current step).
    GSinMN

  • Get name fails on automounted volume

    here's the script:
    tell application "FileMaker Pro"
    activate
    set mysuperid to (cell "superid" of current record of document "ajoneuvot")
    if mysuperid > 0
    set mytarget to (cell "superid" of current record of document "ajoneuvot" & cell "g_kuvapaate" of document "ajoneuvot")
    else
    set mytarget to (cell "reknro" of current record of document "ajoneuvot" & cell "g_kuvapaate" of document "ajoneuvot")
    end if
    set mysource to choose file with prompt "Valitse kuva" of type "JPEG-kuva" without invisibles
    tell application "Finder"
    set myname to name of mysource
    duplicate mysource to folder "kuvaIN" of folder "vehicles" of startup disk with replacing
    if item mytarget of folder "kuvaIN" of folder "vehicles" of startup disk exists
    delete item mytarget of folder "kuvaIN" of folder "vehicles" of startup disk
    end if
    set name of item myname of folder "kuvaIN" of folder "vehicles" of startup disk to mytarget
    end tell
    end tell
    works great when the selected picture resides on a volume which is manually mounted or on local volume.
    We have people whose home folder resides on our X server and is automounted. If they try to select a picture from that automounted volume, the script fails with this error (translation from finnish):
    can not get name of alias
    volumename:thefilepath
    is the problem that the volume on which the picture resides is not mounted from finder (the icon is not visible on desktop)?
    thanks for any help

    So, no help?

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • Get name of startup disk JS

    I've got an applescript that get's the name of the startup disk using
    set macname to get name of startup disk
    I'm wondering if the same can be done in a javascript that runs in InDesign CS3....
    I need to make the scripts work across platforms and am new to Java Scripting.
    Thanks in advance for any feedback.....

    Hi Kasyan!
    This is a very old thread, but I came accross it while searching for a solution to put the name of my startup disk in front of a file path in the "ancient" notation where the folder hierarchy is represented with a ":" devider istead of the "/".
    For all lurkers here:
    When exporting to fixed layout EPUB using the epubFixedLayoutExportPreferences in InDesign CC 2014, you sometimes need this "ancient" notation when working on a Mac. In the epubFixedLayoutExportPreferences you can assign an array of file paths to external CSS and JS files. And these file paths are in the notation:
    "NameOfTheDisk:NameOfFolder:NameOfOtherFolder:external.css"
    Instead of:
    "/NameOfFolder/NameOfOtherFolder/external.css"
    If you do the folder devider with "/" and the root is simply written as a "/" at start of the file path, the export will fail to include the external CSS and JS files.
    See this thread in the Adobe InDesign EPUB Forum for example:
    Script EPUB export not including JS/CSS with epubFixedLayoutExportPreferences
    So let me thank you for this AppleScript snippet to get the name of the startup disk!!!
    I have added some lines of code to get the name of the InDesign app more accurately equal of its version number.
    I've tested this on my MacBook with OSX 10.7.5. Hope, that the AppleScript part will not break on later instances of Mac OSX.
    Here your code with my small addition:
    //Kasyan Servetsky
    //https://forums.adobe.com/message/2336686#2336686
    //Some small addition by Uwe Laubender
    var myDisk = GetStartUpDisk();
    $.writeln("The name of my start up disk is: \"" + myDisk + "\"");
    function GetStartUpDisk() {
        //Get the name of the application for Mac users:
        var myAppName = decodeURI(File(app.fullName).name).replace(/\.app$/,"");
        if (File.fs == "Macintosh") {
            var myScript = 'tell application \"Finder\"\r'
            myScript += 'set myStartUpDisk to get name of startup disk\r';
            myScript += 'end tell\r';
            /* CHANGED LINE: I replaced the original line (now commented out) with a more general approach */
            /* myScript += 'tell application \"Adobe InDesign CS' + ((parseInt(app.version.substr(0, 1)) - 2) + "") + '\"\r'; */   
            myScript += 'tell application \"'+myAppName+'\"\r';
            myScript += 'tell script args\r';
            myScript += 'set value name \"myScriptArgument\" value myStartUpDisk\r';
            myScript += 'end tell\r';
            myScript += 'end tell\r';
            app.doScript(myScript, ScriptLanguage.applescriptLanguage);
            var myStartUpDisk = app.scriptArgs.getValue("myScriptArgument");
        else if (File.fs == "Windows")  {
            var myStartUpDisk = String(Folder.system).charAt(1);
        return myStartUpDisk;
    Hm, now the question is: How can I get the name of a disk, that is not the startup disk?
    Could one of the AppleScripters here in the forum comment on that?
    All the best to you, Kasyan!
    Uwe

  • Droplet - getting name of dropped file

    This post does not need answering, as I have already solved the problem described. I have put it here in case it might help someone else save a bit of time. However, feel free to make comments and observations for further enlightenment of myself and others who are grappling with various aspects of AppleScript.
    Recently, I decided to learn to use droplets and open handlers. In my first attempt, I set out to modify an existing script which prompted the user to choose a file which is then processed in various ways. My aim was to drop the file on the new droplet version of the script, with the droplet identifying the file automatically, and have it run as before from there onwards. So far, through trial and error and a fair bit of internet searching, I have been able to work out most things in a reasonably short time. One that took me a while involved getting the name of the file which is dropped onto the droplet - the file name could be anything, but the script needed its name for the various things which happen in the script.
    I quickly discovered that a droplet can quite happily and easily give a list of the names of files inside a folder which is dropped onto it. When it comes to just one single file, it took a bit of work.
    I started off with something like this (with a few variations):
    (the display dialog bit is there to show if I got exactly what I wanted - it's not necessary for the correct running of the droplet, but droplets don't have "Result" and "Event Log" available for seeing what's happening)
    +on open Dropped_File+
    +tell application "Finder"+
    +set NameOfFile to name of Dropped_File+
    +display dialog NameOfFile+
    +end tell+
    +end open+
    There was usually an error message such as: Can't get name of {alias "Macintosh HD:Users:username:Desktop:filename.txt"}, or another one about not being able to make the acquired information into the right data type. Generally I was getting the complete pathway of the file, but couldn't separate out what I wanted from the rest of it.
    As part of my looking for a solution, I tried duplicating the file and getting the name of the copy. Success, in the sense that I could get the name of the copy.
    +on open Dropped_File+
    +tell application "Finder"+
    +set CopyOfFIle to duplicate Dropped_File to desktop+
    +set NameOfCopyOfFIle to name of CopyOfFIle+
    +display dialog NameOfCopyOfFIle+
    +end tell+
    +end open+
    After more experimentation I found the "info for" command (in StandardAdditions), and ended up with the following successful droplet:
    +on open Dropped_File+
    +tell application "Finder"+
    +set NameOfFile to (name of (info for Dropped_File))+
    +display dialog NameOfFile+
    +end tell+
    +end open+
    I hope this saves somebody some time. About a third of my scripting attempts are usually assisted unknowingly by someone else who has been trying something similar and, having succeeded, posted their results online for others to benefit from.

    Hi Pierre,
    I tested both at the same time with the following code:
    +on open Dropped_File+
    +tell application "Finder"+
    +set Name1OfFile to name of item (item 1 of Dropped_File as alias)+
    +display dialog Name1OfFile+
    +set Name2OfFile to name of (item 1 of Dropped_File as alias)+
    +display dialog Name2OfFile+
    +end tell+
    +end open+
    Both versions gave the desired result - just the name of the file - whereas when I had tried using "as alias" (obviously not in the same place and not using "item 1 of") I had received error messages. From memory, I think I had tried "name of (item Dropped_File) as alias".
    I "fiddled" with your suggestion a little, and found that the following (omitting the "item" and "item 1 of") also works:
    +on open Dropped_File+
    +tell application "Finder"+
    +set Name1OfFile to name of item (Dropped_File as alias)+
    +display dialog Name1OfFile+
    +set Name2OfFile to name of (Dropped_File as alias)+
    +display dialog Name2OfFile+
    +end tell+
    +end open+
    It looks the correct placement and usage of "as alias" did the trick.
    Thank you very much for taking the time to examine the problem and come up with a solution which should work equally well under both System 10.4 and 10.5.
    Message was edited by: Steven Jones

  • How to get name or unix id of last switched System Events process?

    Hello
    I am writing a script to be used as an idle function to send a command to a process as soon as it's not frontmost anymore. So far, I can figure how to get the unix id or name of the frontmost process, but not of the previous process . Here is what I have:
    on idle {}
    my handleProcesses()
    return 5 --- '5' tells idle () to run every 5 seconds.
    end idle
    on handleProcesses()
    tell application "System Events"
    set FrontApp to (get name of every process whose frontmost is true)
    set PrevApp to (get name of previous process)
    end tell
    --- my command here, like tell PrevApp to hide...
    end handleProcesses
    My problem is that "previous process" is not in the System Events dictionary. I cannot use "frontmost if false" either, because this would return all other opened applications, not just the previous one.
    I know one partial solution would be to use Command-Tab, get the name of frontmost, and use Command-tab again. But, it's not really pratical nor elegant.
    What I need is a function which can get my frontmost process name (which is easy), and return it when the process is inactive (no more frontmost).
    Thanks.
    Vic

    You can do what you want if you maintain a record yourself of what used to be frontmost:
    tell application "System Events"
    set FrontApp to (get name of every process whose frontmost is true)
    set lastFrontApp to FrontApp
    repeat while FrontApp = lastFrontApp
    set FrontApp to (get name of every process whose frontmost is true)
    end repeat
    set BackApps to (get name of every process whose frontmost is not true)
    if lastFrontApp is in BackApps then
    --the app is open in the background
    else
    --the app was closed
    end if
    end tell

  • How to get name of selected image?

    Hello ,
    I want the name of selected image.I have PDEImage and PDEElement of selected image.
    How to get the name of selected image?is it possible to get name of image on document?
    please,help me.

    That information is not required to be stored in the PDF.  It present, it could be present in the XMP-based metadata of the image.
    Consult ISO 32000-1, ISO 16684-1 and the XMP specification for details.

  • How to get name of sbRIO programatically

    How to get "name" and "Comment" of sbRIO which I write to sbRIO-9602 in MAX in Identification box (Model, Serial number, MAC address, Name)?
    Solved!
    Go to Solution.

    That shows:
     - IP settings
          - IP adress:        136...etc.
          - DNS name:      MyMaster5                   - THAT IS WHAT I NEED, just in wrong place - in MAX it is not in IP settings, that's why i didn't searched for it there.
          - subnet mask    255.255.255.0
          - gateway          136...
          - DNS server      136...
     - MAC address        00800...
     - serial number        16....
     - system state        Running
     - model name         sbRIO-9602
     - model code          7373
     - password protected restarts?    T/F
     - halt if TCP/IP fails?                   T/F
     - locked?                                   T/F
     - use DHCP?                             T/F
    Still there is no "comment" as in MAX. But that's not so important now.
    I have LW Development system 2009 SP1 Profesional, Realtime Development 2009 SP1
    Thanks very much!

  • How to get name of table from front end

    Hi,
    How to get name of table from front end in EBS 11i?
    thanx
    Ashish

    Hi
    Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
    I then use the following menu functions (this will also give you additional information, like column details).
    1) Open Forms
    2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
    3) Change "Block" to "System"
    4) Change "Field" to "Last_query"
    The system will populate the "Value" field with the query that was executed in order to populate the form.
    Regards
    Frank

  • In bar graph how should we get name of diminsion on perticular bar in labwindow/CVI ?

    in bar graph how should we get name of  diminsion on perticular bar in labwindow/CVI ?

    Can you explain your question a bit more? Can you add an example of what you want to obtain?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Applescript can't get name of front window

    The AppleScript support seems broken or unreliable (at least on OSX 10.10.1).
    For example, this little, very basic script worked in Firefox 33 but now (34?, 35 or 36) NOT anymore:
    tell application "Firefox"
    name of front window
    end tell
    ==>
    error "plugin-container got an error: Can’t get name of window 1." number -1728 from name of window 1
    Hint: If you check the output of the next applescript snippet, you see that the 'windows' don't even get a correct id.
    tell application "Firefox"
    windows
    end tell

    A further hint (tested on firefox version 35 and 36):
    In the script, application 'Firefox' gets replaced by 'plugin-container' when compiling the script !!!

  • Getting name of action from action guid

    Hi ,
    Can we get name of action excuted from the action guid generated at runtime ... is there any table or someway we can get this ?
    Thanks Vaibhav

    Hi,
    You can refer the table PPFTTRIGG in CRM.
    This will list the action profile and action definitions based on the GUID details.
    Regards,
    PP

Maybe you are looking for

  • My early 2008 has a faulty  NVIDIA GeForce 8600M GT GPU.

    A random day my early 2008 MacbookPro could not turn on its display when i powered it on. I sent it to Apple and they told me that it has a faulty GPU. (and that it was a known issue for the "NVIDIA GeForce 8600M GT") But there have been 4 years and

  • IMac Summer 2000 G3 won't start up. No green light!

    Our beloved old iMac (listed below) has simply died on us. The green power light won't light up and we get no sound when it's pressed, nothing. At first it blinked then shut down and now won't blink anymore. All I get is a blank screen as if no power

  • Acrobat 9 Pro Forms - Limited Document Editing Features

    Hi I am unable to delete pages from a pre existing pdf document.  Using the pull down menu in Document Design mode all sub menu  features are disabled (greyed out). I haved changed Edit-Preferences to 'View docs in PDF/A mode to Never. But this does

  • Testing Server / 'Live View' not working

    Hey guys, I'm trying to create my first e-Commerce site in Business Catalyst and having a bit of an issue with setting up testing. I've downloaded multiple basic templates from 'BC' and they all seem to be giving me the same issue. Issue: When using

  • Font in pdf and in Ai are different. Same file but different font.

    Hi I have trouble with font in illustrator and pdf. A customer sent me both Ai and Pdf files, the text are totally different. When I open the illustrator there is one font (Arial Narrow Bold), but when i view the pdf using adobe acrobat the text has