Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

can the following robocopy command be used in safe mode?

Posted on 2014-07-29
7
586 Views
Last Modified: 2014-10-29
I am using "robocopy e:\ f:\ /COPYALL /E /R:1 /W:1 /ETA /xo" and there are a couple files that will not move. Is it safe to use Robocopy after booting into safe mode? Or is there a syntax attachment to show me which files and folders are not being copied?
0
Comment
Question by:reindeerauto
  • 3
  • 2
  • 2
7 Comments
 
LVL 12

Expert Comment

by:Chris
ID: 40226513
If you add "/NFL /NDL" to your robocopy command, robocopy will only list failed files, instead of listing every single file that's copied.

You will still see a summary of everything at the end so you'll be ale to see that everything has copied successfully, it just won't list out every file individually.
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 500 total points
ID: 40228821
The only way I know of is to use the command you have but to add the logging option and then once you have the log you do open it and do a search for the word "error" or "in use" to find the files. So to add logging add /log:C:\logfilename.log. Another option is to use the /MOVE option and see which files are left to determine which files/folders are not been moved. I suggest you do a /MOVE to a different location because I have found if files are already there it does not always remove them from the source
robocopy e:\ g:\ /COPYALL /E /R:1 /W:1 /ETA /MOVE
0
 

Author Comment

by:reindeerauto
ID: 40341397
So once I figure out what files did not copy is there a command to force them to move?
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 12

Expert Comment

by:Chris
ID: 40341401
Depends entirely on why they failed to move. They might have incorrect NTFS permissions, the destination path may be too long. You really aren't going to know until you run it.
0
 

Author Comment

by:reindeerauto
ID: 40341453
So I ran it with the "/NFL/NDL" addition and it showed the 5 files that failed to copy. They are all system volume information and it says that access is denied. Any suggestions on how to copy those over?
0
 
LVL 25

Expert Comment

by:Lionel MM
ID: 40341460
agreed once you see what is left look at the file permissions; folder permissions and file/folder attributes and see if any of those are preventing copying or moving
0
 
LVL 12

Expert Comment

by:Chris
ID: 40341480
You can usually ignore errors re. System Volume Information as these files will be specific to the volume you're copying them from (It stores files related to features such as system restore and DFSR).
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sccm importing drivers 4 44
Change administrator password on server 13 92
powershell script 9 63
Domain trust created by PDC name 6 34
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question