We consider the centers of the affine vertex algebras at the critical level associated with simple Lie algebras. We derive new formulas for generators of the centers in the classical types. We also give a new formula for the Capelli-type determinant for the symplectic Lie algebras and calculate the Harish-Chandra images of the Casimir elements arising from the characteristic polynomial of the matrix of generators of each classical Lie algebra.