MSFN Forum: [How-to] Automate drive maintenance - BETA - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[How-to] Automate drive maintenance - BETA Automate cleanup, chkdsk, & defrag Rate Topic: -----

#21 User is offline   GeneralMandible 

  • Major
  • PipPip
  • Group: Members
  • Posts: 223
  • Joined: 08-July 04

Posted 11 December 2006 - 06:09 PM

I'm looking at making some changes to this:
  • Emptying temp files for all user profiles
  • Defragging all local fixed disks
  • 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.


#22 User is offline   GeneralMandible 

  • Major
  • PipPip
  • Group: Members
  • Posts: 223
  • Joined: 08-July 04

Posted 23 May 2007 - 02:55 PM

View PostGeneralMandible, on Dec 11 2006, 06:09 PM, said:

I'm looking at making some changes to this:
  • Emptying temp files for all user profiles
  • Defragging all local fixed disks
  • 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.

#23 User is offline   GeneralMandible 

  • Major
  • PipPip
  • Group: Members
  • Posts: 223
  • Joined: 08-July 04

Posted 21 March 2008 - 11:15 AM

This is working on 2000 Pro & Server and 2003, now. I updated it a few months back.

#24 User is offline   Tarun 

  • Area 5 Investigator
  • Group: Super Moderator
  • Posts: 3,004
  • Joined: 27-January 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 March 2008 - 05:57 PM

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

Do you perform chkdsk before the defrags?

#25 User is offline   GeneralMandible 

  • Major
  • PipPip
  • Group: Members
  • Posts: 223
  • Joined: 08-July 04

Posted 24 March 2008 - 09:18 AM

View PostTarun, on Mar 21 2008, 04:57 PM, said:

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

#26 User is offline   Tarun 

  • Area 5 Investigator
  • Group: Super Moderator
  • Posts: 3,004
  • Joined: 27-January 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 March 2008 - 10:39 AM

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

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy