Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to handle reboot with SMS 2003 ?

Status
Not open for further replies.

LMichel

IS-IT--Management
Apr 2, 2001
85
BE
I'm a package developper, not a sms specialist.

I've to design a package to be deployed with SMS 2003.
Do I have to include the reboot into my package ?
I want the user to be prompted before reboot. The user shout be able to postpone the reboot.

Can I reach this goal with sms ?
 
When a package (SMS Package) is advertised, it can be configured by the administrator scheduling this process for the machine to reboot after it is completed.

Neil J Cotton
njc Information Systems
Systems Consultant
 
ncotton,

Wich sms setting allow this (SMS restarts computer or program restarts computer) ?
Is there a possibility to remind the user very 15 min. that a reboot is needed ?


Michel
 
Michel,
I think that this setting is dependent on your package. For example if you take a MS Security patch it will automatically reboot your machine when you install it.

However, with some switches (/norestart) you can supress the reboot. To have SMS prompt a user every 15 minutes if he should restart his machine is not something that you can do with SMS (I've not seen it so far)



I hope you find this post helpful.

Regards,
GSC
 
Short answer, no.
Bascially, there is an action fild for the program in the oacjage called "Action After Completion", or something like that. There are 3 options (well 3 and do nothing), these are
- SMS Restarts Computer (meaning as soon as it detects the program process has been terminated, it will return its exit code and reboot the machine
- Program Restarts Computer (meaning that sms package ID is held as in progress, the program that has been run (so has to be conded/configed to do this) triggers a reboot action, exists, stores the exit code, machine reboots and the exit code reported back to the SMS server.
-SMS Logs off user - Same as first one, just logging off instead of rebooting, this is mainly used to programs that are designed to run at night, in "Run with no user logged on" mode with an account specified. SMS logs on as a pre-defined user, runs the program, returns the exit code, and then logs off.

The only thing you can do, is launch the program to set a script to tell the user to reboot, and actually have the package/program ignore any reboot issue. No way to postpone(sp?....put off) it.

Hope you find this post helpful.

Neil J Cotton
njc Information Systems
Systems Consultant
 
OMG
NCotton said:
there is an action fild for the program in the oacjage called "Action After Completion
What on earth is a oacjage? Or a Fild?

I really should slow down my typing.

BTW - For reference, just incase

fild = FIELD
oacjage = PACKAGE


Neil J Cotton
njc Information Systems
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top