Guest Jeff Posted September 17, 2007 Posted September 17, 2007 Hey The windows directory of my win2k3 machine has plenty of folders (in blue color) with names like $ExchUninstallKBxxxx$, $NtServicePackUninstallNLSDownlevelMapping$ and $NtUninstallKBxxxx$ These folders take up about 800MB on the server. From what I know these folders contain info so patch can be uninstalled.. but I'm satisfied with how the system works right now and have no planes of uninstalling those win2k3 patches... Is it okay to remove those folders or will it cause some other problems? Maybe I instead could burn those folders onto a DVD... so burn them to DVD and then delete them from Windows directory? Jeff
Guest Meinolf Weber Posted September 17, 2007 Posted September 17, 2007 Re: okay to remove $NtUninstallKbxxxxxx$?? Hello Jeff, If you are sure that you will not uninstall the patches you can delete them. If you like to keep them you can ofcourse burn them to disk. You can also check the softwaredistribution folder for the size. Also that content you can safely delete, it will be recreated when you update the server again from MS website. For deleting stop the automatic update service. Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. > Hey > > The windows directory of my win2k3 machine has plenty of folders (in > blue color) with names like $ExchUninstallKBxxxx$, > $NtServicePackUninstallNLSDownlevelMapping$ and $NtUninstallKBxxxx$ > > These folders take up about 800MB on the server. From what I know > these folders contain info so patch can be uninstalled.. but I'm > satisfied with how the system works right now and have no planes of > uninstalling those win2k3 patches... > > Is it okay to remove those folders or will it cause some other > problems? Maybe I instead could burn those folders onto a DVD... so > burn them to DVD and then delete them from Windows directory? > > Jeff >
Guest Mathieu CHATEAU Posted September 17, 2007 Posted September 17, 2007 Re: okay to remove $NtUninstallKbxxxxxx$?? Hello, i prefer to use this script that also clean up the registry and let some vital folder that may be removed by mistake: Set oShell = CreateObject("WScript.Shell") Set oFSO = CreateObject("Scripting.FileSystemObject") sWinDir = oFSO.GetSpecialFolder(0) Set oFolder = oFSO.GetFolder(sWinDir) Set oDictionary = CreateObject("Scripting.Dictionary") For Each oSubFolder In oFolder.SubFolders sFolderName = LCase(oSubFolder.Name) sFolderPath = LCase(oSubFolder.Path) If Left(sFolderName, 13) = "$ntuninstallq" _ Or Left(sFolderName, 14) = "$ntuninstallkb" Then ' get the update name for the registry delete sUpdateName = Mid(sFolderName, 13, Len(sFolderName) - 13) ' never delete folders/files while enumerating a file/folder collection ' adds them to a dictionary object for later handling instead oDictionary.Add sUpdateName, sFolderPath End If Next sDeleted = "" For Each sUpdateName In oDictionary.Keys sDeleted = sDeleted & vbCrLf & sUpdateName sFolderPath = oDictionary.Item(sUpdateName) On Error Resume Next ' remove entry in Add/Remove Programs oShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\" _ & "CurrentVersion\Uninstall\" & sUpdateName & "\" On Error Goto 0 ' delete the uninstall folder oShell.Run "%Comspec% /C RD /S /Q " _ & Chr(34) & sFolderPath & Chr(34), 0, True Next -- Cordialement, Mathieu CHATEAU http://lordoftheping.blogspot.com "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message news:ff16fb66561a28c9c73530e903e6@msnews.microsoft.com... > Hello Jeff, > > If you are sure that you will not uninstall the patches you can delete > them. If you like to keep them you can ofcourse burn them to disk. You can > also check the softwaredistribution folder for the size. Also that content > you can safely delete, it will be recreated when you update the server > again from MS website. For deleting stop the automatic update service. > > Best regards > > Meinolf Weber > Disclaimer: This posting is provided "AS IS" with no warranties, and > confers no rights. > >> Hey >> >> The windows directory of my win2k3 machine has plenty of folders (in >> blue color) with names like $ExchUninstallKBxxxx$, >> $NtServicePackUninstallNLSDownlevelMapping$ and $NtUninstallKBxxxx$ >> >> These folders take up about 800MB on the server. From what I know >> these folders contain info so patch can be uninstalled.. but I'm >> satisfied with how the system works right now and have no planes of >> uninstalling those win2k3 patches... >> >> Is it okay to remove those folders or will it cause some other >> problems? Maybe I instead could burn those folders onto a DVD... so >> burn them to DVD and then delete them from Windows directory? >> >> Jeff >> > >
Recommended Posts