View RSS Feed


  1. VB Script to set Java security level to medium

    by , 28th October 2013 at 02:45 PM
    Long story short, Java started including an expiration timer on JRE releases. So many days after a release, regardless of update settings, a dialog will start popping up asking the user to update. This really isn't an issue, but with it JRE will stop running unsigned code. Many sites that my teaching staff have come to rely on have unsigned Java apps, and keeping over 500 frozen wireless laptops up to date every time a new version of JRE is released isn't really feasible. So enters VB script ...
    VB Script
  2. VB Script to disable the Java IE plugin

    by , 4th March 2013 at 07:50 PM
    Java has been an extreme pain in the neck as of late with the constant updates. Many sources are calling to uninstall it, but unfortunately many of us don't have the luxury of doing that. So the next best thing besides pushing out a stream of updates (that are already exploitable out of the box) you can do is to disable the Internet Explorer plugin. The ability to run Java within a browser is something that isn't needed in my district; all that is needed is for Java Web Start to handle the JNLP ...
    VB Script
  3. VB Script to snoop DHCP logs

    by , 1st February 2013 at 04:39 PM
    A forum post got me to thinking about a script to parse DHCP logs to notify someone when a particular MAC checks in with the server. You can run this script as a reoccurring task on the DHCP server and when it finds a match for the desired MAC it will send an email regarding the activity. This script will also keep a log of its own to prevent multiple email messages for the same log entry it finds. I've run this in a production environment with an internally hosted Exchange server and it works. ...

    Updated 26th February 2014 at 06:55 PM by Duke5A

    VB Script
  4. Squid Proxy and Youtube for Schools

    by , 14th December 2012 at 04:24 PM
    Getting Youtube for Schools to work is something that is either easy, or an extreme PITA; which is entirely dependent upon what you use for a proxy. If you're reading this, then you know Squid falls in the ladder of those two scenarios.

    There are two ways to go about doing it: adding a custom HTTP header, or rewriting the URL on the fly. The cleanest way is using the custom HTTP header, but as of Squid 3.1 it doesn't natively support adding custom headers. You can only change existing ...

    Updated 14th December 2012 at 04:40 PM by Duke5A

  5. Getting the UUID from a running Windows machine, or a computer's AD object

    by , 25th September 2012 at 04:27 PM
    Quote Originally Posted by Duke5A View Post
    I was having issues with this too using WDS. The UUID is stored in the netbootguid property in the machine's computer object. If you were ever curious enough to want to find out what it is you can use this script:

    strLDAPComp = "LDAP://CN=machinename,OU=example computers,DC=example,DC=com"
    Set objComp = GetObject(strLDAPComp)
    Msgbox "AD UUID:" & ConvertObjectGuidToString(objComp.netbootguid)
    Function ConvertObjectGuidToString(ByVal
    VB Script
  6. VB Script for network printer deployment

    by , 20th August 2012 at 01:48 PM
    VB script may be showing its age, but it's still incredibly useful. Printer deployment at my district is handled by means of a VB script that collects various bits of information that is then used to determine who gets what printers; said bits of information include: username, user group membership, user LDAP path, AD site name, computer name, computer group membership, and computer LDAP path. Obviously you don't need to use all of this, but this script will still pull it out for you and you can ...

    Updated 4th September 2012 at 09:16 PM by Duke5A

    VB Script
  7. VB script for creating student drop boxes

    by , 7th August 2012 at 07:24 PM
    A lot of our staff use drop boxes pretty heavily for student assignments. A drop box is pretty much a share that looks somewhat like this:

    -Building 01
       -Staff Member A
         +Drop Off
      +Staff Member B
      +Staff Member C
      +Staff Member D
    +Building 02
    Every staff member of a particular building (or group) will have a folder on a share named by their last name, and under said staff name will ...

    Updated 20th August 2012 at 02:02 PM by Duke5A

    VB Script
  8. Card Readers and Mapped Network Drives

    by , 16th April 2012 at 07:32 PM
    Just this past Easter break I was tasked with installing about 60 or so new machines in the media centers in our district. It wasn't until the end of the deployment that I discovered that mapped drives assigned via the login script weren't working properly as the card readers were taking up the letters. Moving the mapped drives higher up in the alphabet wasn't going to fly as it would affect every user on the network, and there wasn't any group policy setting that would allow you to set the first ...

    Updated 16th April 2012 at 07:35 PM by Duke5A