Board logo

标题: [文本处理] 批处理怎样修改文件当前所有者TrustedInstaller为administrator [打印本页]

作者: 妙手空空    时间: 2021-1-14 14:22     标题: 批处理怎样修改文件当前所有者TrustedInstaller为administrator

求助:
批处理怎样修改1个文件当前所有者TrustedInstaller 为 administrator,像这个文件C:\Windows\System32\termsrv.dll
作者: Batcher    时间: 2021-1-14 14:33

回复 1# 妙手空空


用 administrator 账号登陆系统然后执行 test.bat
  1. takeown /f "C:\Windows\System32\termsrv.dll"
复制代码

作者: 妙手空空    时间: 2021-1-14 15:05

回复 2# Batcher
可以,已解决,非常感谢!




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2