Delete unused computer accounts/licenses
Updated: 16 Aug 2011 | 5 comments
This issue has been solved. See solution.
Hi all,
We've had a successful Ghost Solution Suite (2.5) for approximately 3-4 years now, and we are getting to the point where we are having to remove licenses for machines that we have decommissioned.
I've just had a massive list of machines which have been disposed of plonked on my desk.
Is there a batch method to remove computer accounts/licenses (machines that show up in the console), instead of me having to locate the architecture/platform of pc manually, check if it is in there etc.
Considering a few of my other posts, this one seems quite simple:)
james
Discussion Filed Under:
Comments
Have a look at the scripts
There's a script for doing bulk deletes (especially helpful because it doesn't have the broken UI problem the console has where you can't delete a machine referred-to by a task). The parameter to the script is just a regular expression on the machine names, but if you have other critera to use then you'd have to adapt the findClients() function in the script to do what you want.
Note, by the way, that if you delete a client from a console that's still running a client it re-adds itself to the default container so depending on exactly how you use the console and the volume of machines (and whether you use dynamic machine groups or hand-organized folders) it can sometimes be easier to strip the clients out in bulk, let them be re-discovered, and then refresh their inventory data so they sort into custom folders. The main reason *not* to do that would be if you use tasks with custom hand-assigned per-machine configurations instead of the normal "template" style; for those, the script will remove the machines from the tasks so their custom configs would vanish.
Thanks Nigel. Don't need to
Thanks Nigel.
Don't need to worry about the client rediscovery issue, as the machines are decommissioned.
Will take a look.
Hi Nigel, Wrote a front
Hi Nigel,
Wrote a front end/parser for the script, works a beauty, this will definitely get some use in the future.
james
I think Nigel would
I think Nigel would appreciate a "Mark as Solution" tick on his posting....;-))
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
It would definitely useful
It would definitely useful for the rest of the customers those will face same issue or having same query.
Regards,
Nitin
If you feel your issue has been addressed to, please use the "Mark as Solution" link for the relevant thread
Would you like to reply?
Login or Register to post your comment.