$o = 1
If $MyOptions[1][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[1][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atapi\Parameters", "EnableBigLba", "REG_DWORD", "1")
EndIf
$o = 1
If $MyOptions[2][0][2] <> 0 Then
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "HideFileExt", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState", "FullPath", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState", "FullPathAddress", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders", "shell:SystemDriveRootFolder", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "StatusBarOther", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[2][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[2][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowAttribCol", "REG_DWORD", "1")
EndIf
EndIf
$o = 1
If $MyOptions[3][0][2] <> 0 Then
;网络中加入一个时间服务器3.asia.pool.ntp.org
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
$i = 1
$Temp1 = "-1";最大序号,=-2表示不要进行任何设置
Do
$Temp = RegEnumVal("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers", $i)
If @error = -1 Then
ExitLoop
EndIf
If $Temp > $Temp1 Then $Temp1 = $Temp
If RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers", $Temp) = "3.asia.pool.ntp.org" Then
$Temp1 = "-2"
ExitLoop
EndIf
$i += 1
Until 0
If $Temp1 <> "-2" Then
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers", String($Temp1 + 1), "REG_SZ", "3.asia.pool.ntp.org")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers", "", "REG_SZ", String($Temp1 + 1))
EndIf
EndIf
$o += 1
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa", "forceguest", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "NoNetCrawling", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa", "limitblankpassworduse", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
Run(@ComSpec & " /c " & 'netsh firewall add portopening tcp 139 "NetBIOS 会话服务" ENABLE SUBNET', "", @SW_HIDE)
Run(@ComSpec & " /c " & 'netsh firewall add portopening tcp 445 "TCP 上的 SMB" ENABLE SUBNET', "", @SW_HIDE)
Run(@ComSpec & " /c " & 'netsh firewall add portopening UDP 137 "NetBIOS 名称服务" ENABLE SUBNET', "", @SW_HIDE)
Run(@ComSpec & " /c " & 'netsh firewall add portopening UDP 138 "NetBIOS 数据报服务" ENABLE SUBNET', "", @SW_HIDE)
EndIf
$o += 1
If $MyOptions[3][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[3][$o][0], $TVGN_FIRSTVISIBLE)
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-87-00AA0060F5BF}")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}")
EndIf
EndIf
$o = 1
If $MyOptions[4][0][2] <> 0 Then
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore", "DisableSR", "REG_DWORD", "1")
RegWrite("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Srservice", "Start", "REG_DWORD", "4")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService", "Start", "REG_DWORD", "4")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc", "Start", "REG_DWORD", "4")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc", "Start", "REG_DWORD", "4")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ShellHWDetection", "Start", "REG_DWORD", "4")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardSvr", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WZCSVC", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\helpsvc", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProtectedStorage", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\seclogon", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MDM", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser", "Start", "REG_DWORD", "3")
EndIf
$o += 1
If $MyOptions[4][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[4][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks", "Start", "REG_DWORD", "3")
EndIf
EndIf
$o = 1
If $MyOptions[5][0][2] <> 0 Then
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3", "1601", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", "REG_SZ", "about:blank")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Enable AutoImageResize", "REG_SZ", "no")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "NotifyDownloadComplete", "REG_SZ", "no")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Security", "BlockXBM", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoInternetIcon", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\InformationBar", "FirstTime", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser", "ITBar7Position", "REG_DWORD", "1")
RegWrite("HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Toolbar\WebBrowser", "ITBar7Position", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing", "PopupsUseNewWindow", "REG_DWORD", "2");遇到弹出窗口时始终在新选项卡中打开弹出窗口
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing", "ShortcutBehavior", "REG_DWORD", "1");其他程序从当前窗口的新选项卡打开连接
EndIf
$o += 1
If $MyOptions[5][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[5][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\com.cn\www.icbc", "http", "REG_DWORD", "2");添加http://www.icbc.com.cn
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\com.cn\mybank.icbc", "https", "REG_DWORD", "2");添加https://mybank.icbc.com.cn
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\ecitic.com\creditcard", "https", "REG_DWORD", "2");添加https://creditcard.ecitic.com
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\ecitic.com\e.bank", "https", "REG_DWORD", "2");添加https://e.bank.ecitic.com
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\ecitic.com\enterprise.bank", "https", "REG_DWORD", "2");添加https://enterprise.bank.ecitic.com
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\update", "http", "REG_DWORD", "2");添加添加http://update.microsoft.com
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\microsoft.com\www.update", "http", "REG_DWORD", "2");添加http://www.update.microsoft.com
EndIf
EndIf
$o = 1
If $MyOptions[6][0][2] <> 0 Then
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
$Temp = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer", "ShellState")
If StringLen($Temp) < 67 Then
$Temp = "2400000033A80100000000000000000000000000010000000D0000000000000000000000"
EndIf
$Temp1 = StringLeft($Temp, 64) & "00" & StringRight($Temp, 6)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer", "ShellState", "REG_BINARY", $Temp1)
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}", "SortOrderIndex", "REG_DWORD", "84")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer", "Link", "REG_BINARY", "0x00000000")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "PaintDesktopVersion", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz", "NoRun", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour", "RunCount", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarGlomming", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarGlomming", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders", "shell:ControlPanelFolder", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaverIsSecure", "REG_SZ", "0")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "NoAutoReturnToWelcome", "REG_SZ", "1")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
Run("POWERCFG /G off /OPTION RESUMEPASSWORD", "", @SW_HIDE)
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
$i = 0
Do
$i = $i + 1
$Temp = RegEnumKey("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network" & $MyOptions[0][0][0], $i)
If @error = -1 Then ExitLoop
If StringLeft($Temp, 1) = "{" And StringRight($Temp, 1) = "}" And StringLen($Temp) = 38 Then
$MyOptions[0][0][1] = RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network" & $MyOptions[0][0][0] & "" & $Temp & "\Connection", "ShowIcon")
If @error = -1 Or $MyOptions[0][0][1] = "0" Then;找到一个未开启的
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network" & $MyOptions[0][0][0] & "" & $Temp & "\Connection", "ShowIcon", "REG_DWORD", "1")
EndIf
EndIf
Until 0
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
Run("RunDll32.exe shell32.dll,Options_RunDLL 1")
Do
Sleep($MySleep)
Until WinExists("任务栏和「开始」菜单属性")
Sleep($MySleep)
WinSetState("任务栏和「开始」菜单属性", "", @SW_HIDE)
Do
Sleep($MySleep)
ControlCommand("任务栏和「开始」菜单属性", "", "[ID:1107]", "Check", "")
Until ControlCommand("任务栏和「开始」菜单属性", "", "[ID:1107]", "IsChecked", "") = 1
Do
Sleep($MySleep)
ControlClick("任务栏和「开始」菜单属性", "", "[ID:1]")
Until Not WinExists("任务栏和「开始」菜单属性")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer", "EnableAutoTray", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[6][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[6][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Control Panel\International", "sLongDate", "REG_SZ", "yyyy'年'M'月'd'日'dddd")
EndIf
EndIf
$o = 1
If $MyOptions[7][0][2] <> 0 Then
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
$Temp = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}"
$Temp1 = "0000"
Do
$MyOptions[7][$o][1] = RegRead($Temp & $Temp1, "MasterDeviceType")
If @error = "0" Then;存在此值项
If $MyOptions[7][$o][1] = "0" And RegRead($Temp & $Temp1, "UserMasterDeviceType") <> "3" Then RegWrite($Temp & $Temp1, "UserMasterDeviceType", "REG_DWORD", "3")
If RegRead($Temp & $Temp1, "SlaveDeviceType") = "0" And RegRead($Temp & $Temp1, "UserSlaveDeviceType") <> "3" Then RegWrite($Temp & $Temp1, "UserSlaveDeviceType", "REG_DWORD", "3")
EndIf
$Temp1 = StringRight("0000" & String(Number($Temp1) + 1), 4)
$MyOptions[7][$o][1] = RegRead($Temp & $Temp1, "MasterDeviceType")
Until @error = 1
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
Run("regsvr32 /s /u zipfldr.dll")
Run("regsvr32 /s /u cabview.dll")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters", "EnablePrefetcher", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
Run("powercfg /h off", "", @SW_HIDE)
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
;~ StringMid(RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power", "AcPolicy"), 27, 2)<>"08";在按下计算机电源按钮时(&E):问我要做什么 08则已起作用
;~ RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power", "AcPolicy", "REG_BINARY", StringReplace(RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power", "AcPolicy"),27,"08",1))
;~ RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power", "DcPolicy", "REG_BINARY", StringReplace(RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power", "DcPolicy"),27,"08",1))
;~ $Temp=RegRead("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies")
;~ MsgBox(0, StringMid($Temp,27,2), StringMid($Temp,51,2))
;~ $Temp=StringReplace($Temp,27,"08",1)
;~ $Temp=StringReplace($Temp,51,"08",1)
;~ RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies", "REG_BINARY", $Temp)
;~ MsgBox(0, StringMid($Temp,27,2), StringMid($Temp,51,2))
Run("rundll32.exe shell32.dll,Control_RunDLL Powercfg.cpl,,9")
$TitleStr = "电源选项 属性"
Do
Sleep($MySleep)
Until ControlCommand($TitleStr, "电源使用方案", "确定", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlSend($TitleStr, "电源使用方案", "SysTabControl321", "+{RIGHT}")
Until ControlCommand($TitleStr, "高级", "确定", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlCommand($TitleStr, "高级", "ComboBox2", "SetCurrentSelection", 1)
Until ControlGetText($TitleStr, "高级", "ComboBox2") = "问我要做什么"
Do
Sleep($MySleep)
ControlClick($TitleStr, "高级", "确定")
Until Not WinExists($TitleStr, "高级")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug", "Auto", "REG_SZ", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DrWatson", "AppendToLogFile", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DrWatson", "CreateCrashDump", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DrWatson", "DumpAllThreads", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl", "CrashDumpEnabled", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl", "AutoReboot", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl", "SendAlert", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl", "LogEvent", "REG_DWORD", "0")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting", "DoReport", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting", "ShowUI", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "NoAutoUpdate", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Keyboard Layout\IMEtoggle\scancode")
$MyOptions[7][$o][1] = ""
$k = 1
Do
$k = $k + 1
$Temp = StringUpper(RegRead("HKEY_CURRENT_USER\Keyboard Layout\preload", $k));遍历输入法
If $Temp = "" Then ExitLoop
If $Temp = "E0010804" Or $Temp = "E0030804" Or $Temp = "E0040804" Then
Else
$MyOptions[7][$o][1] &= $Temp & "/"
EndIf
Until 0
$IMEList = StringSplit($MyOptions[7][$o][1], "/")
For $i = 1 To UBound($IMEList) - 2
RegWrite("HKEY_CURRENT_USER\Keyboard Layout\preload", $i + 1, "REG_SZ", $IMEList[$i])
$k = $i + 1
Next
Do
$k = $k + 1
If RegDelete("HKEY_CURRENT_USER\Keyboard Layout\preload", $k) <> 1 Then ExitLoop
Until 0
EndIf
$o += 1
;修改安装源路径
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
$IMEList = DriveGetDrive("FIXED")
For $k = 1 To $IMEList[0]
If StringUpper($IMEList[$k]) = "C:" Then ContinueLoop
If FileExists($IMEList[$k] & "\OS\PWINXP\I386\WINNT32.EXE") Then
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "SourcePath", "REG_SZ", StringUpper($IMEList[$k]) & "\OS\PWINXP\I386")
ExitLoop
EndIf
Next
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
Run("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3")
Do
Sleep($MySleep)
Until WinExists("系统属性")
WinSetState("系统属性", "", @SW_HIDE)
Do
Sleep($MySleep)
Until ControlCommand("系统属性", "", "确定", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlSend("系统属性", "", "Button1", "{ENTER}")
Until WinExists("性能选项")
WinSetState("性能选项", "", @SW_HIDE)
Do
Sleep($MySleep)
Until ControlCommand("性能选项", "", "调整为最佳性能(&P)", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlClick("性能选项", "", "调整为最佳性能(&P)")
Until ControlCommand("性能选项", "", "调整为最佳性能(&P)", "IsChecked", "") = 1
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#4")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#7")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#8")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#9")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#12")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#13")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
ControlTreeView("性能选项", "视觉效果", "SysTreeView321", "Select", "#14")
ControlSend("性能选项", "", "SysTreeView321", "{SPACE}")
Sleep($MySleep * 2)
ControlClick("性能选项", "", "确定")
Do
Sleep($MySleep)
Until MouseGetCursor() = 2
WinWaitClose("性能选项")
Sleep($MySleep * 2)
Do
Sleep($MySleep)
ControlClick("系统属性", "", "确定")
Until Not WinExists("系统属性")
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Policies\Microsoft\Messenger\Client", "PreventRun", "REG_DWORD", "1");不允许运行Windows Messenger
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Outlook Express", "Hide Messenger", "REG_DWORD", "2");让系统自带的MSN不随Outlook Express一起启动
EndIf
$o += 1
If $MyOptions[7][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[7][$o][0], $TVGN_FIRSTVISIBLE)
SetMouse(1)
EndIf
EndIf
$o = 1
If $MyOptions[8][0][2] <> 0 Then
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Control Panel\Keyboard", "InitialKeyboardIndicators", "REG_SZ", "2")
Send("{NUMLOCK on}")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\NotePad", "fwrap", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Notepad", "StatusBar", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Console", "QuickEdit", "REG_DWORD", "1")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Open_DOS_Box", "", "REG_SZ", "DOS 在这里")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Open_DOS_Box\command", "", "REG_EXPAND_SZ", "CMD.EXE /K CD %1")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "AutoAdminLogon", "REG_SZ", "1")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultUserName", "REG_SZ", @UserName)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultPassword", "REG_SZ", "")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultDomainName", "REG_SZ", @ComputerName)
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
IniWrite(@WindowsDir & '\win.ini', 'SciCalc', 'layout', '0')
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
SetMSPY2007(1)
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\taskkill.exe", @SystemDir & "\dllcache", 1)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\tasklist.exe", @SystemDir & "\dllcache", 1)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\taskmgr.exe", @SystemDir & "\dllcache", 1)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\taskkill.exe", @SystemDir, 1)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\tasklist.exe", @SystemDir, 1)
FileCopy(@ScriptDir & "\系统\Longhorn任务管理器\taskmgr.exe", @SystemDir, 1)
Run("taskmgr.exe")
$TitleStr = "Windows 任务管理器"
Do
Sleep($MySleep * 2)
Until WinExists($TitleStr)
Do
Sleep($MySleep)
Until ControlCommand($TitleStr, "", "SysTabControl321", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlSend($TitleStr, "", "SysTabControl321", "{RIGHT}")
Until ControlCommand($TitleStr, "显示所有用户的进程(&S)", "SysTabControl321", "IsEnabled", "") = 1
Do
Sleep($MySleep)
ControlCommand($TitleStr, "", "显示所有用户的进程(&S)", "Check", "")
Until ControlCommand($TitleStr, "", "显示所有用户的进程(&S)", "IsChecked", "") = 1
Sleep($MySleep)
WinMenuSelectItem($TitleStr, "", "选项(&O)", "最小化时隐藏(&H)")
Sleep($MySleep)
WinMenuSelectItem($TitleStr, "", "查看(&V)", "更新速度(&U)", "高(&H)")
Do
Sleep($MySleep)
WinMenuSelectItem($TitleStr, "", "查看(&V)", "选择列(&S)...")
Sleep($MySleep)
Until WinExists("选择列")
Do
Sleep($MySleep)
ControlCommand("选择列", "", "会话 ID(&S)", "UnCheck", "")
Until ControlCommand("选择列", "", "会话 ID(&S)", "IsChecked", "") = 0
Do
Sleep($MySleep)
ControlCommand("选择列", "", "命令行(&L)", "Check", "")
Until ControlCommand("选择列", "", "命令行(&L)", "IsChecked", "") = 1
Do
Sleep($MySleep)
ControlCommand("选择列", "", "映象路径(&I)", "Check", "")
Until ControlCommand("选择列", "", "映象路径(&I)", "IsChecked", "") = 1
Do
Sleep($MySleep)
ControlClick("选择列", "", "确定")
Sleep($MySleep)
Until Not WinExists("选择列")
WinClose($TitleStr)
Do
Sleep($MySleep)
Until WinExists("Windows 文件保护")
Do
Sleep($MySleep)
ControlClick("Windows 文件保护", "正常运行 Windows 所需的文件已被替换成无法识别的版本。要保持系统的稳定,Windows 必须还原这些文件的原有版本。", "取消")
Sleep($MySleep)
Until WinExists("Windows 文件保护", "您决定不还原文件的原始版本。")
Do
Sleep($MySleep)
ControlClick("Windows 文件保护", "您决定不还原文件的原始版本。", "是(&Y)")
Sleep($MySleep)
Until Not WinExists("Windows 文件保护", "您决定不还原文件的原始版本。")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar", "{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}", "REG_BINARY", "0x07000000EE0300007E69791EC59CD111A83F00C04FC99D612001000004000000EF0300007E69791EC59CD111A83F00C04FC99D612101000000000000F00300007E69791EC59CD111A83F00C04FC99D613001000004000000FFFFFFFF000000000000000000000000000000000000000000000000F10300007E69791EC59CD111A83F00C04FC99D612301000004000000F20300007E69791EC59CD111A83F00C04FC99D613301000045000000FFFFFFFF000000000000000000000000000000000000000000000000FB030000A1B70E71ED45D011924A0020AFC7AC4D1F700000040000000C040000A1B70E71ED45D011924A0020AFC7AC4D1E700000040000000D040000A1B70E71ED45D011924A0020AFC7AC4D11700000040000000E040000A1B70E71ED45D011924A0020AFC7AC4D1B70000004000000FFFFFFFF00000000000000000000000000000000000000000000000031700000A1B70E71ED45D011924A0020AFC7AC4D3170000004000000")
EndIf
$o += 1
If $MyOptions[8][$o][2] = 1 Then
_GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "MemCheckBoxInRunDlg", "REG_DWORD", "1")
EndIf
$o += 1
;~ If $MyOptions[8][$o][2] = 1 Then
;~ _GUICtrlTreeView_SelectItem($treeview, $MyOptions[8][$o][0], $TVGN_FIRSTVISIBLE)
;~ RegWrite("HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0", "VendorIdentifier", "REG_SZ", "Genuine Intel")
;~ EndIf