Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

takeown recursive not working on redirected My Documents folder

$
0
0

So I'm trying to set owner Local\Administrators group on users folder(s) recursively, all works good until it hits a redirected folder, like My Documents. 

We had the GPO setting 'Grant user exclusive rights' but it's now disabled. 

So what happens is it will take ownership over My Documents(works), but when it tries to take ownership in the subfolders(notworking)

The command i run is 'takeown.exe /F <path> /A /R /D Y

If I run it again it can take ownership of the subfolders, but not the folders within the subfolders.

1st run

My Documents(works) > Subfolders (not working )

2nd run

My Documents(works) > Subfolders (works) > Subfolders(not working).. etc

Just got a thought; is it possible it's due we're running different languages on the computers?

We got My Documents and swedish Mina Dokument that's causing it possibly?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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