Edu-IT Posted December 4, 2009 Posted December 4, 2009 I need to start the messenger service on all machines, but it's currently set at disabled. Is there any way to do this with GP? From a script? or have I got to visit each machine?
Danlewis3 Posted December 4, 2009 Posted December 4, 2009 Computer config- windows settings - security - systems services
Edu-IT Posted December 4, 2009 Author Posted December 4, 2009 Is there any way to do it with a script? There are reasons why I ask.
ahuxham Posted December 4, 2009 Posted December 4, 2009 Is there any way to do it with a script? There are reasons why I ask. sc.exe config "Messenger" start= Automatic Batch file it, sc.exe is located in the Windows Resource Kit.
Edu-IT Posted December 4, 2009 Author Posted December 4, 2009 So, excuse me if this is a daft question, but would I have to push out sc.exe to the stations?
mac_shinobi Posted December 4, 2009 Posted December 4, 2009 So, excuse me if this is a daft question, but would I have to push out sc.exe to the stations? could you not shove it in the sys vol folder or somewhere all pc's can access it then in the path to launch it you would just use the full path to the sc.exe
ahuxham Posted December 4, 2009 Posted December 4, 2009 So, excuse me if this is a daft question, but would I have to push out sc.exe to the stations? You might find sc.exe installed on the machines. Try it on one. Just open cmd.exe and type sc.exe you should see output. Certain SP's had sc.exe attached to them. 1
Edu-IT Posted December 4, 2009 Author Posted December 4, 2009 I think I mistook you, sorry. From the server, or any other machine with sp.exe, I would create a batch file such as: sc.exe \\machine-01 config "Messenger" start= Automatic sc.exe \\machine-02 config "Messenger" start= Automatic sc.exe \\machine-03 config "Messenger" start= Automatic or am I wrong?
ahuxham Posted December 4, 2009 Posted December 4, 2009 I think I mistook you, sorry. From the server, or any other machine with sp.exe, I would create a batch file such as: sc.exe \\machine-01 config "Messenger" start= Automatic sc.exe \\machine-02 config "Messenger" start= Automatic sc.exe \\machine-03 config "Messenger" start= Automatic or am I wrong? Never tried it remotely, however it is supposed to work remotely. I just batch the command as I typed into a login script, and executed a mass administrator login to apply, followed by a reboot and removed it.
itdesk Posted December 4, 2009 Posted December 4, 2009 (edited) I created a vbscript that started the service then added it to a computer startup GPO. With enough time all of the machines will start and load it up. This is what I put in my code. net start messenger Hope this helps Edited December 4, 2009 by itdesk
mac_shinobi Posted December 4, 2009 Posted December 4, 2009 I created a vbscript that started the service then added it to a computer startup GPO. With enough time all of the machines will start and load it up. This is what I put in my code. net start messenger Hope this helps 1. if you use net start messenger does that enable the service as well 2. if you only used net start messenger then it is more likely it was a bat unless you used wscript or something similiar to exec or run it or using the methods to launch and use command prompt commands just thoughts as I could be corrected
p858snake Posted December 4, 2009 Posted December 4, 2009 (edited) Off Topic: Why are you wanting to start the service? Edited December 5, 2009 by p858snake fixing spelling/grammar
itdesk Posted December 4, 2009 Posted December 4, 2009 Yes sorry its a .bat file It would appear that the service starts automatically each time the computer starts. I have it as a gpo so it is told to start each time the computer boots. Try it on a test pc. I started this service because a client was moved from a room and no one told me. I used net send to send a message to that computer asking the next person who logged on to email the location of the computer. hope this helps Just found another thread that might be of even more use to you: http://www.edugeek.net/forums/windows/6634-how-disable-messenger-service-server.html
Edu-IT Posted December 5, 2009 Author Posted December 5, 2009 Off Topic: ut why are you wanting to start the service? Required for print management software that will not send messages through its own messaging service. It's a bit of a workaround it seems. Why?
FN-GM Posted December 5, 2009 Posted December 5, 2009 Required for print management software that will not send messages through its own messaging service. It's a bit of a workaround it seems. Why? Do you know it has been stripped from 7? If you upgrade in the feature you will face problems.
Edu-IT Posted December 5, 2009 Author Posted December 5, 2009 Do you know it has been stripped from 7? If you upgrade in the feature you will face problems. It's not ideal. It's more of a stop gap until I can get another school to provide some feedback. Just need to find a school with the same setup, will only be a few days until I do that.
mattx Posted December 5, 2009 Posted December 5, 2009 (edited) AutoIT: run("cmd.exe /c sc stop someservice", "", @SW_HIDE) or #include $StopService = _RunDos("net stop servicename") $StartService = _RunDos("net start servicename") May need the RunAs function: RunAs Runs an external program under the context of a different user. RunAs ( "username", "domain", "password", logon_flag, "filename" [, "workingdir" [, show_flag [, opt_flag ]]] ) Stick it in the logon script or compile an .exe to start at logon or shove it in the Run registry. I have scripts which stop and start various services all the time. [ Example below ] ; AutoIt Version: 3.2.8.1 ; Language: English ; Platform: WinXP ; Author: Matt ; Script Function: Delays TMLISTEN.EXE for a time between 5 and 20 mins ; Version: 1.1 Beta ; Date: Sept 2008 ;1.1 - added Random time element Opt("TrayIconHide", 1) DIM $time $time = Random(300000, 1200000, 1) Sleep($time) RunAsSet("administrator", @ComputerName, "LOCAL_ADMIN_PASSWORD") Run(@ComSpec & ' /c net start tmlisten', '', @SW_HIDE) RunAsSet() Exit Edited December 5, 2009 by mattx
Edu-IT Posted December 5, 2009 Author Posted December 5, 2009 What software is it? Pcounter. It should use Wbalance.exe to send messages, but it's not.
p858snake Posted December 5, 2009 Posted December 5, 2009 PCounter has their own little messaging application for on their site for that don't they?
FragglePete Posted December 5, 2009 Posted December 5, 2009 We use PCounter too. WBalance is their messenging system, but it only shows balance. I too have thought about enabling the Messenger Service for better feedback, as it just won't let the kids know they don't have enough credit if they try to print. Pete
p858snake Posted December 5, 2009 Posted December 5, 2009 It looks like you need the PopUp application they have and create a screen that is roughly the same as their last screenshot.
Michael Posted December 5, 2009 Posted December 5, 2009 You could in theory do both - a script and GPO method. Generally speaking using a GPO would be my approach.
Edu-IT Posted December 5, 2009 Author Posted December 5, 2009 We use PCounter too. WBalance is their messenging system, but it only shows balance. I too have thought about enabling the Messenger Service for better feedback, as it just won't let the kids know they don't have enough credit if they try to print. Pete This is interesting. I had a long chat, and dial in session, with support on Friday about this as they told me that WBalance.exe does all the messaging when the user has run out of credits. This is the reason why I contacted them initially. PPopup.exe will display print confirmation dialogue, and department code window etc but it does not inform the user that they do not have enough credits. I'm told it's WBalance.exe that does this. FragglePete, do you have a vanilla network? I'm keen to discuss this more with you to see. Then I can get back on to them.
FragglePete Posted December 7, 2009 Posted December 7, 2009 FragglePete, do you have a vanilla network? I'm keen to discuss this more with you to see. Then I can get back on to them. We use CSE.NET here; it's part of the Suite of programs that are supplied, but overall its just a bog standard network just running their Middleware app. WBalance gets loaded at logon, we automatically credit each Student account with 10p each day which is enough for 5 x A4 Mono and 2 x A4 Colour prints per day. If they want anymore they have to come and see us to ask and explain why. Problem is, the WBalance window is the first thing the kids close when they login, so any messenging that provides (and I've only seen it do the balance anyway) gets lost. I'm going to look at this Popup app a bit more now, I'm intrigued. Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now