Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have several images I created using Sysprep and would like to be able to quickly find out which image was used on my computers. It would be time-consuming to go into the registry, navigate to "HKEY_LOCAL_MACHINE\SYSTEM\Setup" and read the "OEMDuplicatorString" value on each computer. It would be much faster if I had a program or script that would just display this information. Does such a tool exist?

Maybe use VB Script. This should get you going in the right direction: http://www.cruto.com/resources/vbsc...
-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.comPaid Tech Support: Black Diamond

Thank you Ryan, I was able to write this script:
---------------------
Const HKEY_LOCAL_MACHINE = &H80000002strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")strKeyPath = "SYSTEM\Setup"
strValueName = "OEMDuplicatorString"
objRegistry.GetMultiStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,arrValuesIf IsNull(arrValues) Then
Wscript.Echo "This computer seems to have been installed from scratch."
Else
Wscript.Echo "This computer's Sysprep identification string is:" & VbCr & VbCr & arrValues(0)
End If
---------------------

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |