Bigbruin.com
Home :: Reviews & Articles ::
Forum :: Info :: :: Facebook :: Youtube :: RSS Feed
Search  :: Register :: Log in
Force Defrag
Go To Page 1, 2  Next
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
LaTech
Ruthless TechTator


Joined: 15 Mar 2005
Posts: 532
Location: Missoula, MT

PostPosted: Thu, 13 Jul 2006 11:37:18    Post Subject: Force Defrag Reply with quote View Single Post

Question for server people out there...

I'm trying to see if it's possible to send a force (or script or something) from a server that will cause all the clients (preferably a list of them ) to do a defrag. Does anyone know if this is possible...or, if so, where I could look to figure out how to do this?

Thanks,

LT

_________________
" I reject your reality and substitute my own!" - Adam Savage - Mythbusters
Back to top
View user's profile Send private message
Little Bruin
Boo Boo

Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket
BeerCheeze
*hick*


Joined: 14 Jun 2003
Posts: 9285
Location: At the Bar

PostPosted: Thu, 13 Jul 2006 12:46:43    Post Subject: Reply with quote View Single Post

Login scripts, use something like PsExec from Sysinternals, Group Policies/Reg-settings.
Back to top
View user's profile Send private message
knight0334
Rated XXX


Joined: 22 Aug 2003
Posts: 2234
Location: Neither Here, Nor There

PostPosted: Thu, 13 Jul 2006 12:57:19    Post Subject: Reply with quote View Single Post

I've done this to all the WIndows machines I've build or maintained over the years... ....start a batch file that is copied to each machine.

1. open note pad:
2. copy below to it

@echo
defrag C: -f

3. save as "****.bat" (you pick name)

then run it as a scheduled task at any given time.

you can also run Disk Clean Up from same batch file.

1. go to each machine and Run:
"cleanmgr /sageset:15" (check all desired options)

2. add to batch file(preferably before defrag line):
"cleanmgr /sagerun:15"

I used to schedule work machines to run it during the employee's lunch, and private machines to run it after 4am. After that batch file runs a couple nites in a row, it only takes a few minutes to complete.
Back to top
View user's profile Send private message
Modulok
Rated XXX


Joined: 19 Oct 2005
Posts: 2120
Location: New Jersey

PostPosted: Thu, 13 Jul 2006 13:14:44    Post Subject: Reply with quote View Single Post

Just make sure it runs while it is not being used by someone. That's not hard if you schedule it at night, but then you have the chance they shutdown the pc every night. ugh users suck
Back to top
View user's profile Send private message
knight0334
Rated XXX


Joined: 22 Aug 2003
Posts: 2234
Location: Neither Here, Nor There

PostPosted: Sat, 15 Jul 2006 19:35:06    Post Subject: Reply with quote View Single Post

Modulok wrote:
Just make sure it runs while it is not being used by someone. That's not hard if you schedule it at night, but then you have the chance they shutdown the pc every night. ugh users suck


For those that did shut theirs down, I pinned to their start menu a shortcut for them to run it every once in a while. All my clients knew the benefits of a defrag'd and cleaned up system - so my shortcut to the batchfile made their lives easier.
Back to top
View user's profile Send private message
Modulok
Rated XXX


Joined: 19 Oct 2005
Posts: 2120
Location: New Jersey

PostPosted: Sat, 15 Jul 2006 20:46:20    Post Subject: Reply with quote View Single Post

share your batch, maybe I'll use it on some old/slow pcs.

and GL getting users to remember to do the defrag, many of the users I support don't even empty deleted emails from outlook...EVER!
Back to top
View user's profile Send private message
knight0334
Rated XXX


Joined: 22 Aug 2003
Posts: 2234
Location: Neither Here, Nor There

PostPosted: Sat, 15 Jul 2006 21:40:38    Post Subject: Reply with quote View Single Post

Just unzip, extract to C: , then right-click-edit.

Change the "defrag" drives to fit your needs.



cleanup.zip
 Description:

Download
 Filename:  cleanup.zip
 Filesize:  168 Bytes
 Downloaded:  356 Time(s)

Back to top
View user's profile Send private message
Little Bruin
Boo Boo

Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket
knight0334
Rated XXX


Joined: 22 Aug 2003
Posts: 2234
Location: Neither Here, Nor There

PostPosted: Sat, 15 Jul 2006 21:41:53    Post Subject: Reply with quote View Single Post

before run it, be sure to

RUN> cleanmgr /sageset:15

Select the options you want.
Back to top
View user's profile Send private message
edvallie
Put Beer Here


Joined: 07 Aug 2005
Posts: 1255
Location: Computer

PostPosted: Sat, 15 Jul 2006 22:52:11    Post Subject: Reply with quote View Single Post

It would be extremely easy with Novell/Netware Login Scripts, all you would have to do is put in for it to execute the defrag utility. 1 easy line of code.
_________________
ABAP? What did you call me?
Back to top
View user's profile Send private message
Kilamon
Rated XXX


Joined: 22 Mar 2005
Posts: 811

PostPosted: Mon, 17 Jul 2006 10:51:19    Post Subject: Reply with quote View Single Post

I miss HPFS. It never required defrags and performed better than NTFS or FAT. Damn IBM and Bill for not pursuing OS/2!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software All times are GMT - 4 Hours
Go To Page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Contact Us :: On Facebook :: On Youtube :: Newsletter :: RSS Feed :: FAQ :: Links :: Sponsors :: Privacy Policy
Copyright © 2000 - 2023 Bigbruin.com - All rights reserved