Solved

Easy way to export all certificates

Posted on 2014-03-20
3
1,347 Views
Last Modified: 2014-04-03
We are migrating PCs from Windows XP to Windows 7. As part of this process, I'd like to find a way to easily export all of the certificates in Windows XP so I can re-import them after Windows 7 is installed.

certmgr.msc will allow exporting, but I don't see a way to do it for all certificates. Is there an easier way to do this?

I'd love to hear about creative ideas.
0
Comment
Question by:Firstcom
[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
3 Comments
 
LVL 31

Accepted Solution

by:
Paranormastic earned 500 total points
ID: 39956140
This could be scripted using a bat file.  This may still require user interaction if any keys are protected by a pin.  If you need machine certs then remove the '-user' portion.


---------------------------------------------------

echo off
setlocal

FOR /F "Tokens=1,2 delims=:" %%1 IN ('certutil -user -store my ^| findstr /i /c:"Serial Number"') DO (
certutil -user -p PASSPHRASE -exportpfx my %%1 c:\PATH\%username%_%%1.pfx
)
0
 
LVL 9

Expert Comment

by:Ahmed786
ID: 39956191
i think u may have already resolved ur issue and thats y we haven't heard any feedback from u.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

628 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