Porous silicon fabricated by different formation techniques has been utilized as template for the electrodeposition of ferromagnetic metal nanowires within the pores. The porous silicon templates have been prepared by conventional and magnetic field assisted anodization, respectively whereat different morphologies have been obtained. The influence of the morphology of the employed template on the deposited metal structures and as a result on the magnetic properties of the nanocomposites is figured out. Due to a decrease of the pore-diameter, an increase of the smoothness of the deposited nanowires and also because of an increase of the distance between neighbouring ones magnetic crosstalk between them is decreased and results in a modification of the magnetic properties.