The Startup shortcut only ran at Windows log on, so a PC that only sleeps never restarted a helper that had stopped (Rankings: "Sync helper isn't running"). AutoSync-On now registers a scheduled task for the user (no admin): log on, unlock (also after sleep) and every 15 minutes; the helper's single-instance lock makes the extra starts exit at once. The old Startup shortcut is removed; -Minimised keeps that way. AutoSync-Off removes the task too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
365 B
Batchfile
Vendored
9 lines
365 B
Batchfile
Vendored
@echo off
|
|
title WhoDidIt - keep the sync helper running in the background
|
|
rem Adds a scheduled task (your user, no admin) that starts WhoDidIt-Sync with no
|
|
rem window when you log in, unlock the PC, and every 15 minutes if it stopped.
|
|
rem Starts it now too. Undo: AutoSync-Off.cmd
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0AutoSync.ps1"
|
|
echo.
|
|
pause
|