powershell – 我的服务帐户需要什么来解决robocopy中的“管理审
发布时间:2020-12-25 22:40:28 所属栏目: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设置>安全设置>地方政策>用户权利> 管理审计和安全日志 (编辑:沧州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows-server-2012 – 如何在Windows Server 2012中使用W
- 给力Windows 10 19H1亮点一览:可卸载内置应用
- windows-server-2003 – Windows – 一步发布和续订IP?
- 强化经济上至关重要的Windows计算机
- DomTerm:一款为Linux打造的终端模拟器
- 微软没强迫? Windows 10 版本号追踪网站 Buildfeed 关闭
- 2018 - 适用于桌面的最佳Linux发行版
- Linux防火墙:关于iptables和firewalld的那些事
- 9012年,Linus终于意识到没什么人在用软盘了
- windows – 如何实际监控带宽使用情况
站长推荐