Computing.Net > Forums > Windows XP > defrag batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

defrag batch file

Reply to Message Icon

Name: vande
Date: November 19, 2008 at 07:53:02 Pacific
OS: Win XP
CPU/Ram: 2.4 quad core Intel
Manufacturer/Model: Dell, Dell, Dell
Comment:

We are running a batch file to kick off defrag on multiple domain machines everything is working great however it wont start defrag on the next PC in the batch file until the first ones is complete ...... defrag alone takes sometimes so any ideas?

Learning in progress..........


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: kev1234
Date: November 19, 2008 at 08:00:01 Pacific
Reply:

Yes. that's what batch file does.
Maybe you can split it into several files.

Good luck

NeoRouter - the network revolves around you


Report Offensive Follow Up For Removal

Response Number 2
Name: vande
Date: November 19, 2008 at 08:30:50 Pacific
Reply:

So with that said can you give me an exmaple of what you mena ? like can I make a batch file thats has a bunch of calls in it? it will call each individual batch file the kicks off defrag per %computer name%? or will each call wait until the call it calls is complete


Or does anyone know of a script writing tool then can do several lines at once?

Learning in progress..........


Report Offensive Follow Up For Removal

Response Number 3
Name: wanderer
Date: November 19, 2008 at 09:29:30 Pacific
Reply:

Have you considered just using the scheduler to schedule defrag on every workstation?
Why would you serial [one pc then another] defrag? That makes no sense.

Example of Oxymoron:

Person who is pro life and anti sex education.
Education is key to prevention. Prevent conception you prevent abortion.

Abstinence training clearly isn't working.


Report Offensive Follow Up For Removal

Response Number 4
Name: vande
Date: November 19, 2008 at 09:54:34 Pacific
Reply:

yes but i do not wish to visit each individual PS i want to implement a system wide job so to speak

Learning in progress..........


Report Offensive Follow Up For Removal

Response Number 5
Name: Dumbob
Date: November 19, 2008 at 10:18:07 Pacific
Reply:

This really should have been Posted in the Programming Forum.

Eyes right at top of screen or go to the Specialty Forums Button at the top.

There is nothing to learn from someone who already agrees with you.


Report Offensive Follow Up For Removal

Related Posts

See More



Response Number 6
Name: aegis
Date: November 19, 2008 at 14:39:22 Pacific
Reply:

To start the defrag use 'Start'. For example:

start defrag.exe

It will start the defrag and then continue on with the next command in the BAT file.


Report Offensive Follow Up For Removal

Response Number 7
Name: vande
Date: November 19, 2008 at 16:35:39 Pacific
Reply:

Thank you and sorry for posting in the wrong spot

Learning in progress..........


Report Offensive Follow Up For Removal

Response Number 8
Name: wanderer
Date: November 19, 2008 at 16:40:26 Pacific
Reply:

You didn't post in the wrong spot.

What you are doing is failing to understand pcs in a domain. You can create a group policy that when rolled out would have scheduled defrag on all pcs... and the beauty is you would never have to leave your desk.

Forget the batch file and concentrate on implementing a group policy.

Example of Oxymoron:

Person who is pro life and anti sex education.
Education is key to prevention. Prevent conception you prevent abortion.

Abstinence training clearly isn't working.


Report Offensive Follow Up For Removal

Response Number 9
Name: vande
Date: November 19, 2008 at 17:27:45 Pacific
Reply:

I understand making GPO's :) I'm actually typing this in my 70-299 class as we speak :) however at work there are seperate groups that deal with the Windows server end of the network.


I'm just the little pee on Desktop guy with a little bit of admin rights that would make a batch file implementing defrag accross multiple computers within that domain possible

Learning in progress..........


Report Offensive Follow Up For Removal

Response Number 10
Name: volume-control
Date: November 20, 2008 at 07:10:51 Pacific
Reply:

FWIW, at our engineering dept's computing labs, there is Diskeeper Administrator for control + desktop editions on the workstations for defragging. The whole thing is more or less automated. Sorry, but I don't know the specifics of the implementation since I am only a user, but the admins seem really pleased with this setup.


Report Offensive Follow Up For Removal
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: defrag batch file

Defragmenting Using Batch File www.computing.net/answers/windows-xp/defragmenting-using-batch-file/136038.html

Auto folder Batch file www.computing.net/answers/windows-xp/auto-folder-batch-file/145055.html

simple batch file www.computing.net/answers/windows-xp/simple-batch-file/149160.html