Corrupt files

R

Ray

Hi there,

One of our users has some corrupt files on his XP computer, I mean, we could
not copy those files for some reason, the hard drive is good, but if copying
the whole folder, the copy process would stop by the corrupt, what's the
easy way to delete them or ignore them when copying.

Thank you.
 
D

Dave Patrick

If you suspect file system corruption. After backup you might try running;
chkdsk /r
from the recovery console command line. (/r implies /f and /p)

To start the Recovery Console, start the computer from the Windows XP
CD-Rom. At the "Welcome to Setup" screen. Press F10 or R to repair a Windows
XP installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi there,
|
| One of our users has some corrupt files on his XP computer, I mean, we
could
| not copy those files for some reason, the hard drive is good, but if
copying
| the whole folder, the copy process would stop by the corrupt, what's the
| easy way to delete them or ignore them when copying.
|
| Thank you.
|
| --
| Ray
|
| MCSE, MCDBA, MCP, MCSE+I, MCP+I
|
|
|
 
G

Guest

If you receive a "this file could not be copied, do you want to cancel the
operation" and you have a "Yes / No / Skip" option, hold shift while you
click Skip. This will mean "skip all [with the problem]".

Or you can copy from the command line, using the options that allow you go
to control how it bypasses errors file. My favorite is the option for
"network restartable mode" which finishes copying the files over the network
even if there's a temporary break in communication -- something that
dragging-and-dropping can't do.

Just use XCOPY /? at the command prompt to see all the great switches. This
command is also great for batch files, if you have the need, to copy files to
other devices or network locations.


__________________________
Shawn
 
R

Ray

In fact, the file system is OK, the system is normal too. Just several files
could no be copied.
 
R

Ray

There is no such "Yes/No/Skip" dialog, the error dialog only with a "Ok"
button, and after clicking it, windows explorer stops copying.

I'll try to copy it by XCOPY, but I don't know whether XCOPY supports long
filename. Thanks for the idea.

--
Ray

MCSE, MCDBA, MCP, MCSE+I, MCP+I


Shawn Keene said:
If you receive a "this file could not be copied, do you want to cancel the
operation" and you have a "Yes / No / Skip" option, hold shift while you
click Skip. This will mean "skip all [with the problem]".

Or you can copy from the command line, using the options that allow you go
to control how it bypasses errors file. My favorite is the option for
"network restartable mode" which finishes copying the files over the
network
even if there's a temporary break in communication -- something that
dragging-and-dropping can't do.

Just use XCOPY /? at the command prompt to see all the great switches.
This
command is also great for batch files, if you have the need, to copy files
to
other devices or network locations.


__________________________
Shawn




Bert Kinney said:
Hi Ray,

What type of files are they?
 
R

Ray

I didn't try to rename it, cannot be copied, that's my problem. I wanna back
up those good files without copying them.
 
D

Dave Patrick

Seems contradictory. If the files are corrupt as you say then yes there is
file system corruption.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| In fact, the file system is OK, the system is normal too. Just several
files
| could no be copied.
|
| --
| Ray
|
| MCSE, MCDBA, MCP, MCSE+I, MCP+I
 
G

Guest

XCOPY supports long file names, as long as you use quotes where you should.
It's very versitile and makes backing up great... getting the command right
takes some experimenting though to do exactly what you want it to do without
interuptions.

________________
Shawn
 
B

Bert Kinney

The reason I mentioned it was, that sometimes bad file name can cause
coping problems. It is certainly worth a try.
 
R

Ray

Thanks, but I don't think filename is the reason, files in different folders
could not be read.
 
R

Ray

No contradictory, I scanned the disk, everything is fine, but Windows
Explorer could not copy the local files as Administrators.

I checked deeply, the files belonged to some invisible user (s-xxxx...), the
user create those files by a local user he's deleted.
 
R

Ray

Those files were created by a local user that the computer owner has
deleted, that is, the owner of the files was s-xxxx..., I replaced the ower
with Administrators, every files can be accessed.
 
D

Dave Patrick

Then you mis-identified as corrupt (see your subject line).
Explorer|"folder"|File|Properties|Security|Advanced|Owner and take
ownership.


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| No contradictory, I scanned the disk, everything is fine, but Windows
| Explorer could not copy the local files as Administrators.
|
| I checked deeply, the files belonged to some invisible user (s-xxxx...),
the
| user create those files by a local user he's deleted.
|
| --
| Ray
|
| MCSE, MCDBA, MCP, MCSE+I, MCP+I
 
R

Ray

hehe, that's because I don't know that's ownership problem before (one year
ago), if I knew that, the problem might be solved. I thought they were some
corrupt files in my memory.
 
D

Dave Patrick

That's fine but your statements in this thread were contradictory (corrupt/
not corrupt) which makes it difficult for us to troubleshoot. :)

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| hehe, that's because I don't know that's ownership problem before (one
year
| ago), if I knew that, the problem might be solved. I thought they were
some
| corrupt files in my memory.
|
| --
| Ray
|
| MCSE, MCDBA, MCP, MCSE+I, MCP+I
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top