{"id":708,"date":"2011-10-20T20:40:23","date_gmt":"2011-10-21T00:40:23","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=708"},"modified":"2011-10-20T20:40:23","modified_gmt":"2011-10-21T00:40:23","slug":"view-5-0-preseal-cleanup-script","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/scripting\/view-5-0-preseal-cleanup-script\/","title":{"rendered":"View 5.0 preseal-cleanup script"},"content":{"rendered":"<p>When composing a View Composer desktop there are a handful of tasks that need completed.  I created a script to help me keep this quick and consistent:<\/p>\n<pre><code class=\"language-dos\">\r\nREM Cleanup temp\/log files\r\ndel \/s %temp%\\*.* \/q\r\ndel \"C:\\Documents and Settings\\All Users\\Application Data\\VMware\\VDM\\*.*\" \/q\r\n\r\nREM Blank out the bginfo.bmp image while leaving permissions in tact\r\necho > C:\\WINDOWS\\bginfo.bmp\r\n\r\nREM Delete the McAfee GUID...a new one will be issued at boot up\r\nreg delete \"HKLM\\SOFTWARE\\Network Associates\\ePolicy Orchestrator\\Agent\" \/v AgentGUID \/f\r\n\r\nREM Release the IP address\r\nipconfig \/release\r\n\r\nREM Shutdown the workstation\r\nshutdown -s -t 5\r\n<\/code><\/pre>\n<p>Please leave a comment if there are any other ideas or additions you can think of!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When composing a View Composer desktop there are a handful of tasks that need completed. I created a script to help me keep this quick and consistent: REM Cleanup temp\/log files del \/s %temp%\\*.* \/q del &#8220;C:\\Documents and Settings\\All Users\\Application &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/view-5-0-preseal-cleanup-script\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-708","post","type-post","status-publish","format-standard","hentry","category-scripting","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=708"}],"version-history":[{"count":5,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/708\/revisions"}],"predecessor-version":[{"id":723,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/708\/revisions\/723"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}