Hi,
1,You can try to add a "Run Command Line" task sequence setp with "SUBST /D" command to have a try. Similar threads for your reference:
ConfigMgr Restart Task fails if client has SUBST-ituted drive
SCCM Restart error
2,If there is any USB stick or removable drive, please remove it to have a try.
3,What version of SCCM and Windows ADK you are using? To support Windows 10 22 H2 as client, please upgrade to the latest SCCM version 2207 or 2211 to have a try.
Thanks for your time. Have a nice day!
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.