This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Scripting Policy: Location Trigger problem

Hi,
I am trying to set up a Scripting Policy that uses location triggers. The script itself works, I've tested it with the zenagent scripting diagnostic. (it launches an exe that changes the network address from dhcp to static)
Our locations are : INSIDE (if Static ip address), DHCP Pool (if DHCP address of our pool), and unknown (if any other address) which works fine.
The aim is that if the device switches from unknown to DHCP Pool location, the script which changes the ip address to static is executed (then after the execution of the script/exe the device should change to the INSIDE location).

The config of my policy is:
Script content:
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run("C:\\W7Install\\netconfig\\enableSTATIC.exe")

(X) Enable Location trigger
when switching from : Unkown
and
when switching to : DHCP Pool

Does anyone of you have experiences with this kind of policies?

Thanks in advance =)
  • 0
    YvesR,

    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.

    Has your problem been resolved? If not, you might try one of the following options:

    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)

    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php

    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.

    Good luck!

    Your Novell Product Support Forums Team
    http://forums.novell.com/