Solved

Easy way to export all certificates

Posted on 2014-03-20
3
829 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
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Ahmed786
ID: 39942400
0
 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now