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.




13833 posts

Uber Geek
+1 received by user: 2449

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

Uber Geek
+1 received by user: 135


  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.



13833 posts

Uber Geek
+1 received by user: 2449

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


 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
Mad Scientist
18236 posts

Uber Geek
+1 received by user: 2311

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 ... !!!



13833 posts

Uber Geek
+1 received by user: 2449

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 »

UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12


Framing Facebook: It’s not about technology
Posted 14-May-2018 16:02


Vocus works with NZ Police and telcos to stop scam calls
Posted 12-May-2018 11:12


Vista Group signs Aeon Entertainment, largest cinema chain in Japan
Posted 11-May-2018 21:41


New Privacy Trust Mark certifies privacy and customer control
Posted 10-May-2018 14:16


New app FIXR connects vehicle owners to top Mechanics at best prices
Posted 10-May-2018 14:13


Nutanix Beam gives enterprises control of the cloud
Posted 10-May-2018 14:09


D-Link ANZ launches Covr Seamless Wi-Fi System
Posted 10-May-2018 14:06


Telstra, Intel and Ericsson demonstrate a 5G future for esports
Posted 10-May-2018 13:59



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.