sygate + activesync = no go - Touch Diamond, MDA Compact IV General

Hi,
at my work we use sygate firewall. With my old HTC prophet, I had to use these reg settings:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RND IS]
Name of value to add: MTU
Type: DWORD
Data: 1514 (decimal)
Reg Sub Key: [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RND IS]
Name of Value to add: MaxOutTransfer
Type: DWORD
Data: 1642 (decimal)
... otherwise activesync would not connect.
Now, with my new Diamond I have the same issue. But this time, the Reg settings don't help.
Can someone help?
Thanks

I had the very same problem in the beginning.
SOLUTION: http://www.microsoft.com/windowsmobile/en-us/help/synchronize/guide/activesync-sygate.mspx
Sygate is one of the best firewalls i've used.

hi, thanks - but our firewall is setup by the IT dept, and it cant be changed
in the meantime, I just disabled it

Related

Active Sync with new TMOBILE UK rom.

Hi,
I've just reflashed with the new UK TMobile ROM, and since then I'm having trouble using active-sync at work, I know the problem is caused by the sygate personal firewall config, but I can't change that because of company rules.
When I had the Mr Clean 2.2.4 rom installed it had a panel in the settings screen to change the USB configuration to use a different type of connection.
This worked fine.
At some point in the past I also had some registry tweaks which changed some networking parameters and that made it work fine too, I can't remember if they were on the device or on my PC.
Anyone out there remember the settings or know where I can get a .cab of that usb configuration tool?
Adam
Re: Active Sync with new TMOBILE UK rom and Sygate Firewall
adam_xda said:
Hi,
I've just reflashed with the new UK TMobile ROM, and since then I'm having trouble using active-sync at work, I know the problem is caused by the sygate personal firewall config, but I can't change that because of company rules.
When I had the Mr Clean 2.2.4 rom installed it had a panel in the settings screen to change the USB configuration to use a different type of connection.
This worked fine.
At some point in the past I also had some registry tweaks which changed some networking parameters and that made it work fine too, I can't remember if they were on the device or on my PC.
Anyone out there remember the settings or know where I can get a .cab of that usb configuration tool?
Adam
Click to expand...
Click to collapse
If your device uses Windows Mobile 5 you must open some ports in the sygate firewall settings: http://www.microsoft.com/windowsmobile/help/activesync/sygate.mspx.
Also it's necessary to change the RNDIS driver settings in the mobile phones registry as well!
Use a regedit tool like PHM Registry Editor.
Here are the settings to be added (or to be changed respectively):
Key: HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS
Name of the Value to add: MTU
Type : DWORD
Data: 1514 (Value is Decimal)
Name of Value to add: MaxOutTransfer
Type: DWORD
Data: 1642 (Value is Decimal)
After a reset my Prophet (XDA Neo) synchronized well with active sygate firewall!

IE still goes to mobile sites after tweak?

I already changed the necessary registries, but IE still display the mobile version.
I have PIEplus installed, but it doesn't matter if I use PIEplus' settings, or change it manually...
I used the following taken from another post:
Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Internet Settings\User Agent \
Change the default value from "Mozilla/2.0" to "Mozilla/4.0".
Change the "Version" value from "MSIE 3.02" to "MSIE 6.0".
Change the "Platform" value from "Windows CE" to "Windows NT 5.1".
Might you be going through a proxy?
Is it possible that you are going through a carrier's http proxy?
alc630, this has been discussed several times in this forum. You may want to search. The problem is the browser.dll file on the Kaiser gives the agent settings to the website (as a mobile device) regardless of where you tweak it otherwise. The solution is either a hacked browser.dll file (found in here, look around) or use Opera Mobile.

Proxy setup persistance problem - possible solution?

Hi,
I think (better I hope) I have found a solution for the "HTC looses HTTP proxy settings for WiFi connections". Probably you have already noticed, that the HTTP proxy setting for a WiFi connection (e.g. configured using "Work" connection setup) is lost after closing and reopening the connection configuration dialog.
During my investigations I found, that the registry snapshots, shortly taken after entering the proxy and after reopening the configuration settings again, were nearly identical. There was no clue, that the configuration program itself reversed the settings, so there was a high feasibility, that the problem is either the entry or the re-read into/out of the registry.
The problem seems to be, that the configuration program does enter the proxy setup in a wrong format. Whereas the "type" parameter should be set to "1" (HTTP) the configuration setup sets this to "0" (null proxy).
So in order to reverse this one has to change the registry (e.g. using PHMRegedit) by performing the following procedure:
1) Go to
HKLM\Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}
2) Locate your proxy setup (key starts with HTTP-{xxxxxxx})
3) Change the "type" value to "1"
For PocketIE the parameter "EnableAutoDetect" in HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings (Note: There is no space in the key, don't know, why this forum inserts one) should be either not there (default) or set to 1.
Please double check and let me know. Keep in mind, that your settings may get lost, every time you tamper with the connection configuration program. Probably somebody could provide an OMA Provisioning CAB (_Setup.xml with CM_ProxyEntries and stuff).
EDIT: CAB attached. The contained _Setup.xml connects WORK (SrcID) with WiFi (DestId) using the specified proxy. Taylor it to your needs. Don't forget to "makecab /D COMPRESS=OFF _setup.xml ProxyOn.cab" (Note: COMPRESS=OFF) and ActiveSync it to your device. Tap it to "install". Save the cab for other uses.
EDIT II: Registry key fixed...sorry....
Regards
Neil
i hope this works, ill give it a go when i have time.
It works - great.
Thank you
Andre
I tried the proposed solution, using the .cab file and also by hand, without success.
My regietry key defining the proxy has type=1, but still does not connect...
Sorry, It works when conneting through activesync, but not through wifi.
Does anybody know where is the "intelligence" that decides which connection to use? Is it in the registry?
You have to ensure:
a) Your WiFi board connects to Work, not to Internet
b) Both connection setups must point to Work
The providec cab connects Wifi with Work and configures the proxy.
Hi, neil,
Thanks for the quick response. I did check that the card points to Work, and both connection set ups point to my work network. When editing the connections, I can see that the proxy is well defined. If I enter the registry, I can also see the proxy definition and "enable=1", "type=1". But still PIE hangs in "locating..."
Now, I run the .cab file with wifi "on"...
Probably something is wrong with your proxy. Fortunately I have a transparent proxy up and running. 141.39.43.185 port 8080. Try it. I'll see you
BTW: Sometimes a softreset does make wonders...
Regards
Ah, and don't forget: Whenever you open your devices proxy configuration and closes it again, the proxy config is messed up again by HTC.
Regards
Will try and provide feedback, but, What do you mean by try the transparent proxy? Shoul i define that proxy?
I din know about soft resets. I have even done a hard reset so I am now traying with a fresh registry... Have not ASed yet. But I wonder, Is there a key in the registry that defines which are the correct connections? Or is it all done via SrcId and DestId?
One more thing. I tried to change the proxy definition in your cab file. Extracted the setup, changed it and winrared it back... but this new cab will not install. My proxy is 192.168.0.254:8080...
Sorry for beeing not specific enough: Yes, please define that proxy. Transparent was meant in the sense of "does nothing than transfer back and forth"
Concerning repacking: Use makecab not rar. And don't compress.
SrcID and DestID makes the thing. This GUIDs haven't changed since the very first version of WM
Regards
Tryied my own cab file and worked... only once. It's lost again. Soft reset and will recheck. Thanks for the support
I can not make it connect anymore.
I run the cab file without success. What should the sequence be?
1.- set both connections to "my work network"
2.- open PIE
3.- run the cab file?
In Mobile 6.1 the settings stays but PIE doesn't use the the proxy configuration for some reason.
I'm experimenting with this. Making progress. But I'm still having some difficulty.
I think my Socks proxy port is not getting set right. I'll post back how it is going, but does anyone have thought about the Socks?
[EDIT]
Well, I had hooked up once (or maybe it was reading cache).
Anyway, I'm not having luck. It looks like the settings are right.
One thing I do notice, is that the WAP one, the Type is 2, and the Socks the type is 4, if that makes any difference. But the type for the HTTP one is 1, and the setting for IE looks correct to.
ewingr said:
I'm experimenting with this. Making progress. But I'm still having some difficulty.
I think my Socks proxy port is not getting set right. I'll post back how it is going, but does anyone have thought about the Socks?
[EDIT]
Well, I had hooked up once (or maybe it was reading cache).
Anyway, I'm not having luck. It looks like the settings are right.
One thing I do notice, is that the WAP one, the Type is 2, and the Socks the type is 4, if that makes any difference. But the type for the HTTP one is 1, and the setting for IE looks correct to.
Click to expand...
Click to collapse
With the downloaded cab, extract the file (may use winrar), change it to your liking and makecab again (no compression).
neil.young said:
Hi,
I think (better I hope) I have found a solution for the "HTC looses HTTP proxy settings for WiFi connections". Probably you have already noticed, that the HTTP proxy setting for a WiFi connection (e.g. configured using "Work" connection setup) is lost after closing and reopening the connection configuration dialog.
During my investigations I found, that the registry snapshots, shortly taken after entering the proxy and after reopening the configuration settings again, were nearly identical. There was no clue, that the configuration program itself reversed the settings, so there was a high feasibility, that the problem is either the entry or the re-read into/out of the registry.
The problem seems to be, that the configuration program does enter the proxy setup in a wrong format. Whereas the "type" parameter should be set to "1" (HTTP) the configuration setup sets this to "0" (null proxy).
So in order to reverse this one has to change the registry (e.g. using PHMRegedit) by performing the following procedure:
1) Go to
HKLM\Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}
2) Locate your proxy setup (key starts with HTTP-{xxxxxxx})
3) Change the "type" value to "1"
For PocketIE the parameter "EnableAutoDetect" in HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings (Note: There is no space in the key, don't know, why this forum inserts one) should be either not there (default) or set to 1.
Please double check and let me know. Keep in mind, that your settings may get lost, every time you tamper with the connection configuration program. Probably somebody could provide an OMA Provisioning CAB (_Setup.xml with CM_ProxyEntries and stuff).
EDIT: CAB attached. The contained _Setup.xml connects WORK (SrcID) with WiFi (DestId) using the specified proxy. Taylor it to your needs. Don't forget to "makecab /D COMPRESS=OFF _setup.xml ProxyOn.cab" (Note: COMPRESS=OFF) and ActiveSync it to your device. Tap it to "install". Save the cab for other uses.
EDIT II: Registry key fixed...sorry....
Regards
Neil
Click to expand...
Click to collapse
Hi, Neil
Have you noticed the key "Modified"? If no wifi network is selected, this key seems to be "0", but when a wifi network is connected, it changes to "1"...
javes said:
With the downloaded cab, extract the file (may use winrar), change it to your liking and makecab again (no compression).
Click to expand...
Click to collapse
Hi Javes
That is what I'm doing. The only mod I made to the file was I changed the Proxy address to the DNS name of our proxy here at work.
What I"m finding is that the key is going in with Type set to 0, even though the XML file has 1 in it.
I'm also noticing that there is another HTTP characteristic with my Proxy (I'm guessing likely from setting in Conn Manager, with my Proxy, and a type of 0, so I have manually set both it and the one added by XML to a type of 1.
After that, still does not connect. I soft reset, and they are back to 0.
So, I went into Connection manager, and deleted references to Proxy,and turned off Proxy, and ran DClicked the Proxy cab again. The settings went in with 1, doesn't connect, and I get a popup that says "Cannot connect with current connectin settings"
So, I soft reset again, and it's back to 0.
So I went into connections, set Proxy to ON, but no proxy settings. Ran the XML file, still no connection.
I think I have a gremlin that won't let mu connect on the public at work. Interestingly, one day a copule weeks ago I was successful connecting...until a soft reset later that day. I had set EVERY item with my work Proxy: HTTP, WAP, SOCKS, and SECURE WAP.
ewingr,
I am no expert at all and have no solutions. Like you, I followed the original instructions about the cab file, with results similar to yours. I've been able to connect on two different occasions, but these connections only last for a minute. After this minute, connection is impossible for me, with resets, re-cabs and the lot. Lets wait until someone more knowledgeable drives us to success...
In the meanwhile, I will keep trying different things.

registry editor!!!!

can anyone give me a link to a good registry editor that i can actually edit registry's..... thanx i really need one for tweaks
Please use the search button, that's what it's for.
I use PHM Registry Editor.
I use CeRegEditor.
http://ceregeditor.mdsoft.pl/
I would recommend CE Reg editor.
Hi, I got confused
I installed the CeRegistry. However when i try this tweak:
HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0" ( Wake Up on New SMS).
It says 'Access denied' and 'You can not change the value data'.
But if i try this tweak:
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P10 -> change the value "enabled" from 0 to 1 (Enable GPS photo )
It works.
Mine is o2 xda Diamond.
I just wonder if i am restricted for special part of the reg that i can modify. If so how can i unlock this restriction?
There's an option in CERegEdit to unlock. There is in the one I use anyway...
TheBrit said:
There's an option in CERegEdit to unlock. There is in the one I use anyway...
Click to expand...
Click to collapse
I tried that already in under 'Tool'
It says that the reg is unlocked.
However when i try to modify the value, i still got the same error msg:
'Access denied'.
That's where i got confused
Read http://wiki.xda-developers.com/index.php?pagename=Registry editors & other, related stuff

HSDPA fixing

What is the default registry to get HSDPA to work on WM6.1?
Is is:
>HKLM\Software\OEM\RIL\DisH< value=0
>HKLM\Software\OEM\RIL\EnableHSDPAIcon< value=1
Yes, but......
The setting of 1 is correct for the Enable value, but why mess with that when you can use the following tool to make this change as well a slew of others all at once:
Schap's Advanced config
And for those who are too lazy and never RTFM, here is the most current .cab 3.3
Advanced_Configuration_Tool_v3.3.cab

Categories

Resources