cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automate the removal of duplicate workstation and server objects.

Jump to solution

Hello,

Not sure if anyone else has been able to identify a way to automate the removal of duplicate workstation and server objects. Obviously, the process would have to be able to determine which object is deleted based on date or some other criteria.

Thank you all.

3 Solutions

Accepted Solutions
YashT
Employee
Employee
Report Inappropriate Content
Message 2 of 7

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

Hello @Glenn_Bolton ,

We do have an option to do that. first Do wake up agent to all the systems.

Then customize the server task to do the Job:

1. Default query "Duplicate Systems Name" > duplicate this query and click on edit.

2. when editing this query > go to filter > select filter as last communication > is not within the last 1 day> save it.

3. EPO> Menu > Server task > New > In actions select run query > query should be the one which you created > sub action > Delete systems.

As the systems are not communicating they will be deleted from EPO.

Was my reply helpful?
If you find this post useful, Please give it a Kudos! l Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Yash T

View solution in original post

cdinet
Employee
Employee
Report Inappropriate Content
Message 3 of 7

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

You can also set up a task for deleting inactive agents, but those are typically 45 day old systems.  I would suggest first try to find out why you are getting the duplicates to start with to get at the root of the problem.  There are several causes for that.  If you can't identify cause, I would suggest opening a ticket with McAfee

AD sync bringing in duplicates - kb89427

forceinstalls of the agent - kb86879

Agents in vdi mode not shut down properly - kb88533

 

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution
Thank you YashT...I will look into this. Much appreciated.

View solution in original post

6 Replies
YashT
Employee
Employee
Report Inappropriate Content
Message 2 of 7

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

Hello @Glenn_Bolton ,

We do have an option to do that. first Do wake up agent to all the systems.

Then customize the server task to do the Job:

1. Default query "Duplicate Systems Name" > duplicate this query and click on edit.

2. when editing this query > go to filter > select filter as last communication > is not within the last 1 day> save it.

3. EPO> Menu > Server task > New > In actions select run query > query should be the one which you created > sub action > Delete systems.

As the systems are not communicating they will be deleted from EPO.

Was my reply helpful?
If you find this post useful, Please give it a Kudos! l Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Yash T
cdinet
Employee
Employee
Report Inappropriate Content
Message 3 of 7

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

You can also set up a task for deleting inactive agents, but those are typically 45 day old systems.  I would suggest first try to find out why you are getting the duplicates to start with to get at the root of the problem.  There are several causes for that.  If you can't identify cause, I would suggest opening a ticket with McAfee

AD sync bringing in duplicates - kb89427

forceinstalls of the agent - kb86879

Agents in vdi mode not shut down properly - kb88533

 

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution
Thank you. I will look into this. Much appreciated.

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution
Thank you YashT...I will look into this. Much appreciated.

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

Hello YashT,

I set this up per your notes, but I was getting inaccurate and inconstant results when I ran the query.

The default policy returned a list of duplicated objects, but no date information. I added "Last Communications"  to the list of column information and that returned a list of objects with the current date and time...not the actual date and time that is displayed in System Tree when I sort for duplicates from there.

I then appended "Last Communicated" within the actual query and that returned inconsistent information. I am puzzled by this, but I have to move on. We are re imaging a lot of laptops so a semi automated way of removing these duplicated objects would be helpful.

Thank you

Glenn

Re: Automate the removal of duplicate workstation and server objects.

Jump to solution

I was able to work with  a member of the Professional Services Team to configure a Scheduled Task to run on my EPO server.

This task was configured to run a SQL query under the credentials of a dedicated service account.

The account has the correct levels of access to the EPO server and the ENT SQL Database.

The query identifies duplicated server / workstation objects based on the name. It then determines which object has the older date and time stamp and then it removes it from the database.

It works great.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community