hainsNET
asked on
Remote removal of old roaming profiles
Hi,
Am trying to setup a batch from the server that will interrogate each workstation on the domain and then remove the all romaing profles older than (x) days as parsed to the batch file. It would need to exclude all the important/system ones, but those of "username.domainame".
I can almost manage this, but need to know how to delete the entry from Control Panel; System; Advanced; User Profiles as well - to clean it all up properly.
Has anybody setup anything like this before to clean up their workstations?
Greg
Am trying to setup a batch from the server that will interrogate each workstation on the domain and then remove the all romaing profles older than (x) days as parsed to the batch file. It would need to exclude all the important/system ones, but those of "username.domainame".
I can almost manage this, but need to know how to delete the entry from Control Panel; System; Advanced; User Profiles as well - to clean it all up properly.
Has anybody setup anything like this before to clean up their workstations?
Greg
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The 'User Profile Hive Cleanup Service' isnt for cleaning up or removing profiles, It is meant for resolving unresolved logoffs/hangs that are sometimes a problem with roaming profiles. A better Idea would be to enable the group policy of delete cached profiles.
Oh sorry, I didnt mean that it was for cleaning up the profiles I agreed with you on delprof for that, but what it does do is help prevent those profiles from not getting left behind in the first place, including when you have the GPO set.
http://windowsitpro.com/article/articleid/42257/whats-user-profile-hive-cleanup-service-uphclean.html
zf
http://windowsitpro.com/article/articleid/42257/whats-user-profile-hive-cleanup-service-uphclean.html
zf
ASKER
Between these two options I have attained the info I need. Thanks everybody. Greg.