Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Delete unused computer accounts/licenses

Updated: 16 Aug 2011 | 5 comments
logik's picture
0 0 Votes
Login to vote
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

Nigel Bree's picture
10
Aug
2011
0 Votes 0
Login to vote

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.

logik's picture
10
Aug
2011
0 Votes 0
Login to vote

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.

logik's picture
15
Aug
2011
0 Votes 0
Login to vote

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

EdT's picture
16
Aug
2011
0 Votes 0
Login to vote

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.

Nitin's picture
16
Aug
2011
0 Votes 0
Login to vote

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