/build/static/layout/Breadcrumb_cap_w.png

disk clean up

disk clean up


0 Comments   [ + ] Show comments

Answers (5)

Posted by: dugullett 11 years ago
Red Belt
5

7


Comments:
  • Remember to form your answer in the form of a question.
    http://www.jeopardy.com/beacontestant/contestantsearches/ - SMal.tmcc 11 years ago
    • Nuke it from orbit, it's the only way to be sure. - jknox 11 years ago
Posted by: tshupp 11 years ago
3rd Degree Black Belt
1

Microsoft offers a crowd-sourced repository for scripts. If you're looking for "clean up" scripts, you can check here:

http://gallery.technet.microsoft.com/scriptcenter/site/search?f[0].Type=Tag&f[0].Value=Temp%20files&f[0].Text=Temp%20files

 

Posted by: nshah 11 years ago
Red Belt
0

Was someone just looking for the points when posting a questions???? Come on...admit it =)


Comments:
  • hey you just got points for answering - SMal.tmcc 11 years ago
Posted by: Strangeronfire 11 years ago
Senior Yellow Belt
0

I would run sageset:1 on a test box built for this purpose, then export the registry key for sageset [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches] to a network drive accessable to the target machine.

create a "verify" batch file in kbox scripting that will import that sageset registry key.  for example mine looks like this "regedit /s \\roadster\IT-Systems\xpscripts_donotdelete\sageset.reg"  Replace \\roadster\it-systems... with the path to your sageset registry key

then create an "on success" script that will run disc cleanup with the parameters you selected on your test box.  I chose "on sucess, run a batch file" and typed in "c:\windows\system32\cleanmgr.exe /sagerun:1"  that referenced the settings that were imported by the first step above.

I'm assuming you're using the KBOX 1000 scripting for this, otherwise the commands are a bit more convoluted but doable.  Hope this helps

Posted by: OSILayer3 11 years ago
White Belt
0

DBan it! 

http://www.dban.org/

 


Comments:
  • hahahaha. I'm sure he isn't trying to nuke the contents. I'm assuming he is just wanting a disc cleanup script that can be pushed out to multiple computers. - Strangeronfire 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ