Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # [AUTOHOTKEY] Remove Norton Antivirus
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetTitleMatchMode, RegEx
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- GroupAdd, NortonUnins, Norton Security
- GroupAdd, NortonUnins, ahk_class install_ui_frame
- GroupAdd, NortonUnins, ahk_exe InstStub.exe
- Loop, Files, C:\Program Files (x86)\NortonInstaller\*.*, R
- {
- if(A_LoopFileName = "InstStub.exe")
- {
- Run, %A_LoopFileFullPath% /X /ARP
- Break
- }
- }
- WinWait, ahk_group NortonUnins
- WinActivate, ahk_group NortonUnins
- Sleep, 3000
- # Do not accept to have mini AV
- Send, {TAB 2}
- Send, {SPACE}
- Sleep 500
- # and delete all user data related to Norton
- Send, {TAB 2}
- Send, {SPACE}
- Sleep 500
- # Press uninstall
- Send, {TAB 2}
- Send, {ENTER}
- # Confirm uninstall
- Sleep 500
- Send, {TAB 3}
- Send, {ENTER}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement