Solved

Easy way to export all certificates

Posted on 2014-03-20
3
1,247 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 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
80072efd error while checking for updates. 20 98
Executing a script at Windows shutdown 7 56
WIndows 7 remote desktop issue 6 94
Changing Monitor IDs 3 54
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…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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.

752 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