Bobby
asked on
batch file to delete certificates
On one of our W2k8 terminal servers, a certain certificate keeps getting installed, and I have to go into internet options to delete it. Somehow it hoses all http requests to the server itself, and bogs down all connections. That’s how I know when to go in and delete. I think it keeps getting installed via somebody opening an email from the federal government, whom we do business with.
Is there a way to programmatically delete that cert if it exists every hour?
Is there a way to programmatically delete that cert if it exists every hour?
Sure, create the batch file, then go into control panel, scheduled tasks, and set the process up to run every hour.
well your issue sounds a bit bizarre but if this fixes it, and you cant find the cause then i guess you could use
cer
cer
ASKER
twol, I am familiar with creating and running and scheduling batch files, the question is more where do the certs live and do they have permissions which will not allow deletion via batch?
twohawks… I was hoping to do this via simple batch file, without having to download more tools.
twohawks… I was hoping to do this via simple batch file, without having to download more tools.
ASKER
cer ?
Certutil -delstore
ASKER
Would Certutil -delstore delete all of them? I only want to delete a specific cert.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the assist points, QMBB.
ASKER
Thank you.