SetupComplete.cmd
@echo off
cd\
start /wait regedit.exe /s c:\windows\setup\vistaregsettings.reg
exit
vistaregsettings.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
“ConsentPromptBehaviorAdmin”=dword:00000000
[HKEY_CLASSES_ROOT\Folder\shell\Cmd Here]
@=”Command &Prompt”
[HKEY_CLASSES_ROOT\Folder\shell\Cmd Here\command]
@=”cmd.exe /k pushd %L”
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
“DisablePagingExecutive”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SL]
“SkipRearm”=dword:00000001
;1st setting – Turn off UAC Prompt for Admin Elevation
;Next 2 settings – Create a Command Prompt entry on the right click menu
;4th setting – is to put the Windows Kernel in memory. Only do this if you have more than 512MB of RAM
;5th setting – setting this to 1 allows for 8 “rearmings of activation” in Vista Business and Ultimate editions.
;A setting of zero allows for only 3 rearms.