http://web.archive.org/web/200212150000 ... DEPLOY.exe
But to my surprise, this self extract archive not only contains sysprep for NT4, but also for 98.
So I give it a shot.
You can get all the info you need in the provided imagprep.doc documentation, but here is some key points.
If you are using a retail copy, not OEM or Select copy, you'll need to add the "/PSS" parameter to preptool.exe, otherwise it will fail.
You'll need to supply a msbatch.inf file in C:\WINDOWS for network configuration, the following worked for me.
; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]
Version=3.0 (32-bit)
SaveDate=01/09/98
[Version]
Signature = "$CHICAGO$"
LayoutFile=layout.inf
[Network]
Display=0
Protocols=MSTCP
[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
DNS=0
WINS=D
It seems that you can put in any value here, they won't be checked.
The deployment process is entirely unattended. The username, registered organization and computer name remains the same after deployment. But you can add some code in msbatch.inf to change those in the process, samples are in the docs as well.