 He played 44 games in 2004–05 and made 25 appearances in 2005–06, scoring once in the Football League Trophy against former club Wrexham, before leaving Bloomfield Road after Simon Grayson took charge.In January 2006 McGregor decided to move on to Martin Foyle's Port Vale.He played 14 League One games throughout the rest of the season, before featuring 35 times in an unsettled defence in 2006–07.