Stop/Start service from cmd line?

V

Victor

My sons' PC sometimes loses audio. He is running iTunes and sometimes
Audacity. He usually has to reboot to get audio back, but as the system
shuts down to restart, he gets the WiNDOWS SHUTDOWN sound.

I was looking at it when it happened and I poked around and stopped and
started the WINDOWS AUDIO Service (C:\WINDOWS\System32\svchost.exe -k
netsvcs). The audio came back.

Unless someone knows why this is happening and how I can prevent it, how
can I stop the service via a cmd line (that I can have him click on the
shortcut to) and then start it (with another short cut).

You reply here or remove the 6's from the email address.

Thanks in advance!
 
P

Pavel A.

Try the following command:
sc stop <servicename> & sc start <servicename>

Regards,
--PA
 
V

Victor

Thanks, that worked, but unfortunatley did not fix the problem. We still
have to reboot to get audio. Again, thanks.
VS
 
A

Arkady Renko

Victor said:
Thanks, that worked, but unfortunatley did not fix the problem. We still
have to reboot to get audio. Again, thanks.
VS

Gday Victor

I'd have a look into the Event Viewer (Start->Setting->Control
Panel->Administrative Tools->Event Viewer) when the sound stops and
check each of the logs to see if you get any exclamation marks which
coincide with the sound stopping. If you do, then you've got yourself a
clue which you could post on here and we can help you further.

Cheers

--
--------------------
Arkady Renko
Network Admin
To email me directly
Remove all capitals
and underscores from
my posting address
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top