A logoff script is likely the only way this is going to work. Mostly because there is nothing in policy processing that runs at logoff (other than a logoff script of course and that actually runs outside of policy processing). One thing you could do, if you don't really need to remove the whole app, is just remove the "presence" of the app. You could setup the package so that things like shortcuts, file extension associations and COM ProgIDs are part of a separate feature and then just remove that feature with an msiexec command-line call in your logoff script. That way, even though the app is still installed, the user would have to hunt pretty hard to run it.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael B. Smith
Sent: Thursday, October 28, 2004 2:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] install on logon, uninstall on logoff

Robbie and I chat just about every day. :-P
 
Robbie said that that was a section that Alistair wrote, but that as far as he knew, a logoff script was the only way to do it. I messed around with it a little bit and found that it's non-obvious, and somewhat slow, but it surely can be done.
 
Thanks for following up,
M


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Thursday, October 28, 2004 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] install on logon, uninstall on logoff

Did you get an answer on this one Michael? We can hunt Robbie down for an anwer if not.
 
 joe


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael B. Smith
Sent: Tuesday, September 07, 2004 10:09 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] install on logon, uninstall on logoff

In Robbie Allen's book (Active Directory Second Edition) he mentions installing a new package on logon and then uninstalling that package on logoff using GP. (Chapter 7, page 96, top paragraph on the page.)
 
Installing on logon is easy. Uninstalling on logoff - how? A logoff script is the only way I see. But the book implies another solution...
 
What am I missing?
 
Thanks,
M
 

Reply via email to