begin
RegKeyParamWrite('HKCU', 'Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders', 'Favorites', 'REG_EXPAND_SZ', '%USERPROFILE%\Favorites');
RegKeyParamWrite('HKCU', 'Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders', 'Favorites', 'REG_EXPAND_SZ', '%USERPROFILE%\Favorites');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk','');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk','');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk','');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk','');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome.lnk','');
QuarantineFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Internet Explorer (No Add-ons).lnk','');
QuarantineFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Mozilla Firefox.lnk','');
QuarantineFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Opera.lnk','');
QuarantineFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk','');
ShowMessage('Пожалуйста, открепите все ярлыки браузеров из панели задач. После этого нажмите ОК.');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk','');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk','');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk','');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk','');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome.lnk','');
DeleteFile(GetEnvironmentVariable('UserProfile') + '\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\Internet Explorer (No Add-ons).lnk','');
DeleteFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Mozilla Firefox.lnk','');
DeleteFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Opera.lnk','');
DeleteFile('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome\Google Chrome.lnk','');
CreateQurantineArchive(GetAVZDirectory + 'quarantine.zip');
RebootWindows(false);
end.