Batch file for Disk Cleanup, Defragment and Delete Unwanted Profiles. RRS feed

  • Question

  • Hi,

    I need to create a single batch file to run on my desktops which could be able to do following tasks.

    * Disk Cleanup

    * Disk Defragment

    * Delete User profiles and related Registry Entries. (Including Domain User Accounts)

    **All desktops are running on Windows 7 Professional and  having only one partition (C: drive) only**

    I went through Google and found some batch scripts which can do only one or two above tasks.  I need to create one which can do above 3 tasks.

    Highly appreciated if someone could give me a support on this.


    Friday, November 8, 2013 5:26 AM