Duke5A Posted April 10, 2012 Posted April 10, 2012 I was hit with this issue using Endpoint Protection 12.1 this past week. I guess there is a bug in the client where it will not generate a new unique hardware ID from a cloned image. As a result, after imaging about 100 machines with Windows 7 and SEP 12.1, they all had the same ID and the Endpoint server console believed them all to be the same system. Of course this created all sorts of issues that needed to be fixed before we returned from break. Nothing like having to work remotely over a major holiday... Anyways, I wrote a script to fix the issue and thought I should share it to help anyone else having the same issue. The support article detailing the problem can be read here. Enterprise Support - Symantec Corp. - Duplicate Hardware IDs result in only one client showing up in the Symantec Endpoint Protection Manager for multiple systems Const HKEY_LOCAL_MACHINE = &H80000002 strBlank = "" strHWKeypath = "SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\SYLINK\SyLink" strHWValueName = "HardwareID" strVersionKeyPath = "SOFTWARE\Symantec\Symantec Endpoint Protection\CurrentVersion" strVersionValueName = "PRODUCTVERSION" Set objRegistry = GetObject("winmgmts:\\" & "." & "\root\default:StdRegProv") objRegistry.GetStringValue HKEY_LOCAL_MACHINE,strHWKeypath,strHWValueName,strHardWareID If strHardWareID = "2A1807A13128598D89F43A0A625D18DF" Then 'Get OS Version Set objWMI = GetObject("winmgmts:").InstancesOf ("Win32_OperatingSystem") For Each OSItem In objWMI strOSVersion = OSItem.Version strOSVersion = Left(strOSVersion, 1) Next 'Get SEP Version objRegistry.GetStringValue HKEY_LOCAL_MACHINE,strVersionKeyPath,strVersionValueName,strVersion strVersion = Left(strVersion, 2) 'Deduce Path If strVersion = "11" Then strpath = "C:\Program Files\Common Files\Symantec Shared\HWID" ElseIf strVersion = "12" Then If strOSVersion = "5" Then strPath = "C:\Documents and Settings\All Users\Application Data\Symantec\PersistedData" ElseIf strOSVersion = "6" Then strPath = "C:\ProgramData\Symantec\Symantec Endpoint Protection\PersistedData" End If End If 'Blank the hardware id reg key objRegistry.SetStringValue HKEY_LOCAL_MACHINE,strHWKeypath,strHWValueName,strBlank 'Delete the file Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFile(strpath & "\sephwid.xml") End If Replace the hardware ID in the strHardWareID string with whatever your duplicate hardware ID is and set the script up in GPO as a start-up or shutdown script. I hope this helps someone out there. 1
FN-GM Posted April 10, 2012 Posted April 10, 2012 Well done dont use SEP but others will find it handy. Maybe its something for the blog? 1
meastaugh1 Posted April 10, 2012 Posted April 10, 2012 I was hit with this issue using Endpoint Protection 12.1 this past week. I guess there is a bug in the client where it will not generate a new unique hardware ID from a cloned image. As a result, after imaging about 100 machines with Windows 7 and SEP 12.1, they all had the same ID and the Endpoint server console believed them all to be the same system. Did you run ClientSideClonePrepTool before sysprep? This tool will generalise the SEP install and avoid these duplicate ID issues. www.symantec.com/business/support/index?page=content&id=HOWTO54706 1
Duke5A Posted April 10, 2012 Author Posted April 10, 2012 Did you run ClientSideClonePrepTool before sysprep? This tool will generalise the SEP install and avoid these duplicate ID issues. Enterprise Support - Symantec Corp. - How to prepare a Symantec Endpoint Protection 12.1 client for cloning No I didn't, but I will in the future. The script was written more to fix existing machines that had duplicate hardware IDs. What really throws me for a loop is we never had this issue with the 11.x versions we ran, and I at least never noticed it for short time we ran 12.0. Live and learn....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now