How to embed a version # into standard Win7 image?


  1. Posts : 3
    Win7 x64 Pro
       #1

    How to embed a version # into standard Win7 image?


    We'd like to create a way to identify the version of a corporate image. What is the best way to go about this and be able to query this information remotely? A registry key? Text file? At this point we only use Symantec Ghost to create the images, but no easy way after the machine has been restored of which version of an image is being used.

    Thanks!
      My Computer


  2. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #2

    Can't you jst rename the image file with the version name. In free Macrium you can do that.
      My Computer


  3. Posts : 3
    Win7 x64 Pro
    Thread Starter
       #3

    whs said:
    Can't you jst rename the image file with the version name. In free Macrium you can do that.
    The file name of the image is not the problem as I can tell the version # from that. I want to be able to tell what image version is on all the machines in the environment. We don't have SCCM or any other enterprise tools to always make sure each machine is at the same version.
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #4

    I'd go with a registry key. Something like ABC_Image_Version where ABC are the corporate initials. Then set the value to the image version.

    A txt file would also work.
      My Computer


  5. Posts : 3
    Win7 x64 Pro
    Thread Starter
       #5

    Ztruker said:
    I'd go with a registry key. Something like ABC_Image_Version where ABC are the corporate initials. Then set the value to the image version.

    A txt file would also work.
    That's kind of what I was thinking. I was also wanting to put it at HKLM/Software/Microsoft/Windows NT/Current Version. Do you see an issue with that? I don't think any corruption could happen from that.

    Thanks!
      My Computer


  6. Posts : 6,285
    Windows 10 Pro X64
       #6

    That should work. I tried it and was able to query it with reg query from a Elevated Command Prompt.

    C:\Users\rrkurtz>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ABC_Image_Version

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    ABC_Image_Version REG_SZ 1.2.3.4
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:43.
Find Us