IT Management Suite

  • 1.  Logon Script with Wireless

    Posted Jun 21, 2011 06:48 PM

    Hi everyone,

    I have a problem with Logon Script ( I need install Altiris Agent across Script ) , in the Laptos connected with wireless it's not executed, someone have any idea to solve this?

    In the desktop computers the Script it's executed sucessfully.

    Thank you in advanced!!!

     



  • 2.  RE: Logon Script with Wireless

    Posted Jun 22, 2011 09:26 AM

    generally only work when you contact a domain controller, and if by using wireless, you mean VPN this most likely doesn't happen. You could try making the same script a startup script via GPO, although the clients will still need to be notified of it. The startup script, once it gets replicated shouldn't need the domain controller piece login scripts do.



  • 3.  RE: Logon Script with Wireless

    Posted Jun 22, 2011 10:50 AM

    Hi,

    I have configured startup Script via GPO in Active Directory but it isn´t executed, this only happens with wireless conection.

    Other idea from to solve this?


    Some blogs suggest to add a command to validate network connection before running the script, but I don't know what command use to do this. 

    Thank you



  • 4.  RE: Logon Script with Wireless

    Posted Jun 22, 2011 11:05 AM

    Have you run this same script manually on a wireless computer, using the exact same commands?  Does it work?

    You can validate the network connection, it all depends how you want to do this.  Here's an example that maps a drive and provides the credentials (not incredibly secure) and then checks to make sure the directory exists before proceeding.

     

    net use z: /delete
    net use z: \\server.domain.com\share\software\ password /USER:domain\username
    IF EXIST Z:\AltirisInstall GOTO ismapped ELSE GOTO isnotmapped
    :isnotmapped
    SET ERRORLEVEL=123
    EXIT
    :ismapped
    (proceed with script)



  • 5.  RE: Logon Script with Wireless

    Posted Jun 22, 2011 11:14 AM

    How about using WMI - starting with the Win32_NetworkAdapter class to find out which adapters are present, then go on to see if any wired ones are active....



  • 6.  RE: Logon Script with Wireless

    Posted Jun 22, 2011 11:24 AM

    Hi,

    If I executed the script locally this executed correctly, but when I add at AD to run via logon script no longer runs (and only happens with wireless equipment, with which are connected by cable works fine).

    Greetings!!!



  • 7.  RE: Logon Script with Wireless

    Posted Jun 27, 2011 09:51 PM

    You need to add the laptops on the domain. Please check if the computer names are listed on the AD.