- install-autostart.bat, uninstall-autostart.bat, restart-autostart.bat,
open-firewall.bat moved from scripts/ to the repo root (next to run.bat and
set-password.bat). Internal helpers (autostart-run.bat, ensure-vnc-password.ps1,
get-novnc.*, get-vnc.ps1, list-ips.ps1) stay in scripts/. autostart-run.bat is
kept in scripts/ because the scheduled task /TR points at it; moving it would
break already-installed tasks.
- Updated all references (set-password.bat, run.bat, install/restart-autostart.bat,
AGENTS.md, README.md).
- set-password.bat: write webvnc.conf BEFORE the UltraVNC sync so the web password
is configured even if ensure-vnc-password.ps1 fails / its UAC is dismissed
(previously 'Password is not configured' from install-autostart.bat when the
sync blocked before conf was written).
- AGENTS.md / README.md structure + autostart sections updated for the new layout.
- set-password.bat: one-time password setup -> writes webvnc.conf (HASH + VNC_PASSWORD), syncs UltraVNC via ensure-vnc-password.ps1; if the 'web-vnc' task is installed, restarts it (elevated) to reload the new password, skipping restart when the password is unchanged.
- run.bat: no longer prompts for the password; reads it from webvnc.conf (asks to run set-password.bat first if absent). Also clears --spawn-command (not just --spawn) when 5900 is already listening, to avoid spawning a 2nd VNC server.
- scripts/autostart-run.bat: non-interactive launcher for the scheduled task (reads webvnc.conf, finds only a LOCAL VNC server, never downloads at boot).
- scripts/install-autostart.bat / uninstall-autostart.bat: register/remove a 'web-vnc' scheduled task (ONSTART, SYSTEM, HIGHEST) via schtasks.
- scripts/restart-autostart.bat: restart the task to apply a new password; checks whether web-vnc.exe is running (stop+start, or just start).
- .gitignore: ignore webvnc.conf (secret).
- AGENTS.md / README.md: document the autostart flow, set-password.bat, the new scripts, and that the running gateway must be restarted to apply a password change.