Link to home
Start Free TrialLog in
Avatar of OteroJC
OteroJC

asked on

WSHNetwork.MapNetworkDrive vbs. script 80070035

Hello,

My college's application server had a severe hardware failure yesterday and we quickly rebuilt a new server giving it the same name and ip address as the old server. However, when I attempt to log in as a student our logon script is throwing a WSHNetwork.MapNetworkDrive Code 80070035 error saying it cannot find the path of the server. I have checked DNS, DHCP and WINS records, flushed DNS, and refreshed WINS registration but it doesn't help. The group policy that is executing the script is functioning up to the point that the script is called. What other reference could this script be looking for? The domain controller has the new server registered. I checked all the group policy entries and they refer to the server like this \\servername\path to scripts.
Avatar of kyleb84
kyleb84
Flag of Australia image

Can you ping "servername" from any of the workstations?

What happens if your type this in cmd on one of the workstations?:

net use * \\servername\share /User=[Username]

Where [Username] is a user that would utilise this script?
Avatar of OteroJC
OteroJC

ASKER

I can ping the servername but when I try to log in with the net use command it tells me that my username or password is invalid for accessing the machine. I'm going to try a couple of other machine to see if it is the same across the board.
Avatar of OteroJC

ASKER

Okay, I've tried several other machines and none of them recognize the username and password though I've verified that they exist in Active Directory and I can log on to in the individual workstation's with that account. I even tried it directly on the server itself and it didn't recognize it. Is it a bad DNS record?
"Is it a bad DNS record?"

Sounds like a context issue...

If you try:

net use * \\servername\share /User=[DOMAINNAME\Username]

Does it work then?
What about:

net use * \\servername\share /User=[SERVERNAME\Username]
ASKER CERTIFIED SOLUTION
Avatar of OteroJC
OteroJC

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial