AppleScript to close "About this Mac" window
The window is shown by the loginwindow process, and you can close it by clicking the close button:

tell application "System Events" to tell process "loginwindow"
    click button 1 of window 1 -- or window "About This Mac"
end tell


close window 1 didn't work.