Is your bat file executing the pause statement? And that's not working?
Here is my test.bat.
@echo Run ipconfig and look for a string in its output.
ipconfig.exe | findstr.exe 192.168.184
@echo The pause statement is next where you will need to hit some key to allow execution to continue.
pause
@echo Next use timeout to wait for 10 seconds.
@echo This window will then close.
timeout /t 10
Double clicking on it, launches a window where it executes the 2 programs and then the pause statement suspends execution until I hit a key.
After I press a key, the bat file continues to the timeout statement which does a countdown. The command prompt window then closes.
On both machines, open regedit and check this key. See if there is any difference.
HKEY_CLASSES_ROOT\batfile\shell\open\command