Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by user160910 for Best Practices - Exporting/Importing Windows 2008 file/folder permissions

Have you looked at icacls? You could just have icacls spit out the acls to a file and then use the file to set permissions on the destination.

Or you could just use xcopy to copy your folders to the new inetpub/wwwroot and then replace the files that need replacing:

Copy a Folder to Another Folder and Retain its Permissions

Click Start, and then click Run.In the Open box, type cmd, and then click OK.Type xcopy sourcedestination /O /X /E /H /K and then press ENTER, where source is the source path for the files to be copied, and destination is the destination path for the files.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>