@ECHO OFF REM REGISTRY EDITS FOR TS100332 SET RND=%RANDOM% SET ERRORLEVEL=0 :HKCU REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" IF ERRORLEVEL 1 GOTO :HKLM REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domain%RND%" REG COPY "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domain%RND%" /s /f REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" /f :HKLM REG QUERY "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" IF ERRORLEVEL 1 GOTO :END REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domain%RND%" REG COPY "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domain1" /s /f REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains" /f :END ECHO Please restart the computer PAUSE EXIT