Security system does not cut spark right away.
Security / Immobilizer will allow the engine to run for 2 seconds and then shuts off the engine. If your engine does not even run for 2 seconds, then it is
not a security / immobilizer issue.
Crankshaft position sensor / engine speed sensor, is the main input to the ECM... without a crank signal, the engine will not run.
Here's a video on how to replace the crank sensor: (2.0L Jetta, same location on a Beetle).
http://www.youtube.com/watch?v=UK0oDLrSo4c
Scanning for trouble codes would still be the first step.
Thomas
Friday, October 4th, 2013 AT 8:14 PM