Solved

SCCM OSD HTA File

Posted on 2016-08-26
2
70 Views
Last Modified: 2016-09-20
Hi All,

The interface needs to capture the following information:
•      User of the Device and/or location.  This will go in the AD “Description” field.
•      Employee’s ID.  This will need to go into the AD “EmployeeID” field in attribute.
•      The OU to put the device in correct OU.

All of that information needs to be written to AD during the image process, likely after the device joins the domain so we don’t have permissions issues.  That’ll mean storing as Task Sequence variables. the AD OU portion to be forced choice, meaning the tech’s will have a list to choose from (e.g. dropdown/combo box).

Can anyone please provide a script or HTA file
0
Comment
Question by:Gaurav Singh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
Mike T earned 500 total points (awarded by participants)
ID: 41772913
Hi,

That's a very ask, especially for free! I once re-wrote a HTA that joined the domain and validated the name, but nothing as complex as what you are asking.

The fundamental problem with each piece of info is that you are asking a human to type into a free form field, and with the best will in the world, people make mistakes and mis-type data or worse, get lazy and type any old rubbish just to get rid of the form. Most of the effort I spent on the HTA was to use a regular expression to heavily restrict what anyone could enter.

Do you have any such restrictions? Not allowing symbols (only alpha-numeric) is probably top of the list.

With regards the AD user, location and Employee ID, this requires an account setup with write permissions to AD. How do you use the info later? I'm just wondering how necessary it is. I've found that managers ask for X and it's done and no-one ever, ever makes use of the info.
It also predicates that machines belong to specific users and never move. Is that really true?

As for the Move OU step, that's the easiest, with a VBS script and a parameter, but how many OUs do you have to move to? I generally worked on systems that kept it simple: one OU that was either desktop or laptop. This meant machine types were treated equally, so it didn't matter what role users do.

You need to give a bit more detail, as above.

Mike
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41806187
This question is really more suited to a consultancy piece of work - i.e. not free; I can give advice but don't have time or resources to give a full solution and neither do other experts.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question