Command to move password protected folders and files

libranderw
libranderw used Ask the Experts™
on
Creating a new server and trying to copy all the documents and folders from old server to new server, some documents are password protected along with having some password protected folder, is there a windows command that can copy all of those files and folders.
Replaced the "VMware" Zone with the "M$ OS", "2003 Server" and "2008 Server" Zones.

rindi,
EE ZA Storage

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
What not use an imaging tool, like Ghost or Clonezilla?
Most Valuable Expert 2015
Commented:
Windows doesn't have any Built capabilities for password protecting folders or files. You can only limit how users or groups can access folders or files via ntfs permissions. As long as you have setup the new server as at least a member server of your domain, or as a Domain Controller, that server will know about those credentials and you should be able to copy such files or folders without issues.

If you have installed some 3rd party utility to password protect folders and files then you will need to check the manual of that utility for details.
Top Expert 2012
Commented:
You can use Robocopy and\or RichCopy
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Author

Commented:
I tried using Robocopy and the copy stopped on Password protected folders and file, I tried XCOPY as well with no luck, rindi the servers are on the same domain and I am an administrator of both servers, no third party utilites were used to password protect the files, it looks like most of the security was removed from some files and folders to restrict access.
Most Valuable Expert 2015
Commented:
You may need to take ownership.
Top Expert 2012
Commented:
I think you are going to have to unlock the password files to actually copying them that is a security feature when files\folders have passwords attached to them
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Use a cloning tool, Ghost or Clonezilla.
TolomirAdministrator
Top Expert 2005
Commented:
I suppose the files are encrypted with EFS.

Try this to be sure:

http://www.petri.co.il/quickly_check_efs_attributes.htm

--
If they are encrypted you have to decrypt them before you should move them. Moving them by some 3rd party tools, linux etc. will only make them useless data on the target server.

Tolomir

Author

Commented:
I tried taking ownership of the entire directory and pushing permisions all the way down so I was in full control of lthe entire directory, still stopped though on some file, ie word documents, saying that I needed to give myself permission, did that and was able to get that directory copied, any ideas how to make the process a little less time consuming?  
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Clone the disk, outside of the OS.
Top Expert 2012
Commented:
I would have to agree cloning the disk is going to be the only way if you don't unlock the password protected files

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial