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 SkipVought 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
0
0
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

 
I think you'd get better answers in a different forum.

_________________
Bob Rashkin
 
Which forum should I go to here? I thought a programmer may be able to assist.
 
forum204 Basic: Micosoft -- you will find much about batch files.
 
Thanks bubba100. That does look like a better spot : )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top