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.


13971 posts

Uber Geek
+1 received by user: 2488

Trusted
Subscriber

Topic # 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.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


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

Uber Geek
+1 received by user: 137

Subscriber

  Reply # 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.



13971 posts

Uber Geek
+1 received by user: 2488

Trusted
Subscriber

  Reply # 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 :)




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Mad Scientist
18610 posts

Uber Geek
+1 received by user: 2365

Trusted
Lifetime subscriber

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

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



13971 posts

Uber Geek
+1 received by user: 2488

Trusted
Subscriber

  Reply # 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.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

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



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.