Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

after reading this: http://support.microsoft.com/kb/137890 i was wondering does this utility also works in windows 7.

All i want is to run VLC player and start playing a song at each reboot. SO basically i want to run <<vlc.exe song-path>>.

Please tell me how can i do this?

Does anyone know who can i add a simple executable binary to run as NT service in windows 7. This is very important for me to know otherwise i will be a failure.

share|improve this question

migrated from stackoverflow.com Jan 22 '12 at 9:34

This question came from our site for professional and enthusiast programmers.

1  
I believe srvany.exe works on Windows 7, but you might like to consider NSSM instead: nssm.cc –  Harry Johnston Jan 22 '12 at 21:48
    
See also superuser.com/questions/146141/… –  Wimmel Jul 25 '12 at 8:15
add comment

1 Answer 1

up vote 2 down vote accepted

I think srvany may work on Windows 7, but it I doubt that a service in Windows 7 has access to the sound out channel.

I would solve this problem with either a scheduled task, triggered on log on, or using an entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run. Those are fully supported solutions that will work on Windows 7.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.