Powershell

TrustedInstaller

sc config TrustedInstaller binPath= “cmd.exe /C del path/to/file”sc config TrustedInstaller binPath= “C:\Windows\servicing\TrustedInstaller.exe” SeDebugPrivilege PS Set-NtTokenPrivilege SeDebugPrivilegePS Start-Service TrustedInstallerPS $p = Get-NtProcess -Name TrustedInstaller.exePS $t = $p.OpenToken()PS $t.Groups | Where-Object {$_.Sid.Name…