Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试验证在 Windows 上运行的所有服务的权限。尽管单独验证权限非常痛苦。
有没有办法将结果从 windows 命令net start传送到icacls,以识别所有服务的权限?
net start
icacls
for %s in (*.exe) do icacls %s//确保在导航到 C://Windows/System32 目录后执行此命令
for %s in (*.exe) do icacls %s