Windows Firewall Registry Keys

Sometimes you need to include exceptions to your local desktop firewall but you only have pseudo localadmin access. Well if you enable your regedit programs by using one of my previous posts Enabling or Disabling Regedit. Then all you have to do is add your exception values in these registry key locations.

For Example , the registry key location for program exceptions is here

HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall
\DomainProfile\AuthorizedApplications\List

So to enable a firewall exception for xming.exe add a string value like below

C:\Program Files\andLinux\XMing\Xming.exe:*:enabled:Xming.exe

The registry key location for port exceptions is here

HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall
\DomainProfile\GloballyOpenPorts\List

So to enable TCP traffic on port 2081 add a string value like below to this location

2081:TCP:*:enabled:Port 2081

Have immense fun 🙂

Sharing files between Windows and Linux

This is a quick post on how to share files between your Windows file system and Linux. In this case I am running andLinux .

andLinux is an awesome complete Ubuntu Linux system running seamlessly in Windows 2000 based systems (2000, XP, 2003, Vista, 7; 32-bit versions only). You really need to check the link above if you havent already.

Anyhow back to the topic, thanks to John Strumila for this one.

First install the appropriate samba packages.

sudo apt-get install samba smbfs smbclient

Create a new directory for the mountpoint

mkdir /mnt/yourshare

Mount the share changing cifs to smbfs depending on your config

sudo mount -t cifs //your.shared.windows.path/name /mnt/yourshare -o user=domain/uid%password

Display the new share via the df command

df

You can now access the new shared mount :

ls -ltra /mnt/yourshare