Jump to content

[How-to] Automate drive maintenance - BETA


Recommended Posts

Posted

How about this - GeneralMandible, would you perhaps place a disclaimer in the original post or change the topic title to include something like "BETA". At least that way unsuspecting people don't think that it's a fully finalized setup that'll work for everyone.

Hopefully that'll make more people happy, and encourage more bugtesting and fixing than what I've seen so far.


Posted

I don't need to worry, I live and breath scripting; the point is that it shouldn't be done like this.

For instance,

check if the service is running, if it isn't start it.

stop all running processes unless they are 'this', 'that' or 'the other'

dynamically create the drive letter to be used.

  • 2 months later...
Posted

I've made some changes to where it now has a prompt after extraction that asks if you want to install, view the ReadMe file, or cancel. It also deletes the profile (fixed path, but will change later) after the user logs back in. I would like to move this to a VB app, but it might be awhile.

  • 1 month later...
Posted (edited)

How can I modify date and time for the scheduler within the Scheduled Task. I want this to run at 11:59pm every Saturday. Can't find what file to modify to correct this.

never mind I found it and changed it. Thanks again and I look forward to assist with your Beta testing.

Thanks!

Edited by D8TA
  • 2 months later...
Posted

I'm looking at making some changes to this:

  1. Emptying temp files for all user profiles
  2. Defragging all local fixed disks
  3. Chkdsk on all local fixed disks

I also want to try to move it all to VBscript (no more REG, BAT, CMD files).

I'll post again when I have these three features added.

  • 5 months later...
Posted
I'm looking at making some changes to this:
  1. Emptying temp files for all user profiles
  2. Defragging all local fixed disks
  3. Chkdsk on all local fixed disks

I also want to try to move it all to VBscript (no more REG, BAT, CMD files).

I'll post again when I have these three features added.

I've updated the packages & I was able to accomplish all of these tasks. I finally sat down and looked at putting it into VB and it only took me about a week to get it "working." I still have some error handling to do, but it's working.

I switched the defrag to DirMS due to MS's inability to defrag large files.

  • 9 months later...
Posted

Just stumbled across this topic myself but admittedly I have not yet used this.

Do you perform chkdsk before the defrags?

Posted
Do you perform chkdsk before the defrags?

Yep,

Deletes temp files

Disables pagefile

Reboot

Chkdsk

Defrag

Enable pagefile

Reboot

Cleanup when you login - this step only takes a couple of seconds

Posted

Very nice, thank you for showing the order these occur in. :) Going to give this a shot on my server pc.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...