http://www.dostips.com/forum/viewtopic.php?p=16251#p16251
abc0502 wrote:Hi Ed, sorry for PM u and i know u saidBut I won't deviate this topic any further,
But isn't the Process ID is a unique 16 letters & number and can not be duplicated like the mac address, so i tried that code using the WMIC CPU GET ProcessorId command and it workedCode: Select all
@echo off
cls
For /f "tokens=1" %%a in ('WMIC CPU GET ProcessorId ^|find /v "ProcessorId"') Do (
If %%a==XXXXXXXXXXXXXXXX ( echo ID Verified
) else ( echo Access_Denied )
)
pause
replace the Xs with ur ID number.