写了一个 C# 应用程序,它需要将几个注册表键的所有者从原本的 System 和 TrustedInstaller 替换为 Administrators。查了半天,最后卡在了 为这个 C# 应用程序启用 SeTakeOwnershipPrivilege 这一步上。又查了半天,却找不到满意的结果。了解这方面的 V 友能帮帮我吗?多谢!
System
TrustedInstaller
Administrators
SeTakeOwnershipPrivilege