TechnicallyChris.com

Technical and Personal Ramblings of a Bostonian
  • Home
  • About Chris
  • Donate
  • Contact Chris
Home > McAfee EE / SafeBoot > McAfee EE / SafeBoot AutoIt UDFs

McAfee EE / SafeBoot AutoIt UDFs

March 11th, 2009
Goto comments Leave a comment

Hi Everyone,

After searching around the McAfee Community and the AutoIt3 Forums, it would seem as though no one has released User Defined Functions for McAfee Endpoint Encryption, so I decided to write some (since I’d need them anyway).

Please know that this is my first release of these functions and that they are not supported (by myself, SafeBoot, McAfee, or anyone) that that you should use them at your own risk.  I can tell you that I’ve used them in production without issue, but your results may vary.  Please test and plan accordingly.

The functions include:

EEPCRegisterCOM: This will register the sbadmcom.dll.  This file will already need to be installed on the client PCs for any scripts you run to work.  It includes the default path to the DLL but allows you to change it by adding your path as a parameter.

EEPCUnregisterCOM: This unregisters the sbadmcom.dll file (regsvr32.exe /u).  While I can’t think of any reason that you’d need to do this, it seemed like if I’m going to write a function to register the COM, I should have one to unregister it.

EEPCConnect: This function creates a persistent connection to the database and returns a connection ID that you’ll need to use in order to send a command to the database.  You should only need to connect once in your script before you can issue commands.

EEPCDisconnect: This disconnects you from the EEPC database.  I’ve found in testing that when the script terminates the connection does to, but I like being clean.

EEPCExecute: This is the meat of the functions.  This allows you to send a command to the database.  You can pass along an array of parmaters if the command requires it.  If the result is complex, such as a list of computers, you can currently only get that data by parsing the XML manually.  For more simple responses, such as a ResultCode or the response to GetAdminLevel, you can return that directly to the calling variable.  I plan to expand upon this in the future so that you can do more with the results.

If you’re looking for the types of commands you can send to the database, please refer to the Admin Scripting Guide that comes with the McAfee Endpoint Encryption or SafeBoot software.  I’ll try and post a few sample scripts in the next couple of days so you can see how I use this script.

You can download this script here: McAfeeEndpointEncryption.au3.

If you want to send this link to others, please send them to this post or blog and not directly to the file.  Please feel free to comment and include any suggestions, I’d be happy to include them in future releases!

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
Ignoring Netware Tree or Server Error with SafeBoot BlueDragon 7 Dynamic Datasource Creation
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.