Solved

Folder Structure hidden after Robocopy

Posted on 2014-11-04
8
179 Views
Last Modified: 2014-11-21
Morning all,
  Little strange one here. I am using Robocopy to move files between a Server Hosted in a Data center to local server and then into Azure (don't ask..... due to routing i cant go direct).

DC Server > Office Server > Azure Server

On running the following command robocopy \\10.10.10.1\d$ C:\ClientData /e /ZB /R:2 /W:2 /SEC All the data is copied to the local drive but the folder is not Visable, however if i browse to c:\clientdata the folder will open.

if i then run the next copy job (from the AzureServer) robocopy \\10.10.1.1\C$\ClientData E:\ClientData /e /ZB /R:2 /W:2 /SEC

The drive space is used and again if i type the folder address in it shows up BUT it is not visable using the Computer and browsing to the E drive. I have checked the defaults for the View and hidden files & Folders in case that's the issue.

I may have missed a Robocopy Switch or the original 2011 SBS server may have a GPO hiding something....

Any ideas will be much appreciated,
0
Comment
Question by:ncomper
8 Comments
 
LVL 5

Assisted Solution

by:Abdul Khadja Alaoudine
Abdul Khadja Alaoudine earned 167 total points
ID: 40421278
Sometimes Robocopy may not like using path \\10.10.10.1\d$. Try sharing the source folder, then mount that as network drive, for eg. G:. Then run robocopy "G:\<folder name>" "C:\ClientData" /E /MIR /R:2 /W:2 /COPYALL /NP /LOG+:<Log file name.log>
0
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 166 total points
ID: 40421480
what do you see if you open a command prompt and do a directory of these locations?

dir c:\clientdata /ah
or
dir c:\clientdata /as
0
 
LVL 5

Author Comment

by:ncomper
ID: 40421992
when doing an /AH


11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free

when completing  /as

11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 5

Author Comment

by:ncomper
ID: 40421995
i will also try the alternate Robocopy switches this evening.
0
 
LVL 9

Expert Comment

by:dlb6597
ID: 40422026
the only thing I can thing  of is that you have access based enumeration enabled? I'm not aware of any robocopy switches that will produce these symptoms.
0
 
LVL 5

Author Comment

by:ncomper
ID: 40423713
i can now see that the folders is checked to be hidden:

Hidden Box Ticked
whats the best way to unhide this?
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 167 total points
ID: 40423722
attrib c:\foldername -h
if you want to do sun directories and files too then try this
attrib -h c:\foldername /s /d
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 40457146
The file was copied as a system folder..... as per the above showing these in the View resolved the issue
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

730 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