解:
(1) $\because$ 原方程有两个不相等的实数根,
$\therefore \Delta=(-2k)^2 -4×1×(k^2 -k +1)=4k-4>0,$
解得$k>1,$
$\therefore k$的取值范围是$k>1。$
(2) $\because k<5,$且$k>1,$
$\therefore 1<k<5,$整数$k$的可能取值为2,3,4。
当$k=2$时,方程为$x^2-4x+3=0,$解得$x_1=1,$$x_2=3,$符合题意;
当$k=3$或$k=4$时,方程的根不为整数,舍去。
综上所述,$k$的值为2。