WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

xcopy problems

 
   Home -> Windows -> Help & Support RSS
Next:  XP home "acccess denied"  
Author Message
Guido

External


Since: Nov 16, 2007
Posts: 2



(Msg. 1) Posted: Fri Nov 16, 2007 2:10 pm
Post subject: xcopy problems
Archived from groups: microsoft>public>windowsxp>help_and_support (more info?)

We have been using xcopy with the switches to perform backups to an external
usb hard drive.

It backups up a number of files except Outlook pst files, etc

When analysing further, the problem is to do with sharing violation.

Before it gets to backup certain files it encounters a sharing violation and
it stops.

Is there a way to make xcopy work properly and avoid sharing violation
problems.

Your help is appreciated.

Regards,

Guido
Back to top
Login to vote
Mark L. Ferguson

External


Since: Dec 17, 2006
Posts: 1747



(Msg. 2) Posted: Fri Nov 16, 2007 2:19 pm
Post subject: RE: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Xcopy has switches to copy hidden and system files. Perhaps you failed to use
one of those.
If no help, the id used to issue the xcopy command can 'take ownership' of
the identity folders.
Q308421 - HOW TO Take Ownership of a File or Folder in Windows XP:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q308421
--
helpful? click "Yes" button. Voting helps the web interface.
http://www.microsoft.com/windowsxp/expertzone/newsgroups/reader.mspx?d...icrosof
Mark L. Ferguson



"Guido" wrote:

> We have been using xcopy with the switches to perform backups to an external
> usb hard drive.
>
> It backups up a number of files except Outlook pst files, etc
>
> When analysing further, the problem is to do with sharing violation.
>
> Before it gets to backup certain files it encounters a sharing violation and
> it stops.
>
> Is there a way to make xcopy work properly and avoid sharing violation
> problems.
>
> Your help is appreciated.
>
> Regards,
>
> Guido
>
Back to top
Login to vote
Shenan Stanley

External


Since: Mar 03, 2005
Posts: 5972



(Msg. 3) Posted: Fri Nov 16, 2007 5:01 pm
Post subject: Re: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Guido wrote:
> We have been using xcopy with the switches to perform backups to an
> external usb hard drive.
>
> It backups up a number of files except Outlook pst files, etc
>
> When analysing further, the problem is to do with sharing violation.
>
> Before it gets to backup certain files it encounters a sharing
> violation and it stops.
>
> Is there a way to make xcopy work properly and avoid sharing
> violation problems.
>
> Your help is appreciated.


Not sure what you are going for...

You are going to get those 'sharing violations' if the file in question is
*in use*.
You can utilize the /C switch for XCOPY to ensure it just keeps on going
anyway, however.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
Back to top
Login to vote
Rob

External


Since: Nov 16, 2007
Posts: 1



(Msg. 4) Posted: Fri Nov 16, 2007 5:19 pm
Post subject: Re: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 16, 6:49 pm, "Mark L. Ferguson" wrote:
> lol
>
> --
> Mark L. Ferguson
> e-mail subject line must include "QZ" or it's deleted
> ."Patrick Keenan" wrote in message
>
>
> Of course, if this is automated, you're going to upset
>
>
>
> > somebody who is working late and in the middle of writing an epic email.- Hide quoted text -
>
> - Show quoted text -

Xcopy is lousy stop using it and replace it with Robocopy.exe
Check it out. You can download it from:
http://technet.microsoft.com/en-us/windowsserver/bb693323.aspx
Back to top
Login to vote
Patrick Keenan

External


Since: Feb 02, 2005
Posts: 2076



(Msg. 5) Posted: Fri Nov 16, 2007 6:44 pm
Post subject: Re: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Guido" wrote in message

> We have been using xcopy with the switches to perform backups to an
> external
> usb hard drive.
>
> It backups up a number of files except Outlook pst files, etc
>
> When analysing further, the problem is to do with sharing violation.
>
> Before it gets to backup certain files it encounters a sharing violation
> and
> it stops.
>
> Is there a way to make xcopy work properly and avoid sharing violation
> problems.
>
> Your help is appreciated.
>
> Regards,
>
> Guido

This is common and pretty much expected if you're backing up PST files
while Outlook is open. It's not so much a problem with xcopy as with
people walking away and leaving Outlook running. Just close Outlook and
the problem goes away.

One of the other approaches to this is to kill the Outlook task before
running the backup. Of course, if this is automated, you're going to upset
somebody who is working late and in the middle of writing an epic email.

HTH
-pk
Back to top
Login to vote
Mark L. Ferguson

External


Since: Jul 05, 2007
Posts: 330



(Msg. 6) Posted: Fri Nov 16, 2007 6:44 pm
Post subject: Re: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

lol

--
Mark L. Ferguson
e-mail subject line must include "QZ" or it's deleted
..
"Patrick Keenan" wrote in message

Of course, if this is automated, you're going to upset
> somebody who is working late and in the middle of writing an epic email.
Back to top
Login to vote
SG

External


Since: Nov 13, 2007
Posts: 150



(Msg. 7) Posted: Fri Nov 16, 2007 11:52 pm
Post subject: Re: xcopy problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF...E7-96EE

Windows Server 2003 Resource Kit Tools
Quick Details
File Name: rktools.exe
Version: 2003
Date Published: 4/28/2003
Language: English
Download Size: 11.8 MB


All the best,
SG


"Rob" wrote in message

> On Nov 16, 6:49 pm, "Mark L. Ferguson" wrote:
>> lol
>>
>> --
>> Mark L. Ferguson
>> e-mail subject line must include "QZ" or it's deleted
>> ."Patrick Keenan" wrote in message
>>
>>
>> Of course, if this is automated, you're going to upset
>>
>>
>>
>> > somebody who is working late and in the middle of writing an epic
>> > email.- Hide quoted text -
>>
>> - Show quoted text -
>
> Xcopy is lousy stop using it and replace it with Robocopy.exe
> Check it out. You can download it from:
> http://technet.microsoft.com/en-us/windowsserver/bb693323.aspx
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows -> Help & Support All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
  Windows XP
 Windows Vista
 Windows Other
 Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Help Forum Terms of Service |
  • Link to WUGNET |
  • IT Support