08-21-2011, 09:08 AM
Give this script I created a shot then
It will create an output of the ID to a text file in the same location/directory you execute the script.
Code:
Set wmi = GetObject("winmgmts:")
For Each cpu in wmi.InstancesOf("Win32_Processor")
MsgBox "CPU: " & cpu.ProcessorID, 64, "HWID Generation"
Set WriteFile = CreateObject("Scripting.FileSystemObject")
Set Writer_ = WriteFile.OpenTextFile("Generated_ID.txt", 8, True)
Writer_.WriteLine("# HWID Generation:" & _
vbNewLine & _
"-- CPU: " & cpu.ProcessorID)
Writer_.Close
SET Writer_ = Nothing
SET WriteFile = Nothing
Next
It will create an output of the ID to a text file in the same location/directory you execute the script.