Constant-pressure molecular-dynamics simulations have been carried out of a bead−rod model polymer confined between two attractive crystalline substrates. Three different substrate−substrate separations (i.e., film thicknesses) were used and two different polymer−substrate interaction strengths. The density profiles show a monomer layering close to the polymer− substrate interface. A higher density was found in this region compared to the middle bulklike layers of the films. The dependence of the film-averaged density on temperature and thickness was measured for all polymer films. Decreasing the film thickness leads to an increase of this density and of the film-averaged glass-transition temperature. Layer-resolved analysis of the segmental dynamics of the thickest films shows a gradient of the mobility upon approach of the polymer−substrate interface, while the middle-layer dynamics exhibits bulklike behavior. With decreasing film thickness, these gradients become overlapping. All polymer films were deformed uniaxially normal to the substrates beyond their linear viscoelastic regime; their elastic moduli but also their secant moduli at larger strain amplitudes were extracted. In the linear regime, the stiffness was found to increase with decreasing film thickness; this correlates well with the layer-resolved segmental dynamical behavior. A strong drop of the stiffness was observed upon increasing the deformation amplitude; this drop was more pronounced for stiffer films. It is shown that the drop in stiffness can be qualitatively explained by the drop of the relaxation times as well as by the increased heterogeneity of the dynamics in different film layers upon deformation. The thickness dependencies of the structural, dynamical, and mechanical properties become more pronounced with stronger adsorption to the substrates.