Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

16424 posts

Uber Geek

Trusted
Subscriber

#189214 21-Dec-2015 08:57
Send private message

I have a PC running Windows 10 which also acts as our home server. We want to access files on the server but keep them secure to visitors on the LAN. My wife has a W10 laptop and want to access these files without any hassle - it should Just Work. Each PC has its own users set up (ie different usernames / passwords), plus we have users on the main PC.

Homegroups just don't work properly, in my experience. I managed to eventually get the laptops to join but they can't see any other PCs in the homegroup. I checked firewall settings, ran the homegroup / network troubleshooter, nothing. I tend to open things up using advanced network settings so my Kodi R.Pi2 can access the video file shares without passwords. I'm open to suggestions to get it working but pretty sick of them.

How else can I share the files? Is it possible to create password protected share then map the shares each time the laptop logs in using a script in the startup folder? Not having to type a password in each time is key, not bothered if it's saved to the laptop.

The only other way I can think of is Bittorrent Sync, which works remarkably well, but that means copying everything to the laptop and there's a lot of images and such that it doesn't make sense for. It also represents a risk, as if something goes wrong with her PC (virus/ransomware) it could more easily corrupt the main drive than with a shared drive. I of course have backups (offsite disks and online for critical stuff) but it would be a hassle.

Filter this topic showing only the reply marked as answer Create new topic
 
 
 

Affiliate link: Invest in the US market with a Hatch account.
timbosan
1718 posts

Uber Geek


  #1454209 21-Dec-2015 09:21
Send private message

You can do it from the command line, then put it into a batch file:

NET USE X: /d
NET USE X: \\servername\sharename u:username < passwordfile.txt

You need to create a share on the target machine called 'servername' with a name of 'sharename'
The first line deletes the share
The net line reconnects using 'username'.  You put the password for that user into a file called 'passwordfile.txt' (or whatver you want to call it).  Then when the NET USE prompts for the password, the password in the file will be piped in.

Put this into a batch file and add it to the startup (via task manager I think in Windows 10).

Any problems let me know.  I use this all the time for my workgroup computers to connect to my domain based server.

timmmay

16424 posts

Uber Geek

Trusted
Subscriber

  #1454216 21-Dec-2015 09:27
Send private message

Thanks timbosan, I'll have a go at this in the next few days and get back to you :)

 
 
 
 


Batman
Mad Scientist
22931 posts

Uber Geek

Trusted
Lifetime subscriber

  #1454294 21-Dec-2015 10:37
Send private message

I need to follow this and take some time to digest it ... !!!




Involuntary autocorrect in operation on mobile device. Apologies in advance.


timmmay

16424 posts

Uber Geek

Trusted
Subscriber

  #1459775 1-Jan-2016 11:48
Send private message

Success! Though I didn't need the password file, because the same Windows account is used by email address on each computer it seems to be automatic :-) I made a batch file that's started with a scheduled task that's run on startup.

Filter this topic showing only the reply marked as answer Create new topic




News »

Amazon introduces new Echo devices
Posted 25-Sep-2020 11:56


Mad Catz introduces new S.T.R.I.K.E. 13 Mechanical Gaming Keyboard
Posted 25-Sep-2020 11:34


Vodafone NZ upgrades international submarine network
Posted 25-Sep-2020 09:09


Jabra announces wireless noise-cancelling airbuds, upgrade existing model
Posted 24-Sep-2020 14:43


Nokia 3.4 to be available in New Zealand
Posted 24-Sep-2020 14:34


HP announces new HP ENVY laptops aimed at content creators
Posted 24-Sep-2020 14:02


Logitech introduce MX Anywhere 3
Posted 21-Sep-2020 21:17


Countdown unveils contactless shopping with new Scan&Go tech
Posted 21-Sep-2020 09:48


HP unveils new innovations for businesses adapting to rapidly evolving workstyles and workforces
Posted 17-Sep-2020 15:36


GoPro launches new HERO9 Black camera
Posted 17-Sep-2020 09:45


Telecommunications industry launches new 5G Facts website
Posted 17-Sep-2020 07:56


New Zealand ranks 3rd in world in GSMA index
Posted 15-Sep-2020 10:13


Trend Micro Security Suite adds web monitoring to prevent identity theft
Posted 14-Sep-2020 15:37


NVIDIA to acquire Arm for US$ 40 billion
Posted 14-Sep-2020 12:27


Epson launches its next gen A3+ colour EcoTank multi-function printer
Posted 10-Sep-2020 16:08



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.