Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Window server 2008 batch can be run alone, but cannot be run when joining the task schedule.

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Error The task scheduler reported that the operator or system administrator refused the request

The following error is displayed:

Task planner reported operator or system administrator denied request (0x800710 E0)

Solution:

1. Create a task (different from creating a basic task)

2. Security Settings---Local Policies--Security Options, double-click the domain controller on the right: Allow server operators to schedule tasks, open and enable.

② After regular operation, the operation result is 0x1,

Windows official website explains as follows:

0x0: Operation completed successfully

0x1: Incorrect or unknown function called.

My normal operating code is as follows:

@echo off

cd /d "G:\MSSQL11.MSSQLSERVER\MSSQL\Backup"

forfiles /p G:\MSSQL11.MSSQLSERVER\MSSQL\Backup /s /m *.bak /d -2 /c "cmd /c del @path"

exit

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report