Sign in
|
Join
|
Help
Sherry Kissinger at myITforum.com
Standardize. Simplify. Automate.
This Blog
Home
Contact
Syndication
RSS
Atom
Comments RSS
Search
Go
Tags
Book Review
ConfigMgr07
Desired Configuration Management
Misc
MMS2007
MMS2008
Packaging
PocketPC
RCrumbaker 3.21 Customizations
Reporting (WQL)
SMS_DEF.MOF
SMS2003
vbscript (WSH)
WMI
XML
News
Navigation
Site Home
Home
Bloggers List
Blogs
Photos
Downloads
Archives
November 2008 (1)
October 2008 (4)
September 2008 (10)
August 2008 (5)
July 2008 (5)
June 2008 (2)
May 2008 (6)
April 2008 (7)
March 2008 (1)
February 2008 (4)
January 2008 (7)
December 2007 (2)
November 2007 (3)
October 2007 (3)
September 2007 (1)
August 2007 (2)
July 2007 (3)
June 2007 (3)
May 2007 (5)
April 2007 (5)
March 2007 (21)
February 2007 (2)
January 2007 (4)
December 2006 (3)
November 2006 (6)
October 2006 (5)
September 2006 (16)
Re-run User or Usergroup targetted Mandatory ad - RCrumbaker Web Remote Console 3.21
There are multiple scripts, standalone tools, right-click console additions to help an SMS admin trigger a re-run of a previously run (and failed, or succeeded) mandatory advertisement targetted to a machine.
For those few of us that target advertisements to usernames or usergroups (I believe there are 3 of us, hi guys!), to re-run the ad has always meant (for me at least), remoting into the computer, going to Run Advertised Programs, and re-running the failed advertisement manually.
Attached is a zip file containing a vbscript, as well as a code snippet to insert into your machrest.asp if you prefer to add a button to your Web Remote Console. The script or button will trigger a re-run of a user-based advertisement.
Notes: unlike Machine-based resets, the trigger to re-install is not instant. 1 or 2 User Policy Refreshes are required for the client to realize it needs to rerun the user or usergroup targetted mandatory advertisement. If you need a remote User Policy refresh script,
Stuart Watret's right-click tools
have that, or
Ron Crumbaker's Web Remote Console can have a button for that.
To add this button to your version of Ron's web page, edit MachRest.asp, and add a button by your other buttons (about line 80-ish):
<INPUT id="Button729" style='WIDTH: 180px' type='button' value='ReRun User Ad' name='Btnl729'>
Then add the attached (the Sub) probably near the bottom, just before the </script>, after all of the other Sub/end Sub routines
If you do not have Ron's page implemented, in the attached file is a standalone vbscript you can use to reset a user-based ad.
PS: The vbscript could be converted into a right-click console tool. I normally don't do that, but I've offered it to Stuart Watret, he's considering it as an addition to his next update of his tools. As of this article being written, his tools are version 1.3 Check his
web site
for an updated version, and the release notes to see if this script has been integrated.
Attachment:
Rerun-User-based_Advert.zip
Published
Wednesday, November 29, 2006 8:47 PM by
skissinger
Filed under:
RCrumbaker 3.21 Customizations
,
vbscript (WSH)
,
SMS2003
Comments
No Comments