Reputation: 63
I need to start "certmgr.msc" from "cmd.exe" on "localMachine" repository so that I can import\export certificates. I have tried the following commands but the "certmgr.msc" keeps opening on "currentUser".
certmgr.msc -s -r localMachine root
mmc.exe certmgr.msc -s -r localMachine root
certmgr.msc -v -s -r localMachine my
Upvotes: 5
Views: 16624
Reputation: 1
mmc.exe certlm.msc -s -r localMachine root
It should work - Tested on win2012r2
Upvotes: 0
Reputation: 2346
Below should start MMC console with both nodes CurrentUser & Local Computer
certificates.msc
Upvotes: 0
Reputation: 1
Create custom console by adding Certificate snapin and targeting it to local computer. Then save this console to .mmc file. You can refer this saved file in command line. Can also distribute this custom console to other machines.
Upvotes: 0
Reputation: 8867
This should do it
"C:\WINDOWS\SYSTEM32\MMC.EXE" "C:\WINDOWS\SYSTEM32\CERTLM.MSC"
Upvotes: 6