Back to all How-tos Connect to localhost with COTG on Windows 10 Original Author: Philippe Fontan Running Capture OnTheGo (COTG) on Windows 10 is the perfect way to debug or demonstrate a COTG solution since you can have the COTG app, the Connect Workflow and the Connect Designer all running side by side on the same PC (or VM). No need to constantly switch from your computer to your mobile device in order to run each part of the solution. You can also take screenshots easily, which makes documentation so much simpler. However, Windows 10 has built-in restrictions on applications that need to loopback to the same computer and these restrictions apply to COTG when it tries to submit form data to a Workflow instance on the same computer. In this article, we’ll see how to change those restrictions so that COTG can submit data to Workflow. Update: now includes a script that does (almost) everything automatically. Semi-automated procedure Download this Script zip file. Unzip the file in a folder somewhere on your machine; this will extract two files to that folder, a script and a batch file. Right click on the FixCOTGLocalHost.bat file and select Run As Administrator. If all goes well, you will get a confirmation that the procedure worked as expected. Otherwise, you will get an error message with directions on what to try next. If you can’t get anything to work, try the manual procedure below. Manual procedure Install COTG on your Windows 10 system. Sounds obvious, but I’m being thorough… Download a COTG form and try to submit the data to a Workflow process. By default, this won’t work and you’ll get a message in COTG stating it cannot connect to the destination. Open Regedit and navigate to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software \Microsoft\Windows\CurrentVersion\AppContainer\Mappings Press CTRL-F and search for OnTheGo. You should get something 4. similar to this: On the Left-hand side is the SID for the application (highlighted in gray, above). Right click on it and select Copy Key Name. Open a Command Prompt Window in Administrator mode. Type the following command: CheckNetIsolation LoopbackExempt -a -p=S-1-15-2-43454097-4162892085-2392773574-3833400154-840474356-3952791422-1918246955 where you replace the red value with your own SID value you just copied. Then press Enter. The command will emphatically (!) reply with : OK. Back in COTG, try submitting your data again: it should now work. The change is permanent, so you only have to perform this procedure once. That’s all folks! Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Cancel Notify me of followup comments via e-mail. You can also subscribe without commenting. Δ