If I have this set, how can I verify that it has run once for every user, all I see in the advertisement status is that in ran in context of User A. How can I in logs or whatever verify it ran in context of User B? Does it write an SMS key under HKCU then, I know there is the one under HKLM?
Also, if I have one package with two programs. One program runs under system account, other under user (run once for every user). I see the one advertisement in HKLM\SMS ran, but can't find the one that runs under user context which is in the same package.
Do I have to advertisement the thing to recur if I want run once for every user to work? Advertisement currently set to "Always Rerun Program"
If user B logs on, the advertisement status will also show that it ran again - everytime it runs the advertisement status will be updated. On the program, under environment tab set it to 'only when a user is logged on', then on the advanced tab set it to 'run once for every user who logs on'
My Microsoft Core Infrastructure & Systems Management blog - blog.danovich.com.au
- Proposed as answer by Michael W [MSFT] Friday, February 03, 2012 10:19 PM
if you need the application to be installed on machine and used by all the users irrespective who logged in so that all the users who logged into the machine can use the applications rather installing everytime when user logged in.
Are you trying to install the application for users or Machines?
There are some technical disadvantages when you deploy applications to users :
When you target users for software deployments you will lose the manageability of your environment there you link the advertisement to the logon of the users onto a computer within the Active Directory domain. Those users can log on/off wherever they want and therefore software gets installed on computers where this software wasn’t supposed to be available. This also makes this software also available for other users who shouldn’t have access to that specific software package.
Please click on "vote as Helpful" if you feel this post helpful to you.
Eswar Koneti | My Tech blog: eskonr.com | Linkedin: Eswar Koneti
- Proposed as answer by Michael W [MSFT] Friday, February 03, 2012 10:20 PM
Seems that you actually have two questions here.
The first question is answered by danovich_. There is also a reg key on the client machine that contains the Software Distribution history:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\Software Distribution\Execution History
Second question about one Package with two Programs.
Eswar basically answers this question But to get further details, how do you have the Programs configured. Do you have one set to run the other first?