Let $y \in \mathcal{D}(A^*)$ so that
$$
\langle Ax,y\rangle = \langle x,A^*y\rangle,\;\; \forall x\in\mathcal{D}(A),\\
\langle (A+I)x,y\rangle = \langle x,(A^*+I)y\rangle,\;\;\forall x\in\mathcal{D}(A).
$$
All you need to assume is that $A$ is densely-defined, $A$ is symmetric, and $A+I$ is surjective.
If $A+I$ is surjective, then $(A^*+I)y=(A+I)z$ for some $z\in\mathcal{D}(A)$. This gives
$$
\langle (A+I)x,y\rangle = \langle x,(A+I)z\rangle
= \langle (A+I)x,z\rangle,\;\;\forall x\in\mathcal{D}(A).
$$
Because $A+I$ is surjective, then $y=z$, which implies that $y\in\mathcal{D}(A)$. Hence $\mathcal{D}(A^*)\subseteq\mathcal{D}(A)$. So $\mathcal{D}(A)=\mathcal{D}(A^*)$ and $A=A^*$.