Skip to content

Instantly share code, notes, and snippets.

@jimdiroffii
Created January 28, 2021 07:48
Show Gist options
  • Save jimdiroffii/b0b1995fb518e3037b51ed54fdfb09b9 to your computer and use it in GitHub Desktop.
Save jimdiroffii/b0b1995fb518e3037b51ed54fdfb09b9 to your computer and use it in GitHub Desktop.
Change a Simphony POS configuration without a CAL
@echo off
set /p id="Enter ServiceHost ID: "
set /p ws="Enter Workstation ID: "
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Micros\CAL\Config"
powershell -Command "(gc C:\Micros\Simphony\POSClient\Cfg\PosConfiguration.ini) -replace 'ClientID=\d\d\d\d\d\d', 'ClientID=%id%' | Out-File -encoding ASCII C:\Micros\Simphony\POSClient\Cfg\PosConfiguration.ini"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment