/build/static/layout/Breadcrumb_cap_w.png

Deploying using RunOnce key in SMS2003

Hi all.
I just got a fast question that i've been contemplating about but can't seem to find the time to figure it out completely and test it.. [&:] I was wondering if any of you have experiences with the following idea.

I have a lot of applications that i'm deploying using sms 2003. A lot of them are updates, so when deploying, it is imperative that the application that is going to get patched/updated isn't running at that time.
Now I know there is an option in SMS "program requires reboot". The best time to have those programs running would be right after the user has logged on, but before Windows is started up fully so the user is able to start the program being patched.

Is it an option to have SMS add a regkey to the target machine @ HKLM\software\Microsoft\Windows\Currentversion\Runonce and then running having SMS run the update after the user logs on again or reboots..? So, before Windows is fully loaded and the user is able to start up a program..?

To be hondest: I have absolutely no idea what the option "program requires reboot" in SMS does.. I guessing that the SMS installation account logs on after the reboot. Or maybe it's only usefull for reporting. If someone can enlighten me about that i would be forever gratefull..


Anyone have experience deploying packages in such a way..? Just wondering. Maybe one of these days i even get to testing some ideas i have. [8D] Thanks in advance..!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: bradmock 17 years ago
Senior Yellow Belt
0
Just throwing this out there...

You might want to accomplish everything you want to do through a script, in the format of your choosing. I think if you shut down the application, then ran the upgrade, you would be ok.

I wouldn't try to have SMS "hurry up" and try and run a advert before the user gets to launch. The timing on the client is too unpredicatable for that.

Just one opinion.

The Brad
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ