-
as seen on Server Fault
- Search for 'Server Fault'
I am auto creating scheduled tasks with this line within a batch windows script:
schtasks /Create /RU SYSTEM /RP SYSTEM /TN startup-task-%%i /TR %SPEEDWAY_DIR%\%TARGET_DIR%%%i\%STARTUPFILE% /SC HOURLY /MO 1 /ST 17:%%i1:00
I wanted to avoid using specific user credentials and thus decided to use…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have a scheduled task that is running as USER. I have checked the box "Run with highest privileges" in the scheduled task properties. The task is a powershell script that, among other things, reboots the system. The script executes and runs normally, but as a scheduled task, it fails to reboot…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have a scheduled task that needs to run as a service account. The service account's password resets every 100 days, so I need to update the password for the scheduled task.
I cannot figure out how to do this. When I select "Change User or Group" in the scheduled tasks' properties I get no prompt…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I've got a scheduled task that needs to run for a user at a specific time. However, the user sometimes logs onto one machine, the next day onto another, then next week onto yet another. At some pint during the day, the user might have to log onto another machine.
How do I get the scheduled task to…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I simply want to run a ResetSearchIndex -force on a schedule. What is the correct usage for the command in the Scheduled Task properties? It seems I would first need to start Powershell, then load the console file or snap-in for Exchange, which one of these is the closest:
C:\WINDOWS\system32\WINDOW~2\v1…
>>> More