still working:
Use these lines to get your windows system cleaned up a bit and free your disk from old temporary and backup files:
RD %temp%\ /S /Q
rd /s /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\VSEQT\QTController
rd %windir%\temp\ /s /q
rd C:\TEMP\ /s /q
rd C:\Quarantine /s /q
rd "%userprofile%\AppData\Local\Temp\" /s /q
del C:\Windows\Installer\.tmp
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.0\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.5\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\WebsiteCache\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2005\Backup Files\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2008\Backup Files\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2010\Backup Files\"
RD /S /Q "%userprofile%\AppData\Local\assembly\dl3\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\8.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\9.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\11.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\12.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\13.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\14.0\ProjectAssemblies\"
rem based on http://wiki.winboard.org/index.php/Datentr%C3%A4gerbereinigung_automatisieren
rem use "cleanmgr /sageset:123" to configure cleanmgr
cleanmgr /sagerun:123
pause
Use these lines to get your windows system cleaned up a bit and free your disk from old temporary and backup files:
RD %temp%\ /S /Q
rd /s /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\VSEQT\QTController
rd %windir%\temp\ /s /q
rd C:\TEMP\ /s /q
rd C:\Quarantine /s /q
rd "%userprofile%\AppData\Local\Temp\" /s /q
del C:\Windows\Installer\.tmp
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.0\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.5\Temporary ASP.NET Files\"
RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\WebsiteCache\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2005\Backup Files\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2008\Backup Files\"
RD /S /Q "%userprofile%\Documents\Visual Studio 2010\Backup Files\"
RD /S /Q "%userprofile%\AppData\Local\assembly\dl3\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\8.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\9.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\11.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\12.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\13.0\ProjectAssemblies\"
RD /S /Q "%userprofile%\AppData\Local\Microsoft\VisualStudio\14.0\ProjectAssemblies\"
rem based on http://wiki.winboard.org/index.php/Datentr%C3%A4gerbereinigung_automatisieren
rem use "cleanmgr /sageset:123" to configure cleanmgr
cleanmgr /sagerun:123
pause
Kommentare