Quantcast
Channel: Windows Server
Viewing all articles
Browse latest Browse all 26364

Take ownership then reset permissions

$
0
0

I have an urgent issue that I am dealing with.  Tonight we are in the process of migrating our file server from one NAS drive to another NAS drive.  I have a robocopy in place, and things are working great.  I was going through some of the Robocopy logs, and I noticed an issue.  One of the folders contains our Citrix roaming profiles.  All of the folders copied fine, with the exception of the Desktop folder.  I have no permissions on these folders (all 600+ of them.)  

I need an automated way that I can take ownership of the Desktop folders, and then reset the permissions to inherit the permissions set on the folder above them so that my users can re-gain access to these folders.

Does anyone have any thought on how to do this?  Powershell would be ideal, but at this point, I am willing to try anything

thanks

app

BTW, the server in question is running Windows 2008 (Not R2)


Viewing all articles
Browse latest Browse all 26364

Trending Articles



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