SOLVED: How To Copy Permissions and Files At the Same Time

I had a bad VHD that I was unable to copy, I would get CANNOT READ SOURCE… after about 30%.  Then I tried to build a new VHD using the COPY CONTENTS… function in HyperV but that failed at about 30% too.  Now I was getting worried.  Fortunately the VHD would start and function without apparent error in its HyperV VM, so I could copy the files and folders but who wants to rebuild all the permissions… not…

SOLVED: How To MOVE Files Based On Their Age using RoboCopy

Below is a script of how to MOVE files to a folder based on their age: ROBOCOPY <source> <destination> /MOVE /E /MINAGE:<number_of_days> /CREATE /R:1 /W:1 /XD <folders_you_want_to_omit> Sample: ROBOCOPY E:\ E:\_ToBeDeleted /MOVE /E /MINAGE:21 /CREATE /R:1 /W:1 /XD E:\COMPANY_PICS E:\_ToBeDeleted The translation of this command is: ROBOCOPY E:\ – look at the E: Drive, we could have entered a drive letter AND a folder for this instead E:\_ToBeDeleted – apply the results to the E:\_ToBeDeleted  folder /MOVE – move the…

SOLVED: HIDDEN is Enabled but Greyed Out So You Cannot Change It After Using RoboCopy

This has been an annoyance for many versions of Windows starting somewhere around the Vista \ Server 2008 time frame. PROBLEM: If you use Robocopy to copy folders they will be set to HIDDEN and the HIDDEN check box will be greyed out… can you say anoying. CAUSE: The HIDDEN Check Box becomes greyed out when a folder is CUSTOMIZED (right click a folder > PROPERTIES > CUSTOMIZE) so the solution is to un-customize it…

SOLVED: How to Robocopy On Server 2012 With Data Deduplication

This was surprisingly tricking issue to deal with.  If you are copying TO or FROM a Deduplicated file share you must make certain: Do NOT robocopy the a partition or volume – only robocopy shares\folders.  This is because the dedup information is stored in the SYSTEM VOLUME INFORMATION folder and at folder can not be migrated with robocopy.  It needs to be built on the partition\volume that the dedup exists on. Make sure you do…