No announcement yet.

Logon/Logoff script format???

  • Filter
  • Time
  • Show
Clear All
new posts

  • Logon/Logoff script format???

    Can someone please let me know what scripting language is supported by the GPO's logon/logoff under...

    User Config > Windows Settings > Scripts (Logon/Logoff)

    I am trying to get a .bat file to run my .kix file but it will never run.

  • #2
    Re: Logon/Logoff script format???

    My google searches for an answer to this seem to be pointing to .wsh files being used, and .vbs files.
    But there has been no mention of .bat files not being supported.

    I am also right now changing the "Slow Link Detection" under computer config and user config to "Enabled" to see if that helps.


    • #3
      Re: Logon/Logoff script format???

      and it looks like i fixed it myself...

      After the "Slow Link Detection" was "Enabled" then the script ran correctly and my .kix file was applied.


      • #4
        Re: Logon/Logoff script format???

        no no no...

        i have LOGIN.BAT as my script i'm trying to run. and then inside the LOGIN.BAT i have...

        kix32 login.kix

        which runs kix32.exe, and then that runs the login.kix file.


        • #5
          Re: Logon/Logoff script format???

          Any Windows executable can be used. The box you enter the path into is basically the equivalent of a Run box. If all your batch script does is run Kix, then you could instead have the executable as Kix and its parameters as the script to run.

          The most common reason for this to fail though is when the path isn't specified or is specified incorrectly. From your posts though I'm not sure what problem exactly you're having, or if you're still having it...
          Gareth Howells

          BSc (Hons), MBCS, MCP, MCDST, ICCE

          Any advice is given in good faith and without warranty.

          Please give reputation points if somebody has helped you.

          "For by now I could have stretched out my hand and struck you and your people with a plague that would have wiped you off the Earth." (Exodus 9:15) - I could kill you with my thumb.

          "Everything that lives and moves will be food for you." (Genesis 9:3) - For every animal you don't eat, I'm going to eat three.