(Windows app that sends data to Microsoft) ![]() REG ADD "%_RootKey%\Delivery Optimization Files" /v %_Group_No% /t REG_DWORD /d 00000002 /f :: Delivery Optimization Files (service to share bandwidth for uploading Windows updates) ::REG ADD "%_RootKey%\Content Indexer Cleaner" /v %_Group_No% /t REG_DWORD /d 00000002 /f :: Catalog Files for the Content Indexer (deletes all files in the folder c:\catalog.wci) REG ADD "%_RootKey%\BranchCache" /v %_Group_No% /t REG_DWORD /d 00000002 /f REG ADD "%_RootKey%\Active Setup Temp Folders" /v %_Group_No% /t REG_DWORD /d 00000002 /f SET _RootKey=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches :: Set all the CLEANMGR registry entries for Group #64 In the StateFlags NNNN key the 4 digits are the settings group number, as specified with /SAGESET: n padded to 4 digits. Not all of these options are supported in all editions of Windows, if on your machine there is no matching subkey under the Explorer\VolumeCaches root, then just REM out that line with :: You can then run them all at once by running CLEANMGR /SAGESETįor each opton, a dword set to 0 will disable the option, while 2 will enable it.Ĭomment out ( REM) any options in the script you don’t want to set by prefixing the line with :: ![]() The script below can be used to predefine a typical selection of cleanmgr options, this uses REG to pre-populate the regisitry with a group of settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |