Page 1 of 1

Deleted Users Folders remaining

Posted: Thu Nov 15, 2012 10:47 am
by Darkhorse
Hi all

When i delete a user from the system their personal folder containing there views still remains, is there a work around in removing these folders? also the same occurs with cubes

thanks for reading

Re: Deleted Users Folders remaining

Posted: Thu Nov 15, 2012 10:55 am
by Paul Segal
You can manually delete these folders after deleting the user on TM1, but afaik there is no option to delete the folder when deleting the user. I guess you could wrap it all up in a TI process if you felt strongly enough about it.

Re: Deleted Users Folders remaining

Posted: Thu Nov 15, 2012 10:59 am
by Darkhorse
Paul Segal wrote:You can manually delete these folders after deleting the user on TM1, but afaik there is no option to delete the folder when deleting the user. I guess you could wrap it all up in a TI process if you felt strongly enough about it.

I also thought about this approach however theres already a a huge backlog of folders on the server, is there anyway of checking to see whats live and isnt and delte the "Clutter" or are we litterally stick manually removing the folders?

Re: Deleted Users Folders remaining

Posted: Thu Nov 15, 2012 11:18 am
by Paul Segal
It shouldn't be too difficult to write a batch or vbs job that checks against a list of valid users or other directories against the sub-directories under your data directory, and then deletes any that don't match. However, unless you really do have thousands, I wonder whether it's not better to do a one-off manual exercise and then bake deleting the directory at the same time as deleting the user into your process. There are any number of open source /free directory managers that will help you do the manual delete. Winmerge has been recommended in the past and could help with this.

Re: Deleted Users Folders remaining

Posted: Thu Nov 15, 2012 1:30 pm
by Darkhorse
hmm all great ideas guys thanks