I'm trying to add a domain user DCSync rights with the command Add-ObjectAcl, but somehow I keep getting errors.
I've connected to remote domain (which my machine isn't part of) with the command:
C:\Users\user> runas /net /user:domain.local\username powershell.exe
Enter the password for domain.local\username:
Attempring to start powershell.exe ad user "domain.local\username" ...
I'm trying to add a domain user DCSync rights with the command
Add-ObjectAcl
, but somehow I keep getting errors. I've connected to remote domain (which my machine isn't part of) with the command:Then I followed the examples (
help
):But I get this error:
Same happens when I type the command:
Working on Windows 10 virtual machine for what matters...