/build/static/layout/Breadcrumb_cap_w.png

post reboot install tasks

I have an application that installs and reboots. After reboot it does some tasks as soon as the user logs on but before the user's desktop loads. The tasks done after the reboot needs admin rights. We use SMS 2003 to deploy software. If an employee with locked down user account logins after the reboot, the post reboot tasks are not performed at all. Is there a way to tackle this situation? I serached here and google, no success so far.

0 Comments   [ + ] Show comments

Answers (8)

Posted by: smooochy 14 years ago
Orange Belt
0
Why is this trying to run under user's credentials? If these actions were built into the MSI, I believe SMS would run them under full rights. It seems like this is a function being performed by the application itself, which would mean shame on the developers for bad practice.
What are the tasks it is trying to perform?
One thing that might work is to run Filemon/Regmon to see what is being written, and implement those with a custom action after the ForceReboot standard action in the sequence. SMS should run all of this using its elevated account.
Posted by: jimcox 14 years ago
Orange Belt
0
this is not a msi. its a legacy setup. I will use filemonto check the file that kicks off on reboot. I am not sure how to start filemon utility when windows starts since this setup program starts the post reboot tasks as soon as the user logs and the users desktop loads only after this program completes it post reboot tasks. Anyways, I will try to figure it out. Let me know if you have suggestions. thanks for your time.
Posted by: ghosh.kunal 14 years ago
Senior Yellow Belt
0
If this is something that happens after every reboot, try checking the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry. The application might be putting an entry there, so that it runs every time you log in. Remove it from there and try if it can be run from your MSI before reboot.
Posted by: jimcox 14 years ago
Orange Belt
0
it does not a happen every time the machine reboots. it does that the first time the machine is rebooted after the software is installed. will it be under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce??
Posted by: ghosh.kunal 14 years ago
Senior Yellow Belt
0
If the tasks run only after first reboot then it should be in RunOnce.
Posted by: ghosh.kunal 14 years ago
Senior Yellow Belt
0
Check this link out. Might help

http://www.dewassoc.com/support/useful/registry/reg_run_keys.htm
Posted by: dj_xest 14 years ago
5th Degree Black Belt
0

Hi,

For a case like this that performs some tasks after a reboot can only be settled if you can capture what things are being changed or added. I have just encountered this scenario with Filenet Panagon IDM Capture just recently.

I used a lightweight snapshot tool, Installrite. I ran the before the snapshot before I made the reboot and finalized the after snapshot after I have reboot. This could be a time consuming task to find what registries and files were added/modified that can be put on your package but worth an efforts when done right.
Posted by: jimcox 14 years ago
Orange Belt
0
It was under RunOnce. I used a wise script (as a wrapper) to install the application and delete the setup's entry under RunOnce. I wrote another wise script that called the .exe that did the post reboot tasks. So far it seems to be working. Thank you'll for your time.
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