Allow Users To Run The Program Independently Of Assignments Sccm

 Posted admin
Allow Users To Run The Program Independently Of Assignments Sccm Rating: 3,6/5 7872 reviews
Posted by5 years ago
Archived

A few noob sccm questions - package deployments, bat files, better ways to do things?

Hi r/sccm,

I apologise for my noob questions (and thank you for your help with previous questions) but I'm kinda stuck and I have been instructed to get these things working. Unfortunately my knowledge of SCCM is minimal and I'm just trying to self teach as I go. I'm sorry for being greedy and asking so many questions in one go, but if anyone could provide any assistance on even one of these questions I'd really appreciate it! Thanks so much in advance for taking the time.

  1. I am trying to test a deployment on my machine, but after it has deployed and not run properly, how can I cancel the old advertisment and repush a new one? Seems there's a flag somewhere saying this has already run, and an updated version of the package just won't automatically push to the machine. Do I need to delete something?

  2. After I've gone through the steps to create package > create collection > create deployment. how can I speed up the process of actually getting it to the machine? Is there a process I can force run or something I can update? I run a summarization, but it sits in 'unknown status' for ages before finally I see the package has been pushed to the ccmcache on the machine. and then sit and wait for it to run.

  3. A lot of the tasks I'm trying to automate/deploy involve installing a series of MSI's, reg fixes, taskkill commands and reopening applications once they are complete. What is the best way to do this? Currently I'm creating a batch file with step after step which run perfectly when executed from a command prompt, but they don't seem to work as sccm deployments. Even if I run from the ccmcache folder manually, the script works beautifully. Is it better to use a task sequence than a package for these sorts of tasks? What if I'm deploying an available advertisment (say an update package) and a task sequence is not available? Lastly, where can I check on a machine or server why a batch script is failing to execute properly?

  4. Is there a way to make some parts of the task hidden and not others? For example, I'm using a batch file for a task which runs hidden, however, one of the steps is a msg * 'message here' prompt to alert a user that they need to close open applications, and then after 90 seconds taskkill runs to close outlook etc. The script runs but doesn't alert the user, it's like the msg * box is hidden. Is there a better way to do this?

    Kadiri lakshmi narasimha swamy temple. Narasimha Swamy MP3 Song by Ramu from the movie Sri Lakshmi Narasimha Divyagaanam. Download Narasimha Swamy song on Gaana.com and listen. Download Sri Lakshmi Narasimha Swamy Devotional Songs mp3 songs to your Hungama account. Get the complete list of Sri Lakshmi Narasimha Swamy. Sri Lakshmi Narasimha Swamy Charithra MP3 Song by Ramadevi from the Telugu movie Sri Lakshmi Narasimha Swami Charithra. Download Sri Lakshmi.

Below is the example of the script I'm running that's failing.

The task is designed to run a reg key to update the local machine registry with the previous software versions install path source, warn the user their apps will be closed in 90 seconds, task kill interaction client and outlook, run the update, restart the interactionclient.exe and alert the user they can open their apps again.

(Files in package are interaction_client_su17_install_fix.reg, the below .cmd file, and icuserapps_su17.msp) (Task command line in package is just 'cmd /c filename.cmd') (Task is set to run normal, don't allow users to interact, run with admin rights, run whether or not user is logged on, deployment is required, notification is allow users to run the program independently of assignments)

REM @Echo off

Tanaka t21 new samurai. pushd '%~dp0'

REM Update SU10-14 install source locations (changes local machine reg paths to su14 update source files) REGEDIT /s Interaction_Client_SU17_Install_Fix.reg

msg * /TIME:89 'Software update in progress. Please close Outlook and Interaction client or they will be forced closed in 90 seconds and you may lose unsaved data. Please don't re-open until you see the 'Installation complete' message.'

TIMEOUT 90 /nobreak

taskkill /f /im interactionclient.exe /t taskkill /f /im outlook.exe /t

REM Update Su14 client to su17 msiexec /p icuserapps_su17.msp /qn /norestart

IF EXIST 'c:Users' (goto win7) else goto winxp

:win7

start ' 'C:Program Files (x86)Interactive IntelligenceICUserAppsInteractionClient.exe'

PC Doctor adware removal: Windows 7 users: Click Start (Windows Logo at the bottom left corner of your desktop), choose Control Panel. Pc doctor full version free download. Free scanner checks if your computer is infected. Quick menu: • • STEP 1. Locate Programs and click Uninstall a program. To remove malware, you have to purchase the full version of Spyhunter.

goto end

:winxp

start ' 'C:Program FilesInteractive IntelligenceICUserAppsInteractionClient.exe'

:end

msg * 'Installation complete. You may now open your applications again. Click OK to close this message.'

exit

100% Upvoted