wallie400
asked on
Unable to automount Network Share in windows
I have a win2k3 server that needs to mount a netapp CIFS share automatically at boot. The issue isnt that i cant mount the drive, i need to automount the drive during boot and before users log in. I tried using autoexnt.bat, it mounts the drive but doesnt seem to pass the username and password.
right now my script looks like :
---------------------
@echo off
net use P: \\sharname\share /user:username password
---------------------
Any other ideas?
Thanks!
right now my script looks like :
---------------------
@echo off
net use P: \\sharname\share /user:username password
---------------------
Any other ideas?
Thanks!
try net use P: \\ipaddress\share /user:\\DOMAIN\username password
what debuggerau said.
Also you may want to use
net use P: /delete
first - to delete an existing connection (which may be as a different user?)
Also you may want to use
net use P: /delete
first - to delete an existing connection (which may be as a different user?)
ASKER
Well the machine isnt on a domain. I had thought about that.
Any other suggestions? Maybe a .vbs script that someone has?
Any other suggestions? Maybe a .vbs script that someone has?
why not just use explorer -> Map network drive...
Or are you sharing the share?
Or are you sharing the share?
ASKER
The share is on a Netapp, It needs to automount without a user logging in.
why would you want to automount something without any users?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.