I'm currently using a PXE setup where I'm trying to install Windows 11 from another PC over the network. I've configured Samba on my PXE server, but I'm noticing that the "net use" command doesn't always work. Sometimes it connects right away, and other times I get a connection error and need to try again. Is this a common behavior with Samba and PXE setups, or is there a better way to handle the connection? I'd appreciate any tips or insight!
2 Answers
It sounds like you're facing a bit of a challenge there! Sometimes with Samba, especially in a PE environment, it can be a bit hit or miss. A lot of people find that adding a loop to the "net use" command can help—it keeps trying until it finally gets a connection. In my experience, it can just take some time for everything to load properly in WinPE, so don't lose hope!
I totally get it! When I had a similar issue, I set a delay after initializing WinPE. Waiting about 10-15 seconds before running "net use" made a significant difference. It seems the network drivers and modules can take a moment to kick in. Give that a shot and see if it helps!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures