Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapped drive quits working on reboot 1

Status
Not open for further replies.

JBruyet

IS-IT--Management
Apr 6, 2001
1,200
US
Hey all,

I'm running a small network on VMware's ESXi server. While on a machine in the VM network I frequently need access to the servers on my live network. I can't use the "Map Network Drive" option under My Computer/Explorer because my live network doesn't show up there. The VMs are behind a simple Linksys broadband router and it's a different forest. What I do for access is run:

net use m: \\server\share /user:domain\username password /persistent:yes

That gets me connected just fine, but once I reboot the VM machine the access permissions get lost. When I try to access the m: drive after a reboot I get an "M:\ is not accessible. Access is denied" message. Is there a way to get a mapped drive to work even after the VM machine is rebooted?

Thanks,

Joe B
 
If that is in a script then you need to add
net use m: /DELETE before it runs. This way any cache info for the M drive is deleted.

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
TechyMcSe2k, let me clarify--my goal is to not have to reconnect to the m: drive every time the VM machine reboots. I use the /persistent:yes parameter when I run the command but for some reason that doesn't work.

Thanks,

Joe B
 
It won't stay persistent if you must enter a username and password. Set this in a log on script. And every time you reboot, it is essentially remapping the drive anyway.

Or it may not be working due to the mapping happening before full networking is established (fully authenticated).

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
try going in to control panel and open up stored user name and passwords; click add
Then enter the server name. provide your required credentials for that server where the share is. Then test your M: drive persistancy without specifying the user credentials.

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
TechyMcSe2k, that kind of works. Now when I reboot and click on the mapped drive I get a prompt for a password. Not what I was hoping for but at least it's better than what I had previously. I'll keep working your angle to see if there's anything else I can do that will keep the password associated with the mapped drive.

Thanks,

Joe B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top