Sign in with
Sign up | Sign in
Your question

Scripting EFS certificat export

Last response: in Windows XP
Share
July 18, 2005 4:05:27 PM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

Hi,

Does anyone know if there is some way to script the process to export
user certificate? We know using Certificate MMC Snap-in to export user
EFS certificate and private key. Because the process involves so many
steps and technology terms and words, regular users don't even have a
clue when checking the options. Ideally we would like to create a
script and give the users the only option to enter their password when
exporting the EFS certificate.

Anyone, particularly MS online support, knows what API calls we can use
in a VBscript to do this work?


Thanks in advance,

Dean
Anonymous
a b 8 Security
July 18, 2005 9:13:02 PM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

<deanc@wagged.com> wrote in message
news:1121713527.126406.289970@g43g2000cwa.googlegroups.com...
> Hi,
>
> Does anyone know if there is some way to script the process to export
> user certificate? We know using Certificate MMC Snap-in to export user
> EFS certificate and private key. Because the process involves so many
> steps and technology terms and words, regular users don't even have a
> clue when checking the options. Ideally we would like to create a
> script and give the users the only option to enter their password when
> exporting the EFS certificate.
>
> Anyone, particularly MS online support, knows what API calls we can use
> in a VBscript to do this work?
>
>
> Thanks in advance,
>
> Dean
>

There is a command line program "cipher" which could be called from a
script. Type cipher /? at a cmd prompt for details. The online docs and XP
help don't have all the switches documented. Cipher /x should do the trick.

Kerry
July 25, 2005 2:55:51 AM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

Thanks Kerry!
Anonymous
a b 8 Security
July 25, 2005 3:09:35 AM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

<deanc@wagged.com> wrote in message
news:1122270951.061495.64630@g43g2000cwa.googlegroups.com...
> Thanks Kerry!
>

Your welcome. Make sure you test restoring the keys exported this way. EFS
is full of pitfalls for the unwary.

Kerry
!