Windows Privesc Module - No privileges assign

Hi guys, I am doing the Windows Privesc module and I am currently doing the SeTakeOwnershipPrivilege task, but the problem is that when I do the whoami /priv command I don’t have this privilege. I have tried to do it without having the privilege but it doesn’t work:

PS C:\Tools> Import-Module ./Enable-Privilege.ps1 PS C:\Tools> .\EnableAllTokenPrivs.ps1 PS C:\Tools> takeown -f “C:\TakeOwn\flag.txt” ERROR: Access is denied.

I’m doing something wrong?

Thank you!