Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is this possible!

    I have been requested to figure out if there is a way to stop the messenger service IE "Net Send address message" normally I would just open up services and disable it or goto dos and type net stop messenger but that wont disable it and I have 60 machines to do this on! I was wondering if someone could help me create a batch file that would scour the network and disable this service from one machine?

    Is this possible!

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You have a Domain? If so, use the Policy Editor to disable that service globally.

    http://support.microsoft.com/default...b;en-us;302089
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok! thanks for the info but its not Windows Messenger that I am trying to disable its Messenger Service that I am trying to disable the one that you use Net send through dos to send messages to the Host name

  • #4
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Control panel:Administration:Services:Messenger. Set it to inactive.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The same tool (GPEDIT) can be used to disable any service.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #6
    Super Moderator sage45's Avatar
    Join Date
    May 2002
    Posts
    1,060
    Thanks
    0
    Thanked 13 Times in 13 Posts
    System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
    Value Name: Start
    Data Type: REG_DWORD (DWORD Value)
    Value Data: (2 = automatic, 3 = enabled, 4 = disabled)

    You could do many things with this...

    Here is the command line to stop the service...

    net stop Messenger

    -sage-
    HTML & CSS Forum Moderator

    "If you don't know what you think you know, then what do you know."
    R.I.P. Derrick Thomas #58
    1/1/1967 - 2/8/2000

  • #7
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That totally helps as I can use it in a batch file! or a reg file

    Is there a way of changing the code in the registry with a batch file without needing to call the *.reg file with regedit?
    Last edited by Crash1hd; 02-26-2004 at 12:55 PM.

  • #8
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    batch files are dead my friend

    Crash instead of useing batch files which might work. I'd suggest a visual basic script to do that for you. Unfortunalty i dont know how to code it otherwise i'd put it here.

  • #9
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    If I remember correctly you create a wshshell object and there is a member function to do it ... Possibly those who are still into ASP know how ..
    Omnis mico antequam dominus Spookster!

  • #10
    Regular Coder
    Join Date
    Jul 2002
    Location
    51° 03' -78" N -114° 05' 72" W
    Posts
    617
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok I was thinking of creating a vbscript to do what i wanted earlier today as that way I could also have a dropdown box too choose what the changes are dynamically but I will google that wshshell object thingy when I get home its amazing what you can find on google (its sad to hear that google is being abused and that yahoo is making a comeback) never liked yahoo lol


    P.S. ASP and me are good friends so vb shouldnt be much of a problem (thats what happens when your mind goes on one track) gotta remember to think outside the box lol where have I heard that before.....


  •  

    Posting Permissions

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