I've installed ePO 5 with agent 4.8 and have enabled VDI mode. I'm using Citrix Provisoning Services with a shared non persistent image.
Perhaps I'm missing something but I thought that using VDI mode prevented duplicate GUIDs (which it does, but then so did just deleting the registry key) and duplicate devices showing in ePO? Considering these VMs reboot at least once a day I'm soon going to end up with thousands of non-live devices showing in the console.
I've tried doing it the old fashioned way of writing in a persistent GUID based on the computer IP address at startup but for some reason this causes the agent and the server to stop communicating. At least with this method, my devices are managed but I have to go through and delete all the "old" devices on a daily basis.
Is this how it should behave? If so, is there a server task I can create to auto delete the old devices?
Right well I've setup a system task that runs every hour that deletes duplicate systems but that deletes the latest one as well. Searching on the forums found me this query which apparently will just delete ones that haven't communicated recently but I can't import it, it just errors so I guess there is something wrong with the formatting.
I've removed all spaces that shouldn't be there and fixed the " which never copy properly from web to notepad but still it won't import (says corrupt or unexpected format) .
<name language="en">Old Non Communicating Systems</name>
I'm experiencing the same behavior.. I was however able to get that query working.
<name>Old Non Communicating Systems</name>
<description>Lists all system names that appear in multiple System Tree locations that are older than X.</description>
hmm.. looks like it's removing portions of the query.. and there is no code option.. too bad.
Go to queries:
Select type table, sort by System name.
Chart: system and last communication
Filter: System Name --> Is duplicated
and last communication --> Not withing the last <insert your time here> (I chose one week)
Now create a server task to run this query.
Actions, Run query --> find your query.
Sub actions --> Delete Systems.
I have this server task run every day.Message was edited by: draker on 2/25/14 7:11:01 PM CST