Updates all over

While the XML Driven Logon Script hit version 4.00k, I decided to give the site an overhaul as well. After a smooth update to the latest and greatest WordPress engine, I manage to tweak the famous Kubrick theme to better suite my tastes, a wider main column, and different colours in the header. It is not big changes, but not much was needed.

After putting the logon script online earlier this year, the feedback I have received has been rewarding to say the least. Two ideas I would like to find time to implement, is a more modular version of the script, where administrators are able to tidy out actions and other optional components they do not need. This will help keep the size of the script down, which currently stands at 44 kb. Another idea is making it easier for everyone to customize the messages the script print out during execution. Administrators will thus be able to translate the script to their own native language.

When I will be able to find the time to implement the ideas above is hard to say, the weather is getting damn good here in Denmark, after all :)

5 Responses to “Updates all over”

  1. Kenneth Says:

    Hi Egil
    Any newz regarding your update to the Login script? – Im about to implement your version 4.00K but if you’r allmost done with the next update (which seems major) i think i’ll hold this one back – also if you need a beta tester please let me know
    And – yes i know the weather is really really excellent :D

    Br
    Kenneth

  2. Egil Hansen Says:

    Hi Kenneth

    Please go ahead and implement the script. The next update could indeed be major, but right now I do not know when I will have the time to work on it, summer, work, it is all taking up time these days :)

    Rest assure that I will keep as much as possible in the same format. The changes I have planned will not affect the layout of the logonrules.xml file in regards to actions and rules. I will probably add more sections to the xml file, but you should be able to just copy-past your existing rules into the new xml file – in other words, you will not wast your time by using the current version.

    Regards, Egil.

  3. Casper Says:

    Hello Egil.

    I seem to have stumbled accross a strange error message which I don’t know how to fix.

    On some users I get the following when using your script:

    “Your XML Document failed to load due to the following error
    Error #: -21477024843: Netværkstien blev ikke fundet.
    Line #: 0
    Line Position: 0
    Position in File: 0
    Source Text:
    Document URL: \\server\netlogon\logon\logonrules.xml”

    I know this seems like a network error and the user doesn’t have access to the file but indeed he does have access.

    This is however a user specific error because I’ve tried having him logon on to another computer and he gets the same error but I don’t.

    ———

    Another error I got is from Wscript.exe. I cannot find the answer via Google so perhaps you know how to get rid of it.

    This is happens to some users with your logon script:

    “Procedureingangspunktet GetProcessImageFileNameW blev ikke fundet i DLL-bibliotektet PSAPI.DLL”

    Regards

    Casper

  4. Egil Hansen Says:

    Hi Casper

    I have not seen that error with the xml file before. You point out that it is related to specific users, so this makes me think there are issues with the profile the user has, do you use roaming profiles on your network?

    In regards the wscript.exe error, I would go to microsoft.com and find the latest version Windows Scripting Host and (re)install it on the computers you are getting the error on.

  5. Bo Says:

    Hi Egil

    I have a suggestion to the mapDrive function.
    I allways found that it was nicer to name a mapped drive to something logical insead og the sometimes very long default naming. Therefore I suggest that you add a name attribute to the mapDrive action.
    I have a little script that I have used before if you are interested. Nothing as elaborate as yours though. :-)

    Thanks for a really good logonscript.
    Bo

Leave a Reply