Sharing folder stops working from Windows 7 to windows 10 , vis local Lan cable (static IP)

Ravi Padol 1 Reputation point
2021-09-20T14:06:01.29+00:00

Hi Team,

I have strange question!.

I have been connecting windows 7 computer with windows 10 with Lan cable using static ip and sharing a folder from windows 7 to windows 10.

Sharing going perfectly fine, when i shared it and mannually mapped the shared folder through map network drive.

However , if i restart the widnows 7 computer , the sharing is lost and i have share that folder back again and mapped it again.

How can i have this automatically mapped , whenever i restart,

Any suggestion and help , would be really appreciated.

Thank in advance

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,727 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,505 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,363 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Reza-Ameri 16,986 Reputation points
    2021-09-20T16:49:27.857+00:00
    0 comments No comments

  2. Limitless Technology 39,686 Reputation points
    2021-09-21T07:45:26.693+00:00

    Hello

    Thank you for reaching out.

    1. Please check if you have shared folder from some external drives and its drive letter does not changed.
    2. Please check if that drives are not encrypted as you may want to enter password or pin to unlock it.
    3. MAP folder using below command yo save shared drive information

    NET USE L: \SERVER\SHARENAME /PERSISTENT:YES

    Hope this helps.

    Thank you,

    0 comments No comments

  3. Limitless Technology 39,686 Reputation points
    2021-09-21T17:28:04.867+00:00

    Hello again @Ravi Padol

    Additionally,

    There are different ways to connect shared drive after reboot, through net command, through registry and using .bat script.

    I request you to kindly take backup of registry before doing any changes.

    Here are the 3 methods,

    1. Open cmd and type net use * /delete to delete the mapped drive, then remap the drive by typing net use *: \server\share folder /p:yes
    2. Then open regedit.msc, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
      Create a new REG_DWORD entry named EnableLinkedConnections set its value to 1. Then reboot your machine.
      If after you boot up your machine and find the mapped drive disappearing in Windows Explorer, open cmd and type net use to see if it exist there.
    3. There is a workaround for you to force the drive always mapped every time you boot up.
      Create a logon script and type: @Echo off net use * /d /y net use *: "\server name\shared folder" /"user:username" "password" /p:yes exist Saved it as a .bat file.

    --If the the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.