Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

DS 6.9 Services Script

Updated: 29 Sep 2009
dfnkt_'s picture
0 0 Votes
Login to vote

Figured maybe this could save someone some time when they go to do an upgrade on their Deployment Server 6.9. I recently upgraded our Deployment Servers to SP3 and KB Article # 36555 states that you should stop several services on the server before you start the upgrade process.

I have written the following batch (cmd) file that stops these services and has a PAUSE in the script that waits for key input to continue starting the services. Before you upgrade, execute the batch file, wait for it to say "press any key to continue", perform your upgrades, give focus back to the command prompt and press any key and the script will start the services up.

Feel free to break this into 2 scripts so that you don't risk accidentally starting the services back up while the upgrade is in progress.

In case you don't want to download the script I have pasted the script text below, just copy it and save it as a cmd or bat file.:

@ECHO OFF

REM Stop Altiris DS Services for Upgrade

net stop "Altiris Deployment Server Console Manager"

net stop "Altiris Deployment Server Data Manager"

net stop "Altiris Deployment Server DB Management"

net stop "Altiris eXpress Server"

net stop "Altiris PXE Server"

net stop "Altiris PXE Manager"

net stop "Altiris PXE Config Helper"

net stop "Altiris PXE MTFTP Server"

PAUSE

REM Start Altiris DS Services after Upgrade

net start "Altiris Deployment Server Console Manager"

net start "Altiris Deployment Server Data Manager"

net start "Altiris Deployment Server DB Management"

net start "Altiris eXpress Server"

net start "Altiris PXE Server"

net start "Altiris PXE Manager"

net start "Altiris PXE Config Helper"

net start "Altiris PXE MTFTP Server"

A small idea for those of you who are DIYers, you could easily convert this script to use SC instead of net stop/start and target it to a deployment server. An example:

"sc \\deploymentserver stop "Altiris Deployment Server Console Manager"

The above would allow you to run the script from your computer but target the deployment server(s).