You can simply use the eepc5 API - getcryptstate. It will tell you if eepc is active, what's encrypted etc.
not sure what version if youre using 5.X you can use sbadmc as mentiond on KB71222 https://kc.mcafee.com/corporate/index?page=content&id=KB71222&pmv=print
Thanks all for your reply. We have EEPC 5.2.12
I have now copied the 3 files in my WinPE image, but nothing happen even with this:
sbadmcl -command:getcryptstate <drive>:\encryptstate.txt
Question: does the dll needs a registration ? because an error is raised with resgvr32 (I suppose it is not allowed to do that in WinPE ...).
Should I export the registry on my PC, and import the reg when building the new WIM ?
No. You don't need to register if you are using the exe, only for com.
But you need an entire client installed, along with the eepc drivers etc - those three files alone are not enough.
Sorry to get back so late.
Is there a way and is it possible to install all the client in WinPE ?
Can I just copy all the installed files from a client into the WINPE image ?
yes, but you need the drivers installed properly - just build a WinTech PE image, that should be enough to support the API - if not just add a full client directory to the mix.
I have created a WinPE 3.x disk and installed the Safeboot (220.127.116.11) drivers and client files. When I run the -GetCryptState it simply returns:
McAfee Endpoint Encryption Scripting Tool
Copyright © 1991-2010 McAfee, Inc. All Rights Reserved.
Executable version : 18.104.22.168
DLL version : 22.214.171.124
Command = GetCryptState
ResultCode = 0x00000000
ResultDescription = The operation completed successfully.
It doesn't actually tell me the crypt state.
I want to detect if a disk is encrypted by 5.x. If it is encrypted I want to authorize/authenticate the disk using the SB user / password encrypted in my WinPE disk. How can I accomplish this using SBADMCL.EXE instead of the manual WinTech process to Authorize & Authenticate?
Since you already run wintech cd why not launch wintech and check disk information?
"Disk Information" doesn't require authorize code & authenticate.. Just press cancel when authorize box apear then go to disk information..
You cant I'm afriad - there is no command line tool to authenticate and mount a drive - you can only do that from the WinTech GUI.
Now I understand more what you're trying to do - I don't think it's going to be possible. You need to either boot through the pre-boot auth screen, or use WinTech to get access to the data on the drive - the latter is not possible through a script.
Maybe discuss with your platinum support team and see if you can raise a product enhacement request?