hta

Grant External Account Permissions to Modify Delegates

This HTA applet allows you to grant extended AD permissions to a specific user. I use it to assign permissions to the Associated External Account of an AD user rights to modify their own delegates.

I found what values I needed by configuring a single user with permissions, then using Richard's DACL export script to dump that user. I then modify the script (see line 248) to match the permissions I want to grant.

Assign Secondary Account Permissions to Distribution Lists in Exchange 2003

Screen Shot of HTA in action.

The company I am working for has a slightly different security model than I've seen before. It is probably because the largest Exchange server I've supported previously only had 3,000 mailboxes. This one supports 10x that number, with plans to grow to over 100,000 mailboxes by this time next year.

DMV EPN Tool

The following script was developed to generate EPN requests for the CA DMV.
Nothing too fancy, simple HTA with VBscript to validate and format the data.

Update line 66 to your Requester code

Const RequesterCode = "Q1234"

It creates a local folder, and places the pre-formatted document in this folder for transmission to DMV for processing.

Exporting Exchange 2003 Mailbox Information

One of my peer departments is working on spamming the corporation. This internal spam, aka Corporate Newsletter, is to go out to everyone with a mailbox in the corporation. Unfortunately, a number of these people have abused their rights and their mailboxes are limited to receiving e-mail from only their managers.

Tool to Export DL Membership

Here is a small HTA applet that I have built to export the membership of various groups in Windows Active Directory. It provides some basic filtering (owner, specific OU, name contains), plus 3 modes of export, XLS, CSV, or HTML to screen. Beware, if you have office 2007, XLS is XLSX format.

To run this in your environment, it will need to be modified:
line 27 & 28

strHTML=strhtml&"<option value=""LDAP://dc=local,dc=corp"" >All OUs"
strHTML=strhtml&"<option value=""LDAP://ou=sub,dc=local,dc=corp"" >This SUB OU Only"

Creating a fancy Outlook signature

Sure creating a signature in Outlook is easy. Open Outlook, type in some information, change a few settings and you'll have a decent looking signature. Now, if you want to include a graphic (like a company logo), or use HTML, you have to get a bit more fancy.

Sudoku Solver!

While watching a rerun of NUMB3RS on TV, the mathmatician, Charlie, suggested to his dad that he should just right an algorithm to solve the Sudoku puzzles. Hmm, I could do that!

I started out writing a short vbscript that would attempt to solve the puzzle.

  1. Find the possible values for each square and populate all the squares with only 1 possible value.
  2. Find the squares, where only 1 square in the 3x3 grid can have a specific value, and populate those squares.
  3. Find the squares where the rows and columns do not have conflicting possible values to one in this square.
Syndicate content