Sonos & Windows 10 Firewall

enter image description here

Recently I had been having issues with my Sonos controller talking to my Local music library. Both of them installed on the same machine which is in VLAN 1, where as my speakers are on VLAN 2. I was receiving errors such as Error 1002, unable to connect to...., Cant find media etc.

I narrowed the issue down to Windows firewall blocking something even though I had already created "Allow" rules.

Turning off Windows Firewall fixed the issue and my Sonos Speakers could stream my local media library. However I'm not happy turning off a firewall, so started digging deeper.

I checked each individual Firewall which had automatically been created when installing and running the Sonos controller on the PC.

Bingo - I found under the Scope option that the Sonos Library and Sonos Controller firewall rule had an exemption that would only allow connections from devices on a local subnet and blocking anything from a remote IP /Subnet. Allowing all remote IP's or remote subnets fixed the issue but rather than leaving it open like this, I defined my 'remote subnet' of VLAN 2 in the list. This fixed my issue but also kept my firewall rule relevant.

enter image description here

To add further security I changed the "remote IP / Subnet address" from my VLAN 2 subnet to just the IP addresses of my Sonos Speakers on VLAN 2. Now the only devices able to access my Sonos local library are the Sonos Speakers.

Win10 Pro to Win10 Ent Upgrade

enter image description here Upgrading from a Pro version of Windows to Enterprise has never been easier than it is with Windows 10.

Recently our licencing changed and we had to move from Pro to Ent.

  1. Type 'changepk.exe' into run
  2. Run as Administrator
  3. Enter the Enterprise Licence Key

enter image description here 4. Done!

Yes its as simple as that, not formatting, uninstalling or driver changes.

Shared Printers for All Users


You've probably stumbled across this page if like me you were trying to find a way to install a shared printer to all users on a Windows machine.

By default a shared printer only gets installed to a users profile, when the next user comes along the printer needs to be reinstalled.

Normally you can install the printer using a local port or TCP-IP port which would then work for all users. However if you use a printer server or just shared it from another machine then you need to know the hack below which will install it for all users.

Step 1 - Printer Server/Shared Machine

  • Install the printer as you normally would on your print server. Either using a local port (USB) or TCP/IP (Network) and drivers.
  • Make any changes to the printer, trays, adding x86 and x64 drivers, set security permissions.
  • Share the printer

Step 2 - On the remote machine

Open up CMD and run as administrator

Copy the below into the CMD window, changing \\servername\printer to your details.

rundll32 printui.dll,PrintUIEntry /ga /n\\servername\printer

The tags mean

  • /ga - global (add to all users)
  • /n - network path
  • for more options use /?

You can also copy it into a .bat file to make it easier to install on multiple machines.

Give it a few minutes to install, once completed it will have installed the printer and kept all the Custom preferences set on the Server.