My home network is being stupid (computer file sharing)

Reaction score
811
Location
(Call me Jacob)
I am re-doing some cabling (because thumbtacked to the wall "isn't a solution").... so while I was re-cabling, I decided to switch up some hardware.

I am troubleshooting two computers. "dad" and "sexy" here is an IPCONFIG screenshot of the two:
upload_2018-5-22_18-18-22.png

The setup is stupid simple.
ATT Router has "dad" wired straight in and a "dumb" switch straight in.
The "dumb" switch has "sexy" straight in.

both computers are up-to-date Win10 1803

I want to share a folder on "sexy" so "dad" can view it.
 
I don't understand the problem. Can't you just use a Workgroup (or even a Homegroup)? So long as file sharing is set up on both of them and they both have passwords, you should be able to share files between them quite easily.
 
So you have network exploring (name resolution) working, based on your reply above that you "can see" the other computer. However you now have a permissions issue. I always go back to the old fashioned file/folder sharing we did back going back to the WinNT 4 days. Since Win7...gotta go into advanced sharing settings and lower those. Do the permissions on the Share part wide open, and same for the Security tab (NTFS permissions)..just to get it working and then dial it back to users. I also added local users that matched the user/pass used on the other computer.
 
I want to share a folder on "sexy" so "dad" can view it.

I never rely on Windows network discovery/visibility or homegroups. I've always done it the old way ... much more reliable.

Here's what I would do ...

Add a local (password protected) Windows account for "dad" on the "sexy" computer.

Set both the sharing and NTFS security permissions on the folder, making sure that user 'dad' has read/write access.

Preferably I would give the 'sexy' computer a static IP to refer to it by, otherwise you could use the computer name, eg:

\\192.168.1.202\SharedFolder

Or

\\ComputerName\SharedFolder​

Personally I would run Net Use from the command line and map it to a network drive, eg:

Code:
net use S: \\192.168.1.202\SharedFolder /user:ComputerName\UserName UserPassword /persistent: yes
Replacing SharedFolder, ComputerName, UserName and UserPassword of course (ComputerName should be the name of the 'sexy' or 'sharing' computer).

You could also replace the IP address here with the computer name if you prefer but if the computer has a static IP address, I would use that instead.

I would generally have a script reconnect the network drive at startup too for greater reliability. Windows doesn't always reconnect drives, despite the 'persistent: yes' argument.

I usually have something like this run at login:

Code:
@echo off

:: Wait for the LAN connection to be established
:checknet
Ping GatewayIP -n 1 -w 1000 >nul
if errorlevel 1 ( goto :checknet )

:: Delete exisiting network connections
net use S: /delete

:: Remount network folders
net use S: \\192.168.1.202\SharedFolder /user:ComputerName\UserName UserPassword /persistent: no

Replace GatewayIP with the IP of your gateway/router.





(Edited to add the missing '/delete')
 
Last edited:
Although Homegroups are gone, the semi-annual updates always change the sharing settings. You'd think it's be easy enough to read the current setting and maintain it.

update1.jpg
 
Had something similar and it was because the machine was set to Public instead of Private. Changed it but it kept switching back, there was a box ticked somewhere (sorry can't remember where) that was pulling the setting from the MS account. Unticked that and it stayed on Private.
 
Had something similar and it was because the machine was set to Public instead of Private. Changed it but it kept switching back, there was a box ticked somewhere (sorry can't remember where) that was pulling the setting from the MS account. Unticked that and it stayed on Private.
Mine stay on private, and I only use Local accounts.
 
Back
Top