Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Mapped Drive get disconnected after every reboot.

05 Jul 2015   #1
marvz77

Windows 7 Pro X64
 
 
Mapped Drive get disconnected after every reboot.

we have a folder named "Public" shared across the office running windows 7 pro. the problem is every time i map the folder "Public" to the other computer it got disconnected every reboot and ask for credential like the user and password. can somebody help to solve this. thanks..


My System SpecsSystem Spec
.
06 Jul 2015   #2
Ztruker

Windows 10 Pro X64
 
 

You could setup a batch file to run at login that does a net use to map the drive.

auto run a bat script in windows 7 at login


Code:
C:\WINDOWS\system32>net use /?
The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]
My System SpecsSystem Spec
11 Jul 2015   #3
marvz77

Windows 7 Pro X64
 
 

thanks for the reply, but sir can you teach me on how to edit this line of codes?
My System SpecsSystem Spec
.

11 Jul 2015   #4
Ztruker

Windows 10 Pro X64
 
 

I'll try. Here is an example on my network, which has 3 computers, Desktop (this one), Webserver and Laptop.

From a Command Prompt I enter:

net use z: \\webserver\hp_h

That accesses the hp_h share on webserver and assigns it the letter Z: Then I can access anything on Z: from this computer (Desktop) via Windows Explorer or Command Line.

Now put that in a batch file, we'll call it LinkPubluic.bat using your setup, something like:

LinkPublic.bat
net use z: \\xxxxxxxx\Public (xxxxxxxx is the name of the computer with the shared Public folder)

Place LinkPublic.bat in your Startup folder:

Drag the batch file to Start, All Programs, Startup. Now when you login as that user, it will launch the batch file.
My System SpecsSystem Spec
Reply

 Mapped Drive get disconnected after every reboot.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
mapped drive disappears after log out
When a user account is logged off, the mapped network drive icon disappears and the connection to the network share is lost. The share can be accessed by entering in the full path to the share in the address bar of explorer. The drive can be remapped and it will function properly until the...
Network & Sharing
No Thumbnails for MAPPED Drive
Hi guys. My first post! I signed up hoping somebody can help me. When I upgraded from XP (a long time ago) I deleted all the thumbs.db files. I can see thumbnails on my local C: drive. If I browse my network drive I can see thumbnails.
General Discussion
Mapped drive & USB drive letter conflict
I just built a new computer for work. Our server is mapped as letter “F” and this works unless I leave a USB card reader plugged in when I shut it down. On boot up one of the drives on the card reader gets assigned “F” and the mapped drive doesn’t work. I then have to remove the card reader and...
Network & Sharing
Office 2003 on Windows 7 - disconnected mapped drives
Here is the situation, and i've repeated it on more than one machine: Windows 7 Prof 32 bit, with Office 2003 SP3 on a Dell laptop. Everything works fine when on the network and connected. If the user takes the laptop offsite without shutting it down first and still has mapped drives when he...
Network & Sharing
Removing Disconnected Mapped NW Drive Icon
This strikes me as a strange issue. On one of my 'workhorse machines', (I use RD to connect to): 1) The previous OS was XP. From XP, I mapped a network drive (designated L:\). 2) The drive was not set to reconnect at logon 3) I installed Windows 7 Pro (which, of course, required a format of...
Network & Sharing
Disk Management - chg drive letter-disconnected drive
My backup software's profile database is expecting to backup to H:, which was the drive letter for my external backup drive back in XP. This drive comes up in Win7 as K, because Win7 has given my four usb card reader drives the letters F,G,H,I. Disk Management will not show these four card reader...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 16:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App