Skip to content

Help delivering a vbs script

Featured Replies

Hi

 

I have written a vbs script to copy a shortcut the the logged in users desktop, but it isnt running..

 

The advertisement works fine & the package copies down to the clien fine, but it does not run.

 

If I navigate to the SCM\CACHE folder I find the app ok, and if I run it manualy it works fine, its like SCCM cannot run .vbs?

 

Any help would be great

 

Keith

Hi

 

I have written a vbs script to copy a shortcut the the logged in users desktop, but it isnt running..

 

The advertisement works fine & the package copies down to the clien fine, but it does not run.

 

If I navigate to the SCM\CACHE folder I find the app ok, and if I run it manualy it works fine, its like SCCM cannot run .vbs?

 

Any help would be great

 

Keith

 

Well its seems that your commandline in your package is wrong somehow.

Look in the execmgr.log when executing the advertisement.

 

A tip though is to run it like this: cscript.exe <scriptname>.vbs

 

 

 

  • Author

Tha command line and script are both correct,

as I said if I run the app manualy after its downloaded to the machine it works fine

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.