The Deployment Guys

Helping to deploy your world automagically...

Sharing some simple HTAs

Sharing some simple HTAs

  • Comments 2
  • Likes

I was recently asked to share these files with a colleague, so I thought I would also share them with everyone via our blog.  I developed them a while ago for a deployment project and I have since used them a few times more.

Basically, they are 3 very simple HTA (HTML application) files that prompt the user for information in order to configure either a static IP address, change the local administrator password, or add a computer to a domain.  Of course, all of these actions can be accomplished directly via MDT, but I had to create them for a very specific reason where MDT could not be used to for this.  They were developed for a Windows XP deployment, so they have not been tested on Windows Vista but I can’t see why they would not work, as long as you ran them elevated.  You can be launch them directly from the task sequence in MDT by using the following command:

mshta.exe CUSTOM_Config_Network.hta

 

CUSTOM_Config_Network.hta

image

CUSTOM_Config_PWD.hta

image

CUSTOM_Config_Domain.hta

image

I have attached the 3 files to this post in a zip file.  Please bare in mind that they are pretty simple and don’t have the error checking for every possible error that might occur, so use at your own risk!

This post was contributed by Daniel Oxley a consultant with Microsoft Services Spain

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use.

Attachment: SimpleHTAs.zip
  • Biene muy bien estos ejemplos, Gracias por compartirlos, Daniel.

    Julian de CORREOS

    Salu2

  • These are pretty cool but why doesn't the Join Domain app have a spot for a user name? I know it's user the Administrator account for the domain but it seems like it would be more useful to have spot for a domain admin to enter their Username. Just my 2 cents.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment