Delete $NtUninstall* folders

  • Thread starter Thread starter Luis
  • Start date Start date
L

Luis

Hi all,

Is there a way to delete the $NtUninstall* folders using the command prompt?

I need it to create a batch file to do that.

Thanks!
 
ha, be careful.
I did this to try to clean up disk space. I was unable to remove
software afterwards. And other wierd things started to happen (cant
remember)
 
Here is a batch file that will do that:
(Change "C:" if necessary)

----------copy-inside-only----------
@echo off
for /d %%a in (C:\WINDOWS\$NtUninst*) do rd /s /q "%%a"
pause

----------copy-inside-only----------


ju.c
 
Using the %windir% or %systemroot% variable will take care of the drive
letter and Windows directory.
 

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

Similar Threads

$Ntuninstall 2
talking about updates... 25
$NtUninstall Folders 5
Files To Delete 2
Can these be deleted? 10
$NTUninstall folders 2
deleting temp files in C 4
Delete $NtUninstall$ folders? 2

Back
Top