Die Autostart-Verknüpfung lässt nicht löschen. Hier mal der betroffene Teil meines Scriptes:
[autoit]If GUICtrlRead($Autostart) = 1 Then
FileCreateShortcut( @ScriptDir&"\X.exe", @StartupCommonDir&"\X")
Else FileDelete( @StartupCommonDir&"\X.ink") EndIf