BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-16-2007, 11:07 PM   #1
jibi
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Default Start|Stop|Disable BES Services (Scripted) - DR and Migration Purposes

Please Login to Remove!

There are a few of these scripts floating around for batch scripting around starting and stopping the BES services, but I haven't seen one that also including changing the service startup type from automatic to disabled and vice versa. This one can be used for DR or migration purposes.

Notes:
- Based on BlackBerry Enterprise Server 4.1 SP4 for Microsoft Exchange
- 'sc.exe' included natively in Windows Server 2003 (and Windows XP and Windows Vista for those of you wanting to alter these to run remotely); can be installed Windows 2000 Server using the Resource Kit
- Uses the Service Name not Display Name of service

Set to Disabled and Stop Services:
Code:
sc config "BlackBerry Router" start= disabled | sc stop "BlackBerry Router"
sc config "BlackBerry Dispatcher" start= disabled | sc stop "BlackBerry Dispatcher"
sc config "BlackBerry Controller" start= disabled | sc stop "BlackBerry Controller"
sc config "BlackBerry MDS Connection Service" start= disabled | sc stop "BlackBerry MDS Connection Service"
sc config "BlackBerry Policy Service" start= disabled | sc stop "BlackBerry Policy Service"
sc config BBAttachServer start= disabled | sc stop BBAttachServer
sc config "BlackBerry SyncServer" start= disabled | sc stop "BlackBerry SyncServer"
sc config "BlackBerry Server Alert" start= disabled | sc stop "BlackBerry Server Alert"

Set to Automatic and Start Services:
Code:
sc config "BlackBerry Router" start= auto | sc start "BlackBerry Router"
sc config "BlackBerry Dispatcher" start= auto | sc start "BlackBerry Dispatcher"
sc config "BlackBerry Controller" start= auto | sc start "BlackBerry Controller"
sc config "BlackBerry MDS Connection Service" start= auto | sc start "BlackBerry MDS Connection Service"
sc config "BlackBerry Policy Service" start= auto | sc start "BlackBerry Policy Service"
sc config BBAttachServer start= auto | sc start BBAttachServer
sc config "BlackBerry SyncServer" start= auto | sc start "BlackBerry SyncServer"
sc config "BlackBerry Server Alert" start= auto | sc start "BlackBerry Server Alert"
Other Services:
BlackBerry Collaboration Service
Service Name: "BlackBerry Collaboration Service"

BlackBerry Database Consistency Service
Service Name: "BlackBerry Database Consistency Service"

BlackBerry Instant Messaging Connector
Service Name: "BlackBerry Instant Messaging Connector"

BlackBerry MDS Services - Apache Tomcat Service
Service Name: MdsTomcat

BlackBerry User Administration Service
Service Name: BESUserAdminService

BlackBerry Administration Service - AS
Service Name: BAS-AS

BlackBerry Administration Service - NCC
Service Name: BAS-NCC

These may differ from platform to platform (Domino, Groupwise, Exchange), although I don't think they do. The others are optional installations for Collaboration and Instant Messaging, MDS Services (MDSS), BlackBerry User Admin Service (from BRK) and BAS (Web Desktop/future web-based platform for RIM apps). Let me know if there are any more services to add.

The above scripts are in batch format already, so just save as a .bat file. They can be altered to be a replacement for the 'net stop' batch files we've had posted on here before. Maybe someone will be able to use this. (:
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.

Last edited by jibi; 10-16-2007 at 11:29 PM..
Offline  
Old 10-17-2007, 02:28 AM   #2
BBAdmin
BlackBerry Extraordinaire
 
BBAdmin's Avatar
 
Join Date: Feb 2005
Location: Port 3101.org
Model: .
Carrier: .
Posts: 2,491
Default

Smart arse!!!!
__________________

Offline  
Old 10-17-2007, 06:47 AM   #3
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by BBAdmin View Post
Smart arse!!!!
ARSE ... I only got a 13.
Offline  
Old 10-17-2007, 07:04 AM   #4
BBAdmin
BlackBerry Extraordinaire
 
BBAdmin's Avatar
 
Join Date: Feb 2005
Location: Port 3101.org
Model: .
Carrier: .
Posts: 2,491
Default

Ha ha, I got 14 - I'm more of an arsehole than you are....beeaaattcheee!!!!
__________________

Offline  
Old 02-11-2008, 12:05 PM   #5
DarthBBerry
Wireless Sith Lord
 
DarthBBerry's Avatar
 
Join Date: Jan 2007
Location: Online
Model: iOS 6
Carrier: Verizon x2
Posts: 1,458
Default

15. Bwa ha ha!
Attached Images
File Type: jpg AHOLE.JPG (16.0 KB, 11 views)
__________________
DarthBBerry
6-Time BlackBerry World Champion (2007-2012)
BlackBerry® Certified Support Specialist v5.0
BlackBerry® Certified System Administrator v5.0

Last edited by DarthBBerry; 02-11-2008 at 12:06 PM..
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Agilent E8403A VXI Mainframe + E8491B, E4808A, 7x E8461B Modules with WARRANTY picture

Agilent E8403A VXI Mainframe + E8491B, E4808A, 7x E8461B Modules with WARRANTY

$3900.00



TEKTRONIX TM5006A 6 BAY MAINFRAME.  (chassis Mainframe only) picture

TEKTRONIX TM5006A 6 BAY MAINFRAME. (chassis Mainframe only)

$200.00



HP 3488A HPIB Switch / Control Unit Mainframe picture

HP 3488A HPIB Switch / Control Unit Mainframe

$24.99



Tektronix TM5003 Power Module Mainframe Chassis picture

Tektronix TM5003 Power Module Mainframe Chassis

$225.00



Agilent HP E8404A VXI Mainframe C-Size, 13 Slot 1000W w/E491B, E1472X2 UNTESTED picture

Agilent HP E8404A VXI Mainframe C-Size, 13 Slot 1000W w/E491B, E1472X2 UNTESTED

$499.99



Computer Conversions Corp. Main Frame Board RTSS-4 picture

Computer Conversions Corp. Main Frame Board RTSS-4

$375.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.