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.




13333 posts

Uber Geek
+1 received by user: 2245

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
1351 posts

Uber Geek
+1 received by user: 118


  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.



13333 posts

Uber Geek
+1 received by user: 2245

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


 
 
 
 


17514 posts

Uber Geek
+1 received by user: 2122

Trusted

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

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



13333 posts

Uber Geek
+1 received by user: 2245

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 »

UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08


Revera partners with Nyriad to deliver blockchain pilot to NZ Government
Posted 5-Dec-2017 20:01



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.