Announcement

Collapse
No announcement yet.

Custom Tool to delete profile folders from Documents and Settings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom Tool to delete profile folders from Documents and Settings

    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

  • #2
    Re: Custom Tool to delete profile folders from Documents and Settings

    I do have a tool that does clean up profiles on a remote computer is anyone is interested.

    Comment


    • #3
      Re: Custom Tool to delete profile folders from Documents and Settings

      MSD_GUY

      Could you share it?

      Comment


      • #4
        Re: Custom Tool to delete profile folders from Documents and Settings

        Tool that woks for me

        CMD /C delprof.exe /i /p /c:\\%E% & pause

        Download http://www.microsoft.com/downloads/detai...&displaylang=en

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎