Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file assistance

Status
Not open for further replies.

aledid

IS-IT--Management
Sep 16, 2002
22
US
Hi,

I have written the batch file below to deleted system certificates. It works great if you want it to only run while logged in as the current profile.

I want it to delete the certificates for all the profiles on the computer. Can anyone assist me?

Batch file
##################

@echo off

echo Deleting wireless certificates - Please wait.
echo.
pause
c:
cd ""%userprofile%\Application Data\Microsoft\SystemCertificates\My\Certificates\"
attrib -s -h -r *.*
del /q *.*

echo Please shutdown and restart your computer!!!!

@echo off
pause
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top