I was recently told by a person over at SDCR that Radiant Systems does not allow non aloha certified individuals working on 'their' systems, (after SDCR has secured the territory). Well now, thought that might be a bit over the line and all, to refer to these systems as "their systems" is something misleading in terms of context I see in sales tactics all the time as of late, even looking beyond the anti-trust behavior. I would have to say it is a Microsoft system before it is an Aloha system, and if the hardware is say Partnertech, that it might be a Partnertech system before it is a Microsoft, Aloha, Radiant or SDCR system, truth of the matter it is the customers system or the respective business it is installed in system.
Thought I'd save the version applicable local territory community $150.00 on a help desk call each time their master terminal fails to come of with an aloha.ini file after running eod. I found out that the cost of a help desk call is $150.00 due to a failed hasp that required replacement, and their subsequent refusal to simply ship a usb hasp and email a key sheet on the new hasp. They are not set up for our two factor auth from outside access configuration and have no contract with us, nor are they willing to show any MS certifications in dealing with a dell poweredge server running server 2003 and partnertech terminals, so we're gonna email them the aloha.ini and ~fastech.lic files and see what happens from there. Now I know lots of folks out here are running old school netbios on pre v6.4.21, and the only territory dealer is probably making a killing at it instead of doing bin updates, so here ya go folks, just polished it and GPL'd it.
Paste it into notepad, save it as fixini.cmd and enjoy:
@echo off
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º (fixini.cmd) This script will find the bouncing terminal without an º
echo º aloha.ini file and copy the current version from the server to it. º
echo º º
echo º Copyright (C) 2011 Brian M. Hoenig POSTechs.net º
echo º This program is free software: you can redistribute it and/or modify º
echo º it under the terms of the GNU General Public License as published by º
echo º the Free Software Foundation, either version 3 of the License, or º
echo º (at your option) any later version. º
echo º º
echo º This program is distributed in the hope that it will be useful, º
echo º but WITHOUT ANY WARRANTY; without even the implied warranty of º
echo º MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the º
echo º GNU General Public License for more details. º
echo º º
echo º You should have received a copy of the GNU General Public License º
echo º along with this program. If not, see º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
pause
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º In the Aloha 6.4 versions prior to 6.4.21 and some versions of 6.5, º
echo º there is a bug that may sometimes leave your master terminal without º
echo º an aloha.ini file after end of day has run. This script will find the º
echo º terminal without an aloha.ini file and copy the current version from º
echo º the server to it. The retries and pings variables are adjustable to º
echo º accommodate slower terminals with longer reboot times. º
echo º This script does rely on properly configured LMHOST or internal DNS º
echo º name resolution and should work even under non standard server and º
echo º terminal naming conventions. º
echo º º
echo º The symptoms best described that this script is engineered to resolve º
echo º is the terminal will boot and show the desktop, not show Aloha at º
echo º all, and without a blue screen of death, exception message or any º
echo º error, execute a reboot and continue to repeat the process. º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
pause
cls
set counter=0
set termnumber=1
set pings=5
set retries=5
set /a killbatch=%numterms%+1
set pwrmsg=0
set cpyerr=0
ing
cls
echo Processing %termstr%%termnumber%
echo Ping Retry # %counter% (%retries% MAX adjustable in batch file, 5 Pings sent per Retry)
if %pwrmsg% == 1 echo %termstr%%termnumber% has failed to respond, please check power and network connection, if %termstr%%termnumber% is not present on the network than you may safely ignore this message.
ping /n %pings% %termstr%%termnumber% | find "Reply" >nul
if %errorlevel% == 0 goto reply
if %counter% == 1 set pwrmsg=1
set /a counter=%counter%+1
if %counter% == %retries% goto next
goto ping
:reply
:force-verify
cls
@echo %termstr%%termnumber% responded, verifying Aloha.ini, this may take a moment...
if exist \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini goto next
if not exist \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini copy /a /v /y \\%server%\bootdrv\%iberroot%\data\aloha.ini \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini
set /a cpyerr=%cpyerr%+1
if %cpyerr%==200 goto chkpng
:return
if %cpyerr%==400 goto cpyfail
goto force-verify
:chkpng
echo Checking ping...
ping /n %pings% %termstr%%termnumber% | find "Reply" >nul
if %errorlevel% == 0 goto return
goto ping
:cpyfail
echo There was an unhandled exception checking/updating %termstr%%termnumber%.
echo This likely involves NTFS or share permissions, Lanman trust, Aloha not
echo installed, or there is a disk or unknown network error. More attention to
echo the problem is required as the problem on %termstr%%termnumber% is not repairable with
echo this script. The remainder of the terminals will now be processed.
pause
goto next
:next
set /a termnumber=%termnumber%+1
set counter=0
set pwrmsg=0
set cpyerr=0
if %termnumber% == %killbatch% goto end
goto ping
:end
Thought I'd save the version applicable local territory community $150.00 on a help desk call each time their master terminal fails to come of with an aloha.ini file after running eod. I found out that the cost of a help desk call is $150.00 due to a failed hasp that required replacement, and their subsequent refusal to simply ship a usb hasp and email a key sheet on the new hasp. They are not set up for our two factor auth from outside access configuration and have no contract with us, nor are they willing to show any MS certifications in dealing with a dell poweredge server running server 2003 and partnertech terminals, so we're gonna email them the aloha.ini and ~fastech.lic files and see what happens from there. Now I know lots of folks out here are running old school netbios on pre v6.4.21, and the only territory dealer is probably making a killing at it instead of doing bin updates, so here ya go folks, just polished it and GPL'd it.
Paste it into notepad, save it as fixini.cmd and enjoy:
@echo off
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º (fixini.cmd) This script will find the bouncing terminal without an º
echo º aloha.ini file and copy the current version from the server to it. º
echo º º
echo º Copyright (C) 2011 Brian M. Hoenig POSTechs.net º
echo º This program is free software: you can redistribute it and/or modify º
echo º it under the terms of the GNU General Public License as published by º
echo º the Free Software Foundation, either version 3 of the License, or º
echo º (at your option) any later version. º
echo º º
echo º This program is distributed in the hope that it will be useful, º
echo º but WITHOUT ANY WARRANTY; without even the implied warranty of º
echo º MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the º
echo º GNU General Public License for more details. º
echo º º
echo º You should have received a copy of the GNU General Public License º
echo º along with this program. If not, see º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
pause
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º In the Aloha 6.4 versions prior to 6.4.21 and some versions of 6.5, º
echo º there is a bug that may sometimes leave your master terminal without º
echo º an aloha.ini file after end of day has run. This script will find the º
echo º terminal without an aloha.ini file and copy the current version from º
echo º the server to it. The retries and pings variables are adjustable to º
echo º accommodate slower terminals with longer reboot times. º
echo º This script does rely on properly configured LMHOST or internal DNS º
echo º name resolution and should work even under non standard server and º
echo º terminal naming conventions. º
echo º º
echo º The symptoms best described that this script is engineered to resolve º
echo º is the terminal will boot and show the desktop, not show Aloha at º
echo º all, and without a blue screen of death, exception message or any º
echo º error, execute a reboot and continue to repeat the process. º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
pause
cls
set counter=0
set termnumber=1
set pings=5
set retries=5
set /a killbatch=%numterms%+1
set pwrmsg=0
set cpyerr=0
ing
cls
echo Processing %termstr%%termnumber%
echo Ping Retry # %counter% (%retries% MAX adjustable in batch file, 5 Pings sent per Retry)
if %pwrmsg% == 1 echo %termstr%%termnumber% has failed to respond, please check power and network connection, if %termstr%%termnumber% is not present on the network than you may safely ignore this message.
ping /n %pings% %termstr%%termnumber% | find "Reply" >nul
if %errorlevel% == 0 goto reply
if %counter% == 1 set pwrmsg=1
set /a counter=%counter%+1
if %counter% == %retries% goto next
goto ping
:reply
:force-verify
cls
@echo %termstr%%termnumber% responded, verifying Aloha.ini, this may take a moment...
if exist \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini goto next
if not exist \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini copy /a /v /y \\%server%\bootdrv\%iberroot%\data\aloha.ini \\%termstr%%termnumber%\bootdrv\%iberroot%\data\aloha.ini
set /a cpyerr=%cpyerr%+1
if %cpyerr%==200 goto chkpng
:return
if %cpyerr%==400 goto cpyfail
goto force-verify
:chkpng
echo Checking ping...
ping /n %pings% %termstr%%termnumber% | find "Reply" >nul
if %errorlevel% == 0 goto return
goto ping
:cpyfail
echo There was an unhandled exception checking/updating %termstr%%termnumber%.
echo This likely involves NTFS or share permissions, Lanman trust, Aloha not
echo installed, or there is a disk or unknown network error. More attention to
echo the problem is required as the problem on %termstr%%termnumber% is not repairable with
echo this script. The remainder of the terminals will now be processed.
pause
goto next
:next
set /a termnumber=%termnumber%+1
set counter=0
set pwrmsg=0
set cpyerr=0
if %termnumber% == %killbatch% goto end
goto ping
:end