Ok ive got a script which removes a few registry keys a snippet from kor but i have a few shortcuts to remove as well can i reuse the data in the array with other elements? For $g = 0 To UBound($aRegKeys) - 1 RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", $aRegKeys[$g]) If @error <> 0 Then ; do nothing Else For $r = 0 To UBound($aRegKeys) - 1 RegDelete("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", $aRegKeys[$r]) Sleep(100) N