u/Adventurous_Bus_8813

Cymatics Hub Won't Leave My Startup Settings Alone - My Quick Fix

This is the only application that I have ever installed that re-enables itself in startup after I have disabled it. My son had suggested I write script to handle it but I had gotten into the habit of disabling it everytime I quit the Hub. That is until this past weekend when I forgot. So... a quick and dirty batch script it is. The script runs the hub and after you quit the hub (not use that X that is on the left side) it deletes the registery key that adds the hub to startup. It's a little dirty because the command window flashes and then minimizes to the taskbar. Oh well, maybe one day I will feel like writing a real wrapper around the darn thing.

@echo off

if not "%1"=="am_admin" (goto :init) else (goto :start)

:init

start /min cmd /c "%~f0" am_admin & exit

:start

start "" /wait "%LOCALAPPDATA%\Programs\cymatics-hub\CymaticsHub.exe"

REG DELETE "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "fm.cymatics.hub" /f

reddit.com
u/Adventurous_Bus_8813 — 9 days ago