title: Run batch file when startup on Windows Server 2008
body: <p>I would like to start a powershell script if the Server turns on. No dependency on the user and if a certain user logs out the program should continue working. 
  I tried an entry in the registry with the HKey_localMachine but my program won't continue working if a user logs off. Maybe there is a solution with the Task Scheduler? </p>