ENTERPRISE

The Expert’s Guide To Windows Networking (Part 2)

12/20/2012 9:27:25 AM

Network names

It's a minor point but worth covering as it's certainly not obvious. When you're messing around with networking the name of the PC you're working on is set via the Computer Properties. Right-click either the desktop icon or Start Menu Computer entry, select 'Properties' and under the Computer name... section click the 'Change settings' link. Click the 'Change' button why you can't just click this back in the Properties is beyond us and change the 'Computer name' to whatever you want to view within the Network neighbourhood (as it used to be called).

 Windows network neighborhood

 Windows network neighborhood

You might also be wondering about the Workgroup name that can also be changed in here. Back in the day of Windows 3 and 95 this could be used to segregate PCs into groups, making it impossible for different Workgroups to share files or services. Today the Workgroup concept has been eliminated and it’s effectively unused. It's all a bit of a blur now, but back in those days NetBIOS took the major lead in network file sharing, with the additional Microsoft SMB protocol on top of this. From Windows 2000 onwards the Microsoft SMB protocol did away with NetBIOS and so the need for Workgroups.

Despite dumping NetBIOS to retain compatibility the naming conventions for the computer and Workgroup remain. That's a case-free name, without any spaces, no longer than IS characters long with restrictions on special characters, which is to say almost no punctuation apart from a dash.

Not that advanced

The most confusing aspect of Windows network file sharing is how to switch it to the correct mode, so that the PC is actually happy to accept password connections. This blazingly basic concept is buried in the 'Change advanced sharing settings' section found off the side panel of the Network and Sharing Center Control Panel. The best way to access this is to right-click on the 'Notification Network' icon, select 'Open Network and Sharing Center' and click 'Change advanced sharing settings'. There's a list of very important options in here, many of which have to be set correctly for file sharing to work. Be aware these options are duplicated over two separate sections in here. One section covers the Home/Work Network Location and the other below this, covers operating in a Public Network Location mode. The first two options - Turn on network discovery, and Turn on file and printer sharing - we hope are self-evident. Both need to be selected for this to work well.

This blazingly basic concept is buried in the 'Change advanced sharing settings' section found off the side panel of the Network and Sharing Center Control Panel.

This blazingly basic concept is buried in the 'Change advanced sharing settings' section found off the side panel of the Network and Sharing Center Control Panel.

The 'Public folder sharing 'option is an interesting one. If you want a simple way to easily share files to everyone then this is a great option. The folder already exists within the (system drive):\Users\Public folder. Be aware, this enables anyone connected to the same network as yourself to copy, move and delete any old files they wish within those public folders. This isn't the only way of providing simple password free guest sharing, but it's a one-shot option you might be interested in.

The next two options we're going to skirt around. Media sharing is something PC Format has covered extensively in the past and media streaming is where you control the basic Windows Media Player and generic DLNA servering features. The File sharing connections option can be left at 128-bit encryption for better security. As far as we know this should function correctly with almost everything.

The Turn off password protected sharing' option is a prime one. If you're happy to have anyone access shared folders marked with Guest access, then you can choose to turn this off. It's like public folder sharing but across the board for any folders you mark for Guest access. If you're happy to bare all to everyone on your home network, then this by far makes for the easiest file-sharing method. You still retain complete control over who can delete files on your server or computer by adjusting controls accordingly or limit access completely by marking them only for registered users.

Finally the Homegroup connections option needs to be turned off here so that we can control and create our own user permissions and shares. This part is a little confusing because, even when switched to off, all of the Homegroup interface elements remain visible within Windows. In fact, it's almost like Microsoft adds this stuff without thinking about it.

The final element we'll mention here, as it's not obvious, is if you want mixed-access of people with passwords for secure items and people you'd like to have Guest access without prompts or passwords. For example, we use a shared document folder that anyone can access without the need for a password. While back-up folders require a password, so files cannot be deleted or removed.

For this type of setup you need to enable the Windows Guest account. There are two ways to do this: one is via the 'Start Menu '> 'Control Panel' > 'User Accounts' > Add or remove user accounts' > 'Enable Guest Account'. Technically, this can also be activated via the Users section of the Management Computer Management Console. The Guest User is already created but you need to double-click it and clear the Account is disabled' tick box.

Once enabled, this in conjunction with the Turn off password-protected' sharing, enables Guest access to folders marked with Guest access privileges.

Share and share alike

With your system all setup you’re now ready to create password protected users and enable open access guest shares, alongside password protected folder shares. We'll go through doing just this in the walkthroughs, but the password protected system requires the creation of a suitable user account with password.

The confusing element here is that the user account that you create has to match the same name as the remote system's user account name. Otherwise you will find that the remote system will either be limited to Guest access or be blocked entirely. This can create the odd situation where if you use the same account name on multiple computers they will all have to connect to the network using this same user account.

Share and share alike

To add even more confusion to the situation, once you've created the same user-named account, remote users don't have to log on with the same credentials. Instead, you can create a more memorable username and password and that will still work for logging on to a remote share. This could, for example, be used when more than one person uses a computer with the same account. The additional credentials enables people that know it to access additional shares. We're sure that there are other usage models that can be applied but that's the one that springs readily to mind.

Actually enabling the sharing of a folder or drive is a case of selecting the folder in question and using the Homegroup share system, which is the 'Share with' > 'Specific people...' menu option. Here you can now add Guest and specific Users then assign read/write permissions.

Other  
 
Most View
Expert Computing Advice – January 2013 (Part 1)
Y-Cam HomeMonitor - A Secure Home Security Camera System
Sony Vaio E Series 17 - Hardly Pretty
Windows Vista : Deploying Applications - Injecting in a Disk Image
Sharepoint 2013 : Building a BCS-enabled Business Solution : Building an Integrated BCS Solution with an App for SharePoint Containing an App for Office
Asus PadFone 2 - The Attraction Of The Phone-In-Tablet Combination (Part 3)
Windows Server 2008 and Windows Vista : Working with GPOs - Searching GPOs
Programming the iPhone User : UX Anti-Patterns - Spin Zone, The Bouncer
SQL Server 2012 : Reordering Nodes within the Hierarchy - The GetReparentedValue Method,Transplanting Subtrees
HP Envy 23 TouchSmart - All-in-One Desktop PC
Top 10
Windows 7 : Programming Multiple I/O Queues and Programming I/O - WatchDog Timer: Self-Managed I/O
Windows 7 : Programming Multiple I/O Queues and Programming I/O - Reading and Writing the Registry
Windows 7 : Programming Multiple I/O Queues and Programming I/O - Retrieving Requests from a Manual Queue
Windows 7 : Programming Multiple I/O Queues and Programming I/O - Handling Requests from a Parallel Queue
Windows 7 : Programming Multiple I/O Queues and Programming I/O - Creating and Configuring the Queues (part 2)
Windows 7 : Programming Multiple I/O Queues and Programming I/O - Creating and Configuring the Queues (part 1)
Windows Server 2012 : Planning, implementing, and managing Group Policy (part 9) - Configuring WMI filtering
Windows Server 2012 : Planning, implementing, and managing Group Policy (part 8) - Managing GPO links, Configuring security filtering
Windows Server 2012 : Planning, implementing, and managing Group Policy (part 7) - Viewing infrastructure status, Creating GPOs
Windows Server 2012 : Planning, implementing, and managing Group Policy (part 6) - Advanced Audit Policy Configuration