; NoWindowsUpdate.kix, Version 1.00 ; Disable Windows' Update function ; ; Usage: KIX32 NoWindowsUpdate.kix [ $Answer=Y ] ; ; Written by Rob van der Woude ; http://www.robvanderwoude.com If $Answer = "" ? "Press Y if you want to disable Windows' Update function " Get $Answer EndIf If $Answer = "Y" $Tree = "\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" $Key = "NoWindowsUpdate" $Val = "00000001" $Type = "REG_DWORD" ? "Writing registry values . . ." $HKTree = "HKEY_CURRENT_USER" + $Tree $RC = AddKey( $HKTree ) $RC = WriteValue( $HKTree, $Key, $Val, $Type ) $HKTree = "HKEY_LOCAL_MACHINE" + $Tree $RC = AddKey( $HKTree ) $RC = WriteValue( $HKTree, $Key, $Val, $Type ) EndIf