TechnicallyChris.com

Technical and Personal Ramblings of a Bostonian
  • Home
  • About Chris
  • Donate
  • Contact Chris
Home > McAfee EE / SafeBoot > Map Users for McAfee Endpoint Encrytion using AutoIt

Map Users for McAfee Endpoint Encrytion using AutoIt

March 24th, 2009
Goto comments Leave a comment

Below is a sample of how to map users to computers using an AutoIt script and the _McAfeeEndpointEncryption UDF. It’s not nearly as robust as the AutoDomain script, but may meet some need.

In a nutshell, the script loops over NetworkProfiles from WMI, and for each one first determines if they’re on the proper domain or not, and then see’s if the account already exists in the database. If the account is in the domain specified and already exists in the database, it maps the user to the computer. In my environment I run this immediately after the installation of the client but before the first reboot so that the users are ready after the encryption begins.

To use this script in your environment you’ll want to change:

  • Change LogDir to your own local log folder (if you care to).
  • Add your own username and password for the EEPCConnect.
  • Add your own domain(s), replacing OURDOMAIN.

This script uses the sAMAccountName of the user from WMI, so you may have to tweak it if you use another format for the user. Also, if the user doesn’t already exist in the database, we skip the mapping – you could easily issue a CreateUser command to have the user created and then mapped if you liked.

You can download this script from here.

If you enjoyed this article or it helped you in any way, I’d appreciate it if you’d post a comment below to let me know. All code examples are for demonstration only and should be used at your own risk. I cannot accept liability for unexpected results.

Chris McAfee EE / SafeBoot McAfee Endpoint Encryption, SafeBoot

Comments (0) Trackbacks (0) Leave a comment Trackback
  1. No comments yet.
  1. No trackbacks yet.
Subscribe to comments feed
Problems with WP-Syntax Plugin (GeSHi) with AutoIt Accepting MSN Zone Game Invites in Windows Vista
RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Sponsored By

Recent Posts

  • Just Bought the Google Nexus One
  • Seven Things I’ve Liked About Windows 7 in Seven Day
  • What’s Happened to Customer Service (Part 2)?
  • What’s Happened to Customer Service (Part 1)?
  • Capturing S.M.A.R.T. Hard Disk Data from WMI with AutoIt
  • Adjusting DCOM Settings via Script
  • How to Manually Call the Google Cache
  • RoboForm & RoboForm2Go Product Review
  • Updated PingCell Function for Excel
  • Creating Hyperlinks in Word and Excel Longer than 256 Characters

Categories

  • ColdFusion
  • Firefox
  • Google Nexus One
  • IIS
  • McAfee EE / SafeBoot
  • Microsoft Windows
  • Oracle
  • Random Code
  • Random Technology
  • Sports and Recreation
  • Subversion
  • The Untechnological

Archives

  • January 2010
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • October 2007
  • September 2007
  • August 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006

Meta

  • Register
  • Log in
PageRank
Top WordPress
Copyright © 2006-2010 TechnicallyChris.com
Theme by mg12. Valid XHTML 1.1 and CSS 3.