IdealPoint Of Sale
Support
IdealPOS stamps every sale, payment and clock-in with the clock of the PC that runs the database, and each till applies its own time zone. If someone changes the date in Windows, everything done in the meantime is recorded with the wrong date.
A script stops anyone changing the date, time or time zone in Windows, administrators included. Windows keeps setting the correct time by itself.
You need:
Run it on every PC: first the one that runs the database (its clock dates every record), then each till (its time zone).
One zip with two files: RUN_ME_Lock_Windows_Clock.bat, the one you run, and Lock-WindowsClock.ps1, the script it starts.
Download the zip on the PC, or copy it over. Right-click it and choose Extract All…, then use the extracted folder: the script does not run from inside the zip.
Double-click RUN_ME_Lock_Windows_Clock.bat and answer Yes when Windows asks for administrator rights. If Windows first warns about a file from the internet, choose Run (or More info → Run anyway).
In a window that stays open, the script:
C:\ProgramData\IdealPOS-ClockLock;== This PC: POS1
Set time automatically: on (time service: Running, start Manual)
Change the system time: NT AUTHORITY\LOCAL SERVICE, BUILTIN\Administrators
Change the time zone: NT AUTHORITY\LOCAL SERVICE, BUILTIN\Administrators, BUILTIN\Users
! NOT locked - an administrator (or, for the time zone, any user) can change them in Settings
== Automatic time
OK already on (NTP)
OK clock synchronised with the internet time server
== Locking the date, time and time zone
backup of the current user rights: C:\ProgramData\IdealPOS-ClockLock\user-rights-before-20261030-201929.inf
OK Change the system time: NT AUTHORITY\LOCAL SERVICE
OK Change the time zone: NT AUTHORITY\LOCAL SERVICE
Done. Sign out and back in (or restart the PC) for it to take effect.
A full run. Press Enter to close the window.
The lock takes effect at the next sign-in: sign out of Windows and back in, or restart the PC. From then on Windows refuses a change of the date, time or time zone.
Do the same on each till. Running the script again on a PC that is already locked changes nothing.
The script takes two options. Open the extracted folder, type cmd in its address bar and press Enter, then run one of:
RUN_ME_Lock_Windows_Clock.bat -Check only shows the current state and changes nothing: locked or NOT locked.RUN_ME_Lock_Windows_Clock.bat -Undo gives the rights back to their Windows defaults. Use it when the date or time zone really has to be changed: run it, sign out and back in, make the change, then run the script without options to lock the PC again.C:\Windows\security\logs\scesrv.log.C:\ProgramData\IdealPOS-ClockLock. Send support that file if the defaults from -Undo are not what the PC had.-Check.On Windows Pro, signed in as an administrator:
secpol.msc and press Enter. Open Local Policies → User Rights Assignment.