Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Miscellaneous Utilities
  New Posts New Posts RSS Feed: Contig problem
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Contig problem

 Post Reply Post Reply
Author
Message Reverse Sort Order
Karlchen View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 June 2005
Location: Germany
Online Status: Offline
Posts: 5121
Post Options Post Options   Quote Karlchen Quote  Post ReplyReply Direct Link To This Post Topic: Contig problem
    Posted: 27 April 2007 at 3:21am
Originally posted by cosmotopper

Is there a way to get contig to not only make the files contiguous, but move them down to the first available open space,

Telling from the information given on the Contig Webpage the answer seems to be: sorry, no.

I assume "contig" was created as small utility to be used to defragment files quickly, but not in order to substitute large (commercial) packages which may be able to optimize free disk space as well.

Karl
Back to Top
cosmotopper View Drop Down
Newbie
Newbie
Avatar

Joined: 26 April 2007
Location: United States
Online Status: Offline
Posts: 3
Post Options Post Options   Quote cosmotopper Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2007 at 7:12pm
I was hoping contig would solve the big gap problem, but apparently not. Yes, I would like to defrag my filesystem, but my definition of defrag means compact & defrag. Is there a way to get contig to not only make the files contiguous, but move them down to the first available open space, so you don't end up with tiny slivers of file content scattered over the filesystem?
Back to Top
greg.bakker View Drop Down
Newbie
Newbie
Avatar

Joined: 20 February 2006
Online Status: Offline
Posts: 3
Post Options Post Options   Quote greg.bakker Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2007 at 10:53am
Just thought I would reply here.  I was also getting the "Access is Denied" error when I was running contig.exe on a file on one of our servers.  I took  namrehto's advice and  ran Process Monitor while I ran contig.  The detail of one of the process events said "Control: FSCTL_IS_VOLUME_MOUNTED".   That made me wonder if contig did  not allow defragging a file over a mapped drive letter.   The command line  I had been using was something like:

contig R:\Access\schedule.mdb

R:\ is mapped to the E:\Apps folder on this server.  When I tried it like the following it worked flawlessly:

contig E:\Apps\Access\schedule.mdb

Hope this helps somebody else out there.


Edited by greg.bakker - 18 April 2007 at 10:54am
Back to Top
namrehto View Drop Down
Senior Member
Senior Member


Joined: 23 June 2005
Location: Scotland
Online Status: Offline
Posts: 3861
Post Options Post Options   Quote namrehto Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 8:02am
As a Scheduled Task could it have been running in the system account and hit the EULA prompt issue?
Gil
Back to Top
redcrow View Drop Down
Newbie
Newbie


Joined: 21 December 2006
Location: United States
Online Status: Offline
Posts: 2
Post Options Post Options   Quote redcrow Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 7:59am
Thanks, you pointed me in the right direction. The problem I was having this morning was that I was running it on my user acct, not my admin acct. I reran the (admin) batch job and it ran fine. Still don't know why it didn't run correctly last night.
Back to Top
namrehto View Drop Down
Senior Member
Senior Member


Joined: 23 June 2005
Location: Scotland
Online Status: Offline
Posts: 3861
Post Options Post Options   Quote namrehto Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 7:13am
By the sounds of things Contig is running okay but is hitting an access rights problem on the file(s) you are asking it to defrag. If the cause is not obvious, try running Process Monitor and watching what Contig is attempting to do. 
Gil
Back to Top
redcrow View Drop Down
Newbie
Newbie


Joined: 21 December 2006
Location: United States
Online Status: Offline
Posts: 2
Post Options Post Options   Quote redcrow Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 7:03am
Okay, I tried Contig and it worked great for a few days. I'm running it at night on  a 2k box in a scheduled batch job. Last night it errored out. When I run contig this morning, I get the EULA box (which I have already answered when I ran it the first time interactively). I wasn't sure whether to accept or reject the EULA so I ^C'd from the command line.
Now when I run contig, it just says "Access is denied". I found the EulaAccepted key in the registry, and changing the value or deleting the key allows the EULA box to come up, but now, even if I answer "Accept", contig still says "Access is denied". I also tried copying a new copy of the exe.

How do I get past the denial setting?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down