Why is my custom script specified in the [GUIRunOnce] section of sysprep.inf not executed after Sysprep runs?
You can add the commands from your script directly into the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce registry key so they are present for first login. If you want to use Sysprep and you are using the Registry Filter service, you must disable the Registry Filter service. The Registry Filter service complements the File Based Write Filter service; you should disable both in a session prior to the session when you run Sysprep.