/build/static/layout/Breadcrumb_cap_w.png

Scripted Disk Cleanup

New to all this, We just got a KBOX 1100, my lab manager is fixated on running defrag and diskcleanup as a scripted action, I set what files I want deleted using /sageset:1 then exporting the Registry. In kbox can I run the exported registry file as .bat? or do I need to set every key individualy?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: chrisgrim 15 years ago
Senior Purple Belt
0
It's really easy to make a policy script from a .reg file. If you go to Scripting->Configuration Policy, and then choose the Enforce Registry Settings wizard, you can just paste in the contents of your reg file and click Save. The wizard will automatically create a verify step that will check if all of the keys and values exist, and have the proper value. If one or more of them are missing or have the wrong value, the Remediation step will make them properly configured, adding keys and values as needed. All that is left is deciding which machines or groups of machines to target. The script can be scheduled or run immediately.

Hope that helps!

Chris Grim
Posted by: blambson 15 years ago
Senior Yellow Belt
0
Thats what I thought but I get Parse Errors: I can't add files or I would put the .reg file here also

no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{B50F5260-0C21-11D2-AB56-00A0C9082678}"'
no match for '@="{A9B48EAC-3ED8-11d2-8216-00C04FB687DA}"'
no match for '@="{8369AB20-56C9-11D0-94E8-00AA0059CE02}"'
no match for '@="{9B0EFD60-F7B0-11D0-BAEF-00C04FC308C9}"'
no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{C6E60B3B-CE5E-477a-84E7-8E522B3E6992}"'
no match for '@="{5A79987F-5D0A-425C-B70D-E49AD5B6BF23}"'
no match for '@="{7CBCC347-0EDA-40D1-B30B-ECB5BD6C8E11}"'
no match for '@="{effc2928-37b1-11d2-a3c1-00c04fb1782a}"'
no match for '@="{8E6E6079-0CB7-11d2-8F10-0000F87ABD16}"'
no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{5ef4af3a-f726-11d0-b8a2-00c04fc309a4}"'
no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{7325c922-bb81-47b0-8b2f-a5f8605e242f}"'
no match for '@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"'
no match for '@="{750fdf0f-2a26-11d1-a3ea-080036587f03}"'
no match for '@="{E96F5460-09CE-4f46-88B1-F4B6B4A8E252}"'
no match for '@="{67cf8cbd-e5c0-44f7-9de5-e1d599d626d8}"'
no match for '@="{E3BF1126-BA29-4850-AF33-5BDB654F4774}"'
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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