top of page

backup mode for robocopy

When using robocopy command in Windows to copy files, note that if you are an admin you can use the /B switch to copy files from directories for which you don't have access. So a command like this:

robocopy C:\foofolder C:\newfolder \B

. . . will bypass the standard rights permissions used in the NFTS file system. This backup mode /B switch will work if a Windows account has SeBackupPrivilege. This is an admin right that allows the copy command to be run without Windows checking to see if the user has rights to copy data to a location.

bottom of page