Computing.Net > Forums > Programming > Start messenger service with batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Start messenger service with batch

Reply to Message Icon

Name: Genocide (by Greaper6)
Date: October 13, 2007 at 22:46:48 Pacific
OS: WinXP Media Center Editio
CPU/Ram: ...
Product: Dell
Comment:

im trying to make a batch file to start the messenger service in WinXP.

I have " net start messenger "

but get

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.


is there a way around having to go to services in the administrative tools panel



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: October 14, 2007 at 19:46:05 Pacific
Reply:

Start | Run | services.msc

Make sure that the startup is set to automatic.

"Computer security." — Oxymoron


0

Response Number 2
Name: Genocide (by Greaper6)
Date: October 14, 2007 at 20:17:24 Pacific
Reply:

I know this :) I want a batch file to set it to enable or to auto for me.


0

Response Number 3
Name: tonysathre
Date: October 14, 2007 at 22:31:45 Pacific
Reply:

@echo off
sc config messenger start= auto
sc start messenger

"Computer security." — Oxymoron


0

Response Number 4
Name: Genocide (by Greaper6)
Date: October 14, 2007 at 23:21:50 Pacific
Reply:

w00t! Thanks Man :)

Ok now, is there a way to make it go like

If messenger=enabled echo Messnger is Enabled

i know thats not rightm but is there a way to do it?


0

Response Number 5
Name: tonysathre
Date: October 15, 2007 at 04:56:32 Pacific
Reply:

@echo off
sc config messenger start= auto > nul
sc start messenger > nul
if errorlevel 0 (
echo Messenger is enabled
)


"Computer security." — Oxymoron


0

Related Posts

See More



Response Number 6
Name: Genocide (by Greaper6)
Date: October 15, 2007 at 05:01:22 Pacific
Reply:

w00t! I have GOT to start using ErrorLevel



0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Start messenger service with batch

Make a chat program with batch www.computing.net/answers/programming/make-a-chat-program-with-batch/17794.html

Net Send/Windows Messenger Service www.computing.net/answers/programming/net-sendwindows-messenger-service/10239.html

del a reg key value with batch www.computing.net/answers/programming/del-a-reg-key-value-with-batch/9246.html