Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CertMgr.exe and update installCert.bat #6

Closed
sitiom opened this issue Jul 12, 2022 · 8 comments
Closed

Remove CertMgr.exe and update installCert.bat #6

sitiom opened this issue Jul 12, 2022 · 8 comments

Comments

@sitiom
Copy link

sitiom commented Jul 12, 2022

From roshkins#26 (comment):

Please remove certmgr.exe next time. You can replace the contents of installCert.bat with this:

@echo off

set CERTIFICATE="%~dp0IddSampleDriver.cer"

certutil -addstore -f root %CERTIFICATE%
certutil -addstore -f TrustedPublisher %CERTIFICATE%

pause
@sitiom
Copy link
Author

sitiom commented Jul 12, 2022

Works as intended when you Right Click > Run as admin:

image

@song-fangzhen
Copy link

song-fangzhen commented Sep 28, 2022

Hi, may I ask a newbie question: how can I generate the .cer file requested by the installCert.bat?
I try to write a makeCert.bat but it doesn't work:

.\makecert.exe -m 120 -r -pe -ss PrivateCertStore -n "CN=WDKTestCert" -eku 1.3.6.1.5.5.7.3.3 IddSampleDriver.cer

Any suggestions are appreciated!

@ge9
Copy link
Owner

ge9 commented Sep 28, 2022

Sorry, I don't understand what "generate the .cer file" means. You should be using the .cer file from the release page: https://github.com/ge9/IddSampleDriver/releases

@song-fangzhen
Copy link

@ge9 Thanks for your reply! I'm trying to make some modifications to the driver here and want to install the modified version. So I think I need a different .cer from https://github.com/ge9/IddSampleDriver/releases.

@song-fangzhen
Copy link

Never mind, I've found the related document on how to achieve that. Thanks anyway!

@KINGLIFER
Copy link

is there a way to uninstall this? Please and thank you.

@ge9
Copy link
Owner

ge9 commented Dec 15, 2022

I've never tried but roshkins#10 will do the job.
You may also need to remove certificates from the store.

@ge9
Copy link
Owner

ge9 commented Jun 13, 2023

fixed in release 0.0.1.3 .

@ge9 ge9 closed this as completed Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants