你好,
根据微软官方的文件,确实标明在进行sysprep封装时请勿运行任何的安全软件,并且建议关闭所有程序或执行一个干净环境启动再进行封装。
至于你所说的恢复到封装之前的环境,由于不清楚你目前的情况所以无法为你解决。请提供更加详细的环境和情况。
Please mark as "answer" if the problem have been solved, to help more friends find the solution.
Best Regards, Microsoft MVP, Rein Xu
https://mvp.support.microsoft.com/profile/Rein