{"id":345,"date":"2008-04-04T11:57:52","date_gmt":"2008-04-04T10:57:52","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=345"},"modified":"2008-04-04T11:57:52","modified_gmt":"2008-04-04T10:57:52","slug":"ficheiro-setupcompletecmd-exemplo","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=345","title":{"rendered":"Ficheiro SetupComplete.cmd (exemplo)"},"content":{"rendered":"<p><span style=\"font-size: x-small;\"><span style=\"color: #00008b;\"><strong class=\"bldTxtDrkBluLg\">SetupComplete.cmd<br \/>\n<\/strong><br \/>\n<\/span><\/span>@echo off<br \/>\ncd\\<br \/>\nstart \/wait regedit.exe \/s c:\\windows\\setup\\vistaregsettings.reg<br \/>\nexit<\/p>\n<p><!--more--><\/p>\n<p><strong class=\"bldTxtDrkBluLg\"><span style=\"font-size: x-small; color: #00008b;\">vistaregsettings.reg<\/span><\/strong><\/p>\n<p>Windows Registry Editor Version 5.00<\/p>\n<p>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System]<br \/>\n&#8220;ConsentPromptBehaviorAdmin&#8221;=dword:00000000<\/p>\n<p>[HKEY_CLASSES_ROOT\\Folder\\shell\\Cmd Here]<br \/>\n@=&#8221;Command &amp;Prompt&#8221;<\/p>\n<p>[HKEY_CLASSES_ROOT\\Folder\\shell\\Cmd Here\\command]<br \/>\n@=&#8221;cmd.exe \/k pushd %L&#8221;<\/p>\n<p>[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management]<br \/>\n&#8220;DisablePagingExecutive&#8221;=dword:00000001<\/p>\n<p>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SL]<br \/>\n&#8220;SkipRearm&#8221;=dword:00000001<\/p>\n<p>;1st setting &#8211; Turn off UAC Prompt for Admin Elevation<br \/>\n;Next 2 settings &#8211; Create a Command Prompt entry on the right click menu<br \/>\n;4th setting &#8211; is to put the Windows Kernel in memory. Only do this if you have more than 512MB of RAM<br \/>\n;5th setting &#8211; setting this to 1 allows for 8 &#8220;rearmings of activation&#8221; in Vista Business and Ultimate editions.<br \/>\n;A setting of zero allows for only 3 rearms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SetupComplete.cmd @echo off cd\\ start \/wait regedit.exe \/s c:\\windows\\setup\\vistaregsettings.reg exit<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-windows-vista","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":0,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}