For XP, the following will work:
netsh firewall add allowedprogram "C:\Prorgram Files\ubuntuone\dist\ubuntuone-syncdaemon.exe" "Ubuntu One" ENABLE
For Vista and beyond we need something like the following, since the above is deprecated:
netsh advfirewall firewall add rule name="Ubuntu One" dir=in action=allow program="C:\Program Files (x86)\ubuntuone\dist\ubuntuone-syncdaemon.exe" enable=yes
For XP, the following will work: \dist\ubuntuone -syncdaemon. exe" "Ubuntu One" ENABLE
netsh firewall add allowedprogram "C:\Prorgram Files\ubuntuone
For Vista and beyond we need something like the following, since the above is deprecated: \dist\ubuntuone -syncdaemon. exe" enable=yes
netsh advfirewall firewall add rule name="Ubuntu One" dir=in action=allow program="C:\Program Files (x86)\ubuntuone