How to make Applescript quit a specific program for all users?
Use the do shell script directive in AppleScript:

do shell script "sudo killall iTunes"

tell the application "Finder"
    if disk Media exists then
        eject disk Media
    end if
end tell


You'll need to make sure that you can execute sudo killall with no password.