I cloned a windows 7 ntfs system partition and mounted it as non-system drive D but am unable to copy
"D:\Users\Administrator\AppData\Local\Application Data\*"
using icacls I try to remove the DENY everybody ACL to gain access but it is still failing with
Code: Select all
"icacls.EXE" %sFullPathFile% /T /remove %abstractLocale.sACLeverybody%
"icacls.EXE" %sFullPathFile% /T /grant %sGroup%:%sPermission%
Code: Select all
D:\Users\Administrator\AppData\Local\Application Data\Application Data\Applicati
on Data\Application Data\Application Data\Application Data\Application Data\Appl
ication Data\Application Data\Application Data\Application Data\Application Data
\Temporary Internet Files: Het systeem kan het opgegeven pad niet vinden.
https://wordlinks.wordpress.com/2010/10 ... recursion/
I've tried
Code: Select all
robocopy.EXE "D:\users" "D:\profsys" /E /ZB /COPY:DATSOU /PURGE /SL
xcopy "D:\users" "D:\profsys" /E /V /I /H /R /K /X /Y /B
I should also not call it shortcut even though it has an arrow because a shortcut has the .LNK extension and microsoft now likes to call it a file shortcut. they invented something new to annoy everybody a symbolic folder link
Code: Select all
mklink /J "%userprofile%\AppData\Local\Application Data" "%userprofile%\AppData\Local"
For now I will just rename "D:\users\" to "D:\profsys" and then create a copy to D:\users using the previous commands, this will result in a broken D:\users folder and a correct D:\profsys folder. Since D:\users will be completely removed later I can hack my way out of this this way but it's ugly.