Saturday, December 20, 2014

ALLOW USER TO POSTPONE SCCM SOFTWARE DEPLOYMENT

ALLOW USER TO POSTPONE SCCM 

SOFTWARE DEPLOYMENT


In some situation you may want to allow some users to postpone an software installation, ex; if the application need to close some processes and you want to deploy it while users are logged on.
So here’s a simple way to do it, but note that if you must deploy the program with the administrative rights you will also need to allow the users to interact with this program… therefore you can’t use it from a Task sequence, at least not natively.
1- Use a text editor, copy the following script and save it as a HTA file in the same directory as your package Data source. Then Modify the script Sub StartInstall section, to meet your Program Needs. add an appropriate .ico file in the same directory as the Script.
Download Script ; (PromptReboot)
<!– Author Simon Brouillard Fuction Allow user to postpone Installation
–>
App Launcher
ID=”objHTA”
APPLICATIONNAME=”SnoozeInstall”
BORDER=”thick”
BORDERSTYLE=”raised”
CAPTION=”no”
CONTEXTMENU=”no”
ICON=”AM-White.ico
INNERBORDER=”no”
MAXIMIZEBUTTON=”no”
MINIMIZEBUTTON=”no”
SHOWINTASKBAR=”yes”
NAVIGATABLE=”no”
SCROLL=”no”
SCROLLFLAT=”no”
SELECTION=”no”
SINGLEINSTANCE=”yes”
SYSMENU=”no”
WINDOWSTATE=”normal”
>
Application X will be installed on your PC. If you want to start the installation now, click on INSTALL NOW
************************************************************
2- Create a program for your hta script and set these settings.  Maximum Allowed Run time Unknown, Program Can run whether or not a user is logged on, Run with administrative Rights and Allow users to interact with this program
 Also, Note that if necessary you can change the values that I’ve use in the postpone the installation by changing the value “idTimer =…” and 
3- Advertise the collection you want to target with your software deployment. For My part, I create a collection with all workstation who already have the application installed. Next, I create a sub collection which will exclude all the member of this newly collection.
























Courtesy Link : https://anotherblabla.wordpress.com/2012/01/02/allow-user-to-postpone-sccm-software-deployment/

No comments:

Post a Comment