Hello AhmedKarabadji
I would suggest to review the process how you are adding the shared network location into WinPE:
1.Connect a CD-ROM drive to your device.
2.Insert the Windows PE disc in the drive.
3.Configure your device's BIOS setting to boot from the CD-ROM drive and boot the CD. Windows PE starts.
During the Windows PE boot process, networking services are enabled and the network interface is configured by means of DHCP.
4.If you want to map a shared drive, from the Windows PE command line use the net use command.
After the shared drive is mounted on the device, you can copy run-time images from the share to the device, or run remote scripts.
Reference: https://learn.microsoft.com/en-us/previous-versions/windows/embedded/ms932910(v=winembedded.5)?redirectedfrom=MSDN
--If the reply is helpful, please Upvote and Accept as answer--