powershell – 我的服务帐户需要什么来解决robocopy中的“管理审
发布时间:2020-12-26 07:37:02 所属栏目:Windows 来源:网络整理
导读:我正在创建一个计划任务,从 Windows Server 2012 R2上的脚本调用robocopy.无论是手动运行还是从计划任务运行,它都会抛出以下错误: ERROR : You do not have the Manage Auditing user right.***** You need this to copy auditing information (/COPY:U or
|
我正在创建一个计划任务,从 Windows Server 2012 R2上的脚本调用robocopy.无论是手动运行还是从计划任务运行,它都会抛出以下错误: ERROR : You do not have the Manage Auditing user right. ***** You need this to copy auditing information (/COPY:U or /COPYALL). 任务设置为“运行用户是否登录”和“以最高权限运行”.脚本如下: Add-Content E:ITSCopyScriptsbox1-backup-robocopy.log "script running" #Input the variables for the robocopy script $Source = "box1-prodimagesprod" $Destination = "E:Box1Backupsimages" $Retries = 1 #This is the Robocopy script Robocopy.exe $Source $Destination /E /Z /COPYALL /XO /r:$Retries /purge /xd '$RECYCLE.BIN' 'System Volume Information' '._nfs' /log:E:ITSCopyScriptsbox1-backup-robocopy.log /tee 任何帮助解决这个问题将非常感激. 运行gpedit.msc计算机> Windows设置>安全设置>地方政策>用户权利> 管理审计和安全日志 (编辑:四平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何修复Mozilla Firefox中出现的“Network Protocol Error
- 查看 Linux 系统服务的 5 大方法
- windows-server-2012-r2 – 无法在Windows Server 2012 R2
- 360免费升级正版Win10教程
- windows-server-2012 – 无法在Server 2012上禁用密码到期
- 适用于Windows 10 PC的3款最佳免费逃脱游戏
- windows – 具有GUI问题的计划任务
- 如何解决Windows 10游戏栏不工作和其他常见问题
- Google 开源 robots.txt 解析器
- Windows 11全新黑暗主题效果展示 升级只限定于加入内幕策划
