I am use the "net use" command from a windows command prompt to map a drive from a domain computer to another windows computer which is in a stand alone workgroup. When I use the following command which specifiies the IP address of the computer before the user account, the time in takes to map the drive is roughly 10-15 seconds.
net use * \\172.20.10.5\c$ password /user:172.20.10.5\administrator
However, if I remove the IP address before the user name "administrator" and let the access request bounce off my Active Directory domain controllers, it takes only 1-5 seconds to map the drive.
net use * \\172.20.10.5\c$ password /user:administrator
I would prefer if the command did not try to bounce off my domain controllers because it generates an error in the security event log, but I would like the mapping process to only take 1-5 seconds instead of 10-15 seconds. Does anyone know why mapping with the correct full credentials would take longer than with the incomplete ones? Is there any way to use the correct full credentials and speed up the process?
net use * \\172.20.10.5\c$ password /user:ComputerName\adminis
You could also add the computer name and IP to the local LMHosts file. And then use computer name in the net use command. Ii should resolve using the LMHost before using DNS and may avoid the error.