Jump to content


  • 0
sccmkbk

VBScript execution through SCCM advertisement

Question

Hello

 

I am trying to deploy a vbscript through SCCM which pops for postpone or install though a message box for installing a partcular software. However when I deploy its not showing any message box, In advertisement setting I am using whether or not user is logged in

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello sccmkbk,

 

Sorry for this late reply (almost 2 years) :) . Recently I found out how to do it so it would be usefull to you in the future or for someone else whose facing this...

First of all to deploy a vbscript using "whether or not user is logged in" you must handle the situation when the user is not logged on to avoid that the advertisement fail due timeout, waiting for some user interaction if nobody is logged. This can be easily made using a WMI query in Win32_ComputerSystem, where the value UserName will be empty if nobody is logged on. You can see more information here (http://www.activexpe.../vbscript/0383/)

Regarding the issue you had, this only happens if you do not check the box "Allow users to interact with this program" right below the "Run with administrative rights".

 

Cheers!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.