This doesn't have anything to do with the kxrpc service being installed or not.

There are several things that do not work in your batchfile.
First: the if errorlevel 0 test is true for every errorlevel greater than or equal to 0 if you execute it in a batchfile. That you put a not in front doesn't change that principle.

Second Kixtart does return the errorlevel it is just that Windows95 doesn't let you retrieve the errorlevel as easy as Windows NT.

I think you could save yourself a lot of work by recoding the batchfile and use kixstart for the biggest part.

Good Luck
Rene

------------------