Solved

Easy way to export all certificates

Posted on 2014-03-20
3
931 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IT Security & information risks with using Altova toolkits 11 91
HP Pavilion will not boot 15 79
Connect VMs in VirtualBox 4 30
Windows 7 slow login 3 16
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.

863 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

19 Experts available now in Live!

Get 1:1 Help Now