How can a batch file lists itself in the startup list of Windows???
It doesn\'t matter if it goes from the registry or not.
IF with the registry, please give
xcopy C:\Users\NAME\Desktop\Batch.bat C:\ProgramData\Microsoft\Windows\"Start Menu"\Programs\StartUp /O /X /E /H /K is the correct command for windows 10. simply change the the second path to your version, and remember whenever there is a space, place a " before the word before the space, and after the word after it. however, it MUST be opened in administrator, so after some research, i found that a batch file could be used to start a different batch file and run it in administrative mode: runas /user:administrator C:\data\mybatchfile.bat that should work!