Bill Gates appears to be giving Paris Hilton a run for her money on the party scene at the Sundance Film Festival. The Microsoft billionaire was seen dancing, Paris style, on a banquette during a performance by John Legend and the Roots at an after-hours party for Microsoft search engine Bing at the Film Lounge the other night.

A spy said, “He gyrated in a VIP booth until 2 a.m. Everybody was snapping photos of him until his security rushed him out the back door after he tipped a waitress $500.”

Gates also confessed to our spy that he was spending Sundance on the hunt for “that chick from ‘Twilight’ ” — Kristen Stewart, who stars in the Joan Jett biopic “The Runaways” — saying, “I want to see her movie while I’m out here. I heard it was good.”

And Gates wasn’t the only over-50 banquette dancer. Bill Murray, who stars in “Get Low,” danced at GoldBar at the Sky Lounge Sunday night with a bevy of beauties, including actress Paz de la Huerta.

Murray hobbled in on crutches but had no problem gyrating to hip-hop and reggae and kissing and grinding with de la Huerta. Our witness said, “The kiss was a three-second, full lip lock. Murray looked like he was having a great time.”

Over at Harry O’s, Hilton was throwing a blonde out of the club for flirting with her boyfriend, Doug Reinhardt. Our source said, “The girl was trying to dance with Doug. Paris asked everyone if they knew her. Nobody did, so she demanded security throw her out. The girl seemed very drunk.”

But Hilton herself was snubbed by Harvey Weinstein, who was with Ben Affleck and others at the DirecTV party for “The Company Men.” A source said, “Paris tried to speak to Harvey and the others at the table. He ignored her, and his whole crew then got up and left her standing there.”

Hilton’s rep said, “The situation with the girl has been very exaggerated. We don’t comment on people who are looking for publicity for themselves. As for Harvey, he was already leaving when we arrived.”