UPnP Not opening ports

OS Name/Version: Windows 10 Pro

Product Name/Version: AMP Instance Manager V2.4.0.8

Problem Description: When a new instance is created UPnP the manager isnt opening any ports. Found and attempted the Registry edit and now an error is produced, happens consistantly with it. Using a seperate program to check if the UPnP ports have been mapped show’s that no new ports have been mapped whenever a new instance is spooled up.

[Info] AMP Instance Manager v2.4.0.8 built 10/10/2022 21:19
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using Windows Advanced Firewall firewall.
[Info] No new firewall rules to add
[Info] No existing firewall rules to remove
[Error] IM was unable to execute the requested command.
[Error] TargetInvocationException
[Error] [0] (TargetInvocationException) : Exception has been thrown by the target of an invocation.
[Error] at InstanceManagerCLI.Core.()
[Error] InvalidCastException
[Error] [1] (InvalidCastException) : Specified cast is not valid.
[Error] at InstanceManagerPlugin.LocalInstanceManager.get_Platform_GetUPnPSyncEnabled()
at InstanceManagerCLI.Core.UpdateFirewall(String SourceUser, Boolean DryRun, Boolean forceUPnPSync)

Steps to reproduce:

  • Create instance with UPnP sync active
  • Run ampinstmgr updatefirewall
  • Error happens.

Actions taken to resolve so far: Added UPnPSyncEnabled still error occurs

What’s the value of HKEY_LOCAL_MACHINE\Software\CubeCoders\AMP\InstanceManager\UPnPSyncEnabled in your registry?

I had to add that to the registry currently its 1 did a reinstall making sure that UPnP sync was in the install list and it didn’t make any changes.