accidentally deleted DLLs in Windows directory

J

John Lau

Hi,

I accidentally ran a batch script from my other computer on the network, and
one of the actions was to delete DLLs in the current folder. I thought I
was running a script on my local machine. Well, I learned the hard way that
the default current folder is "C:\Windows" when you run a script on a
network drive! It deleted some of the DLLs on my local Windows folder!

Luckily, most of the affected DLLs are in c:\windows\$ntuninstall\ and
c:\windows\assembly\ and c:\windows\microsoft.net\framework\. I don't care
about the uninstall folders, and I've repaired my .Net framework and VS.Net.

However, there are a few other DLLs affected, and I'm wondering how to put
them back, or if it matters?

Also, since the uninstall folders are now corrupted, can I just delete them?

Windows seems to boot and run fine, and I would hate to reinstall Windows
XP. Any help would be greatly appreciated!

The affected files are:

c:\windows\icccodes.dll
c:\windows\kpcp32.dll
c:\windows\kpsys32.dll
c:\windows\opuc.dll
c:\windows\pfpick.dll
c:\windows\sprof32.dll

c:\windows\driver cache\i386\hccoin.dll
c:\windows\driver cache\i386\ksuser.dll
c:\windows\driver cache\i386\msyuv.dll
c:\windows\driver cache\i386\pid.dll
c:\windows\driver cache\i386\psisdecd.dll
c:\windows\driver cache\i386\wzcsapi.dll
c:\windows\driver cache\i386\wzcsvc.dll

c:\windows\help\sbsi\training\complinc.dll
c:\windows\help\sbsi\training\learn32.dll
c:\windows\help\sbsi\training\pctree32.dll

c:\windows\registeredpackages\...

Thanks,
John
 
R

roger

Hi,

Go to Start > Run > cmd
type
sfc /scannow (note the space between the c and the forward slash)

The program will ask for the XP CD, it might also need files from the
Windows\ServicePackFiles\i386 and Windows\System32\dllcache folders.

It will replace missing system files.

You might need to go to Windows Update after this.

Good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top