Brian Carey tasted defeat in his first match in charge of Wrexham as Swindon came from behind to claim victory. Wrexham went ahead when Simon Spender crossed for Marc Williams to rise above the Swindon defence to head home.
But the lead lasted only 60 seconds as Sofiane Zaaboub flashed home a fierce shot from 15 yards after nine minutes.
Swindon's Ricky Shakes twice hit the post from inswinging corners, before Christian Roberts scored from the spot after a handball by Ryan Valentine.
Swindon: Phil Smith, Jack Smith, Vincent, Ifil, Williams, Shakes, Zaaboub (Brown 82), Pook, Weston (Sturrock 86), Roberts (Jutkiewicz 78), Peacock.
Subs Not Used: Stewart, Nicholas.
Booked: Weston.
Goals: Zaaboub 9, Roberts 71 pen.
Wrexham: Ingham, Roche, Valentine, Pejic, Steve Evans, Spender, Danny Williams, Mitchell, Llewellyn, Marc Williams (Gareth Evans 88), McEvilly (Johnson 78).
Subs Not Used: Michael Jones, Ferguson, Mackin.
Booked: Mitchell, Roche, Spender.
Goals: Marc Williams 8.
Att: 6,130
Ref: P Taylor (Hertfordshire).