Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

removing file attributes for an entire directory and subdirectory

Posted on 2012-03-20
7
Medium Priority
?
596 Views
Last Modified: 2012-03-22
I am running 2 file servers and am transferring the files from the old server to the new server with robocopy, but I'm getting errors that say: "the system cannot find the path specified". Error: Retry Limit exceeded.

I checked the old server and I can see the files there, but they have an A in the attributes column, so I'm thinking I need to remove all A and H attributes and probably R since I'm at it, as that's why it can't copy the files over.  I have already given full access to my domain user that I'm using to copy and the system as well.

I've tried the following command, but it doesn't work:  attrib -A E:\userdocs\location\*
and attrib -A E:\userdocs\location\*.*
But both attemps give me the error message: "parameter format not correct".

Any idea's how I can remove these attributes either from the GUI or CLI without having to do it one by one, each file, as there's hundreds of files, if not thousands.

Thanks.
0
Comment
Question by:afacts
[X]
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
  • 5
  • 2
7 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37744345
Those attributes wont stop the correct robocopy command running.  Can you please post your EXACT robocopy command here please.
0
 

Author Comment

by:afacts
ID: 37744351
SUre:

robocopy  \\server\adp E:\adp /E /MIR /COPYALL /MT /V /LOG:E:\logs\adp.txt /R:0 /W:0 /TEE /ETA /DCOPY:T /FP /ZB
0
 

Author Comment

by:afacts
ID: 37744367
So if it's not the file attributes, here's a screenshot of the error:

errorerr
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:afacts
ID: 37744917
anytone else would like to take a stab as to why I'm getting these errors?
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 2000 total points
ID: 37746381
Do you have permissions to that folder? your copying user profiles and you wont necessarily have full access permisions to those directories? Have you checked that from the destination server that you are running from that you can browse to that remote path with the account you are copying from?
0
 

Author Comment

by:afacts
ID: 37748244
Which folder are you asking if I have permissions, on the source folder, or on the destination folder, under the username folder, or the my documents folder inside the username folder?

I did check and I was able to browse on the source server, that's why I know the files are there. I even gave full access on the destination folder as well, so both servers, have full accese on that one folder and all subfolders.
0
 

Author Closing Comment

by:afacts
ID: 37755065
Thanks, you pointed me in the right direction, it was a permission issue.

I changed the permissions on both servers, both folders exactly the same, and it worked.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Suggested Courses

610 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