Closed Defender-UI closed 5 years ago
Import-Clixml $ACLPath”.xml” | Add-NTFSAccess
Add-NTFSAccess : Не удается привязать объект ввода, так как он не содержит сведения, необходимые для привязки всех обязательных параметров: Account Add-NTFSAccess.ps1:32 знак:32
Sorry for the late reply. I guess in the meantime you have solved the issue yourself. If not, please reopen.
Friends, help write a script to transfer the ACL from .wim to the current system. Required: – clear the current access rights of the current system – transfer permissions to files and folders for all users from .wim – inheritance rules for folders from .wim – the final step to transfer the owner of the folders (including the system folders: TrustedInstaller) What I have at the moment:
Help seemed to me not complete (Add-NTFSAccess -? and Clear-NTFSAccess -?), could not understand how to apply the rules from .xml to files and folders in the root of the path C: \, at the moment I manually edit the path in .xml