Narrative:

Switching from 1 controller to another in ZNY, I reported leaving 16000 ft for 18000 ft. At 17000 ft the first officer asked if we were cleared to 17000 ft. 18000 ft was in the altitude window so I told him we were cleared to 18000 ft. About 30 seconds after leveloff, ATC asked us our altitude and I said 18000 ft. He said we were only cleared to 17000 ft. I reminded him that I called out of 16000 ft for 18000 ft and he acknowledged. He then said maintain 18000 ft. No other problems or conflict. The first officer had a habit of resting his fingers on the glare shield above the altitude selector knob. My guess is he hit the knob as he moved his hand from the glare shield to the yoke. That was how 18000 ft ended up in the window. I reminded him of his bad habit of putting his hand above the altitude control knob. The amber 'altitude arm' light was on in our annunciator so the knob must have been pulled. We proceeded to cle without further incident. We were using the 2 pilot system of setting altitude, that is, I called out the altitude and he repeated the altitude and set it in the altitude window since he was flying on his autoplt. Other than keeping his hands from lingering near the altitude knob, I don't know what else could have been done. ATC was not a problem. The controller did his job well.

Google
 

Original NASA ASRS Text

Title: ALTDEV. WRONG ALTIMETER SETTING IN ALERT WINDOW.

Narrative: SWITCHING FROM 1 CTLR TO ANOTHER IN ZNY, I RPTED LEAVING 16000 FT FOR 18000 FT. AT 17000 FT THE FO ASKED IF WE WERE CLRED TO 17000 FT. 18000 FT WAS IN THE ALT WINDOW SO I TOLD HIM WE WERE CLRED TO 18000 FT. ABOUT 30 SECONDS AFTER LEVELOFF, ATC ASKED US OUR ALT AND I SAID 18000 FT. HE SAID WE WERE ONLY CLRED TO 17000 FT. I REMINDED HIM THAT I CALLED OUT OF 16000 FT FOR 18000 FT AND HE ACKNOWLEDGED. HE THEN SAID MAINTAIN 18000 FT. NO OTHER PROBS OR CONFLICT. THE FO HAD A HABIT OF RESTING HIS FINGERS ON THE GLARE SHIELD ABOVE THE ALT SELECTOR KNOB. MY GUESS IS HE HIT THE KNOB AS HE MOVED HIS HAND FROM THE GLARE SHIELD TO THE YOKE. THAT WAS HOW 18000 FT ENDED UP IN THE WINDOW. I REMINDED HIM OF HIS BAD HABIT OF PUTTING HIS HAND ABOVE THE ALT CTL KNOB. THE AMBER 'ALT ARM' LIGHT WAS ON IN OUR ANNUNCIATOR SO THE KNOB MUST HAVE BEEN PULLED. WE PROCEEDED TO CLE WITHOUT FURTHER INCIDENT. WE WERE USING THE 2 PLT SYS OF SETTING ALT, THAT IS, I CALLED OUT THE ALT AND HE REPEATED THE ALT AND SET IT IN THE ALT WINDOW SINCE HE WAS FLYING ON HIS AUTOPLT. OTHER THAN KEEPING HIS HANDS FROM LINGERING NEAR THE ALT KNOB, I DON'T KNOW WHAT ELSE COULD HAVE BEEN DONE. ATC WAS NOT A PROB. THE CTLR DID HIS JOB WELL.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.