|Thanks for the reply|
Im booting into a custom vb.net application that I built
I have already replaced the windows shell with the application so that the computer starts and windows boots directly into the vb.net app instead of loading explorer.exe so the startup folder wont help.
I have successfully got the computer to boot to the app without starting explorer.exe, but it only works correctly if the computer is restarted correctly. If the computer looses power windows starts but doesn't load anything.