This paper describes an adaptive S-curve used to recover a tool path upon a system crash in the Windows operating system (OS). For a mechanism such as a robot or machine tool, the joint values, being delivered as setpoints to the servo-controller, are dynamically recorded by the real-time operating system also residing on the computer. The real-time OS can control the abort and record pertinent motion data after Windows OS crash.