I need some assistance to create a custom tool that will allow me to do the following.
1. Delete all the User profile folders on a remote computer from the Documents and Settings folder on that computer.
2. I want to avoid deleting 4 folders (on XP) These folders are All Users,Default User,LocalService and NetworkService.
3. I would also like to be able to check if a user is logged on and prevent this user's profile folder from being deleted as well.
4. I would like to use PSEXEC of course as I want the process to use the remote computer's processor to do the work and not my own.
5. I must be able to run this against multiple computers at once.
Any Ideas?
Thanks for the help
1. Delete all the User profile folders on a remote computer from the Documents and Settings folder on that computer.
2. I want to avoid deleting 4 folders (on XP) These folders are All Users,Default User,LocalService and NetworkService.
3. I would also like to be able to check if a user is logged on and prevent this user's profile folder from being deleted as well.
4. I would like to use PSEXEC of course as I want the process to use the remote computer's processor to do the work and not my own.
5. I must be able to run this against multiple computers at once.
Any Ideas?
Thanks for the help
Comment