+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 52
How do you do....it? Thread, Starting a service... (Messenger) in Technical; Originally Posted by FN-GM Do you know it has been stripped from 7? If you upgrade in the feature you ...
  1. #16

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    Quote Originally Posted by FN-GM View Post
    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.

  2. #17

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,221
    Thank Post
    893
    Thanked 1,773 Times in 1,529 Posts
    Blog Entries
    12
    Rep Power
    461
    What software is it?

  3. #18

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,069 Times in 625 Posts
    Rep Power
    740
    AutoIT:

    run("cmd.exe /c sc stop someservice", "", @SW_HIDE)

    or

    #include <Process.au3>
    $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 ]

    Code:
    ; 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
    Last edited by mattx; 5th December 2009 at 01:01 AM.

  4. #19

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    Quote Originally Posted by FN-GM View Post
    What software is it?
    Pcounter. It should use Wbalance.exe to send messages, but it's not.

  5. #20
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    PCounter has their own little messaging application for on their site for that don't they?

  6. #21

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    897
    Thank Post
    282
    Thanked 140 Times in 113 Posts
    Blog Entries
    28
    Rep Power
    42
    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

  7. #22
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    It looks like you need the PopUp application they have and create a screen that is roughly the same as their last screenshot.

  8. #23

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,265
    Thank Post
    242
    Thanked 1,575 Times in 1,254 Posts
    Rep Power
    341
    You could in theory do both - a script and GPO method. Generally speaking using a GPO would be my approach.

  9. #24

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    Quote Originally Posted by FragglePete View Post
    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.

  10. #25

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    897
    Thank Post
    282
    Thanked 140 Times in 113 Posts
    Blog Entries
    28
    Rep Power
    42
    Quote Originally Posted by Edu-IT View Post
    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

  11. #26

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    That's interesting. We're a CC4 and WBalance.exe doesn't display any dialogue. I need to find another school with CC4 and Pcounter.

    At the moment it is sending messages through the messenger service which is not what it is supposed to do.

    I'm not sure if it's RM policies in place blocking it.

    Can you try altering your credit to 0 and printing, on a user that shouldn't be allowed to print with 0 credits. Does the dialogue display with a 'Messenger service' title or WBalance?

  12. #27

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    This is what I keep getting when I try to do it remotely. How do I know if the CMD is successful without going round each machine?
    Attached Images Attached Images

  13. #28
    TheLibrarian
    Guest
    Shorten the "start=Automatic" to "start=auto".

    The command is failing because it doesn't recognise "Automatic".

    To check the config, "sc \\machine_name qc messenger".
    Last edited by TheLibrarian; 8th December 2009 at 10:22 AM.

  14. Thanks to TheLibrarian from:

    Edu-IT (8th December 2009)

  15. #29

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    I'm getting the same.

    sc.exe \\ITTECH-01 config "Messenger" start "auto" and also tried sc.exe \\ITTECH-01 config "Messenger" start="auto"

    Being dumb I imagine.

  16. #30
    TheLibrarian
    Guest
    The command help isn't exactly clear.

    I've just tried it, you have to have a space between "start=" and "auto", so it should read "sc \\machine_name config messenger start= auto".

    That *does* work here, I've just tested it.

SHARE:
+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Serco ePortal Service not starting
    By darragh in forum MIS Systems
    Replies: 11
    Last Post: 30th September 2009, 08:42 AM
  2. messenger service in server 2008?
    By bastonc in forum Windows Server 2008
    Replies: 2
    Last Post: 17th March 2009, 04:38 PM
  3. [Ubuntu] auto starting lampp service with password
    By ful56_uk in forum *nix
    Replies: 5
    Last Post: 2nd March 2009, 10:50 PM
  4. Replies: 3
    Last Post: 23rd February 2007, 12:49 PM
  5. RIS Service (BINLSVC) stuck at 'starting'
    By indiegirl in forum Windows
    Replies: 8
    Last Post: 7th November 2005, 03:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •